Commits

Author Commit Message Labels Comments Date
Alex Gaynor
GetSetProperty's functions are immutable.
Alex Gaynor
inline _sre methods
Armin Rigo
Add a small equivalent to the old py.cleanup.
Maciej Fijalkowski
Fix test_compile
Branches
enable-opts
tav
Updated ctypes test to match new _conv_param signature.
tav
Extended .hg/.gitgnore for ctypes test generated files.
holger krekel
use pytest-2.0.3.dev1 which lazy-imports zlib and others in genscript plugin
Armin Rigo
Improve the test to make sure that external() actually reads '_frame', to prevent optimizations from delaying the allocation of X(). It used to work fine because this particular test used to run without optimizations.
Branches
enable-opts
holger krekel
fix test runs directly addressing files in ctypes_tests
tav
Improved ctypes.CFUNCTYPE prototype and paramflags handling.
Maciej Fijalkowski
add simplify
Branches
enable-opts
Armin Rigo
Reduce register pressure on llong_from_int, using the PSRAD instruction to do the equivalent of CDQ but within the xmm registers.
Maciej Fijalkowski
Implement "enable_opts" as a replacement for various ad-hoc enabling/disabling of optimizations. Export this at applevel as --jit enable_opts=...:...:...
Branches
enable-opts
Greg Price
Rework borrowed-ref bookkeeping, to fix a crash We were increfing an object on the first time we borrow a reference to it, then decrefing it on the first time we destroy a borrowed-from container. So if we borrow from two containers, then destroy one, we'd take the refcount back where it started -- possibly zero -- even though the C code still has a legitimate reference. This is demonstrated by test_borrow_destroy in test_borrow.py, added last…
Amaury Forgeot d'Arc
Add pickle support to ast objects
Amaury Forgeot d'Arc
Finally remove all __slots__ and fix translation
Amaury Forgeot d'Arc
Try to fix translation
Amaury Forgeot d'Arc
Allow any type to be stored in ast attributes. If the type does not match the expectation, the object is stored in the __dict__
Amaury Forgeot d'Arc
Display the name of the derived class in AttributeError messages
Amaury Forgeot d'Arc
Small tweak and optimization
Amaury Forgeot d'Arc
lineno and col_offset are now keyword-only arguments of the Ast constructor. They are attributes, mandatory for the compiler.
Amaury Forgeot d'Arc
Ast objects have a __dict__ and can store any attribute.
Amaury Forgeot d'Arc
hg merge getdict-signature
Amaury Forgeot d'Arc
close branch
Branches
getdict-signature
Alex Gaynor
Try to fix posix tests on systems with unsuitable defaultencodings.
holger krekel
bump to pytest-2.0.3.dev0 version which contains a fix speeding up skips which had prolonged some pypy test runs (app-level most notably)
Amaury Forgeot d'Arc
Add space argument to all instances of w_obj.getdict()
Branches
getdict-signature
Amaury Forgeot d'Arc
getdict() now takes the 'space' as argument
Branches
getdict-signature
Amaury Forgeot d'Arc
A branch to change the signature of Wrappable.getdict: from (self) to (self, space)
Branches
getdict-signature
holger krekel
using dev version of py with terminal coloring fix (thanks amaury for pointing out)
  1. Prev
  2. Next