Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Compile time evaluation (aka eliminating default argument hacks)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Nick Coghlan, post: 1807197"] Huh - I thought I put something in the original post saying "without resorting to bytecode hacks", but I must have deleted it before sending the message. Anyway, that thread is what the comment about bytecode hacks would have been referring to :) Although, once the AST compiler goes in, if the AST for a function is attached via a special attribute like __ast__, then perhaps such manipulations could be rewritten to work on the AST instead of the bytecode. If that happens, they might become less hackish. So I guess I should wait and see what the next few months holds in terms of AST-hacks :) Cheers, Nick. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Compile time evaluation (aka eliminating default argument hacks)
Top