When Psyco starts, it replaces a few functions from the __builtin__ and sys modules with a version of its own. This trick fails if you made a copy of one of these functions elsewhere before Psyco has a chance to replace it, because the old copy will not behave properly in the presence of Psyco.
Built-in function | Notes |
---|---|
(1) | |
(1) when called with no argument | |
(1) when called with no argument | |
(2) when called with a single argument | |
(2) when called with a single argument | |
(2) | |
(3) |
Notes:
Additionally, the exec
statement is not supported yet, as seen in section A.3.