| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
argument, not hardwired to a dictionary.
|
|
|
|
| |
in front of the 0x, like such: "0000x1".
|
|
|
|
| |
Reindented the whole table.
|
| |
|
|
|
|
| |
argument to the linker (required for DEC Alpha threads).
|
|
|
|
|
|
|
|
|
| |
The table size is now constrained to be a power of two, and we use a
variable increment based on GF(2^n)-{0} (not that I have the faintest
idea what that is :-) which helps avoid the expensive '%' operation.
Some of the entries in the table of polynomials have been modified
according to a post by Tim Peters.
|
|
|
|
|
|
|
|
|
| |
- Use co->... instead of f->f_code->...; save an extra lookup of what
we already have in a local variable).
- Remove test for nlocals > 0 before setting fastlocals to
f->f_localsplus; 0 is a rare case and the assignment is safe even
then.
|
| |
|
|
|
|
|
|
|
| |
called with keyword arguments -- the keyword and value were leaked.
This affected for instance with a __call__() method.
Bug reported and fix supplied by Jim Fulton.
|
|
|
|
|
|
| |
i.e., counting opcode frequencies, or (with DXPAIRS defined) opcode
pair frequencies. Define DYNAMIC_EXECUTION_PROFILE on the command
line (for this file and for sysmodule.c) to enable.
|
|
|
|
|
| |
jump to the "Kill locals" section at the end. Add #ifdef macintosh
bandaid to make sure we call sigcheck() on the Mac.
|
|
|
|
| |
in ceval.c).
|
|
|
|
| |
tb_lineno. Store it in tb_lineno for the user.
|
|
|
|
|
| |
give the extra slots to the stack rather than than forgetting about
them (this reduces the number of reallocs done).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
table which is incorporated in the code object. This way, the runtime
overhead to keep track of line numbers is only incurred when an
exception has to be reported.
|
|
|
|
| |
by the compiler (in lieu of SET_LINENO instructions).
|
|
|
|
|
|
|
|
|
| |
initparser()) instead of statically (in the initializer). The static
initialization, using the address of an object in a different DLL, is
too much for the Microsoft VC++ compiler, and we want to be able to
build this module as a separate DLL (it's nice to have but we don't
want to increase the core DLL's size by 25K). This same trick has
been applied to a number of modules, e.g. NumPy and _tkinter.
|
|
|
|
|
| |
string keys. Just doing a pointer compare before the string compare
(in fact before the hash compare!) is just as fast.
|
|
|
|
|
|
|
|
|
|
| |
- -mt option for Solaris threads with Solaris compiler
- make clean when switching static link status for Linux
- DEC alpha --with-dec-threads option
- SunOS removed unnecessary warnings, mention -Xa for SunPro
- Setup.local file
- warn to try make clean after changing readline option
- mention --with-threads as alias for --with-thread
|
| |
|
| |
|
|
|
|
|
|
| |
*final* linker argument. This implies --with-thread.
Reimplemented --with-threads as an alias for --with-thread.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
selection; return None instead.
|
| |
|
| |
|
|
|
|
|
| |
leak of memory and file descriptors (thanks for Roj for reporting
that!). Alas, the speed goes down by 5%. :-(
|
| |
|
|
|
|
|
|
|
| |
This is safe now that both intrcheck() and signalmodule.c schedule a
sigcheck() call via Py_AddPendingCall().
This gives another 7% speedup (never run such a test twice ;-).
|
|
|
|
|
| |
This avoids having to call sigcheck() (the same routine by its old
name :-) in the ticker code in ceval.c's main interpreter loop.
|
|
|
|
|
| |
Py_AddPendingCall(). This avoids having to call sigcheck() in the
ticker code in ceval.c's main interpreter loop.
|
|
|
|
|
|
|
|
|
|
| |
- fix bug in Py_MakePendingCalls() with threading
- fix return type of do_raise
- remove build_slice (same as PySlice_New)
- remove code inside #if 0
- remove code inside #ifdef CHECK_STACK
- remove code inside #ifdef SUPPORT_OBSOLETE_ACCESS
- comment about newimp.py should refer to ni.py
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- get fastlocals differently
- call newframeobject() with fewer arguments
- toss getowner(), which was unused anyway
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than allocating a list object for the fast locals and another
(extensible one) for the value stack and allocating the block stack
dynamically, allocate the block stack with a fixed size (CO_MAXBLOCKS
from compile.h), and stick the locals and value stack at the end of
the object (this is now possible since the stack size is known
beforehand). Get rid of the owner field and the nvalues argument --
it is available in the code object, like nlocals.
This requires small changes in ceval.c only.
|
|
|
|
| |
See frameobject.c checkin message.
|
| |
|
| |
|
|
|
|
|
| |
literals that look like identifiers. Also intern all strings used as
names during the compilation.
|