- 11 Eyl, 2010 5 kayıt (commit)
-
-
Georg Brandl yazdı
-
Victor Stinner yazdı
a non-ASCII byte in the format string. Document also the encoding.
-
Nick Coghlan yazdı
-
Victor Stinner yazdı
os.listdir(str) always returns unicode and it can return non-ascii filenames even if supports_unicode_filenames is False.
-
Raymond Hettinger yazdı
-
- 10 Eyl, 2010 26 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
the value with filesystem encoding and surrogateescape (instead of utf-8 in strict mode).
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
Py_Main() uses _Py_wchar2char() + PyUnicode_FromWideChar() instead of PyUnicode_DecodeFSDefault(), because the PyCodec machinery is not ready yet.
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
Fix a crash if Python is compiled in pydebug mode.
-
Victor Stinner yazdı
os.environ.data was a str dict in Python 3.1. In Python 3.2 on UNIX/BSD, os.environ.data is now a bytes dict: mark it as protected to avoid confusion.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
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 yazdı
-
Amaury Forgeot d'Arc yazdı
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 yazdı
-
Amaury Forgeot d'Arc yazdı
Use it here again.
-
Antoine Pitrou yazdı
be built as a shared library. Patch by Sébastien Sablé.
-
Amaury Forgeot d'Arc yazdı
nested inside the test suite. def test_me(): exec("""if 1: ...code... """) No other change here.
-
Benjamin Peterson yazdı
-
Antoine Pitrou yazdı
-
Amaury Forgeot d'Arc yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Victor Stinner yazdı
-
Vinay Sajip yazdı
-
- 09 Eyl, 2010 9 kayıt (commit)
-
-
Daniel Stutzbach yazdı
(Patch by Jon Anglin)
-
Daniel Stutzbach yazdı
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
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 yazdı
speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti.
-
Antoine Pitrou yazdı
(svn.python.org is sometimes unavailable)
-
Antoine Pitrou yazdı
underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-