- 10 Sep, 2010 15 commits
-
-
Victor Stinner authored
environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
-
Benjamin Peterson authored
-
Amaury Forgeot d'Arc authored
namespace if it occurs as a free variable in a nested block. This limitation of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF). This sample was valid in 2.6, but fails to compile in 3.x without this change:: >>> def f(): ... def print_error(): ... print(e) ... try: ... something ... except Exception as e: ... print_error() ... # implicit "del e" here This sample has always been invalid in Python, and now works:: >>> def outer(x): ... def inner(): ... return x ... inner() ... del x There is no need to bump the PYC magic number: the new opcode is used for code that did not compile before.
-
Georg Brandl authored
-
Amaury Forgeot d'Arc authored
Use it here again.
-
Antoine Pitrou authored
be built as a shared library. Patch by Sébastien Sablé.
-
Amaury Forgeot d'Arc authored
nested inside the test suite. def test_me(): exec("""if 1: ...code... """) No other change here.
-
Benjamin Peterson authored
-
Antoine Pitrou authored
-
Amaury Forgeot d'Arc authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Victor Stinner authored
-
Vinay Sajip authored
-
- 09 Sep, 2010 16 commits
-
-
Daniel Stutzbach authored
(Patch by Jon Anglin)
-
Daniel Stutzbach authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds.
-
Antoine Pitrou authored
speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti.
-
Antoine Pitrou authored
(svn.python.org is sometimes unavailable)
-
Antoine Pitrou authored
underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Experiment: Let collections.namedtuple() do the work. This should work now that _collections is pre-built. The buildbots will tell us shortly.
-
Hirokazu Yamamoto authored
* pythoncore.vcproj: Fixed indentation * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise, VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time loads it in VS8 IDE.
-
Hirokazu Yamamoto authored
-
Hirokazu Yamamoto authored
* pythoncore.dsp: updated project file * readme.txt: removed dead link * tcl852.patch: fixed patch. it was doubled.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 08 Sep, 2010 9 commits
-
-
Giampaolo Rodolà authored
Fix issue 9794: adds context manager protocol to socket.socket so that socket.create_connection() can be used with the 'with' statement.
-
Antoine Pitrou authored
a bug in ascii().
-
Antoine Pitrou authored
(followup to r84635, suggested by Dave Malcolm).
-
Antoine Pitrou authored
as wide (UCS4) unicode builds for both the host interpreter (embedded inside gdb) and the interpreter under test.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Use the new super() with no arguments. * Replace pow() call with the ** operator. * Increase urandom seeding from 16 bytes to 32 bytes. * Clean-up docstring.
-
Matthias Klose authored
to load the one without the SOABI in the name.
-
Senthil Kumaran authored
-