Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python intpreter to Eggdrop #1515

Merged
merged 77 commits into from
Jan 14, 2024
Merged

Add Python intpreter to Eggdrop #1515

merged 77 commits into from
Jan 14, 2024

Conversation

vanosg
Copy link
Member

@vanosg vanosg commented Dec 1, 2023

PYTHON!

Read docs and look at example scripts, but in short, this PR

  • Adds the .python partyline command to run a python command, similar to .tcl
  • Adds the pysource Tcl command to load a python file, similar to the source Tcl command
  • imports the existing Tcl API (run via the eggdrop.tcl module)

vanosg and others added 30 commits February 13, 2021 10:49
and auto-load eggdroppy at runtime
removed module name collision, and MOST IMPORTANT- fixed the PyImport_AppendInittab function to add & to PyInit_eggdrop- THIS WAS WHAT WAS BREAKGING THE SCOPE STUFF, and what I was trying to ass-backwards fix by forcing an import the wrong way
@vanosg vanosg added this to the v1.10.0 milestone Dec 1, 2023
@vanosg vanosg changed the title (WIP) Add Python intpreter to Eggdrop Add Python intpreter to Eggdrop Jan 14, 2024
@vanosg vanosg merged commit 4146828 into develop Jan 14, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants