- 23 Şub, 2011 10 kayıt (commit)
-
-
Victor Stinner yazdı
Fix the test for last module changes (r88520).
-
Victor Stinner yazdı
On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
-
Lars Gustäbel yazdı
regression in _FileInFile which is used in file-like objects returned by TarFile.extractfile(). The inefficient design of the _FileInFile.read() method causes various dramatic side-effects and errors: - The data segment of a file member is read completely into memory every(!) time a small block is accessed. This is not only slow but may cause unexpected MemoryErrors with very large files. - Reading members from compressed tar archives is even slower because of the excessive backwards seeking which is done when the same data segment is read over and over again. - As a backwards seek on a TarFile opened in stream mode is not possible, using extractfile() fails with a StreamError.
-
Victor Stinner yazdı
-
Raymond Hettinger yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
repr(module) uses %R to format module name and filenames, instead of '%s' and '%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
-
Victor Stinner yazdı
And as a consequence, mark also name argument of _PyImport_FindExtensionUnicode() constant too. But I plan to change this argument type to PyObject* later.
-
- 22 Şub, 2011 20 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
The first argument, fqname, was not used.
-
Victor Stinner yazdı
This function was not declared in Python public API (in any .h file) and not documented. Mark it as private to prepare a change of its API.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
by making methods() into a module attribute as it is statically calculated.
-
Antoine Pitrou yazdı
(probably an OS-related issue with mmap)
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Giampaolo Rodolà yazdı
-
Giampaolo Rodolà yazdı
-
Brett Cannon yazdı
-
Giampaolo Rodolà yazdı
-
Sean Reifscheider yazdı
-
Brett Cannon yazdı
The module stored away the 'open' object as found in the global namespace (which fell through to the built-in namespace) since it defined its own 'open'. Problem is that if you reloaded the module it then grabbed the 'open' defined in the previous load, leading to code that infinite recursed. Switched to simply call builtins.open directly.
-
Brett Cannon yazdı
Thanks to Nadeem Vawda for the find and an initial fix.
-
Brett Cannon yazdı
Various tests fail when run under coverage. A primary culprit is refcount tests which fail as the counts are thrown off by the coverage code. A new decorator -- test.support.refcount_test -- is used to decorate tests which test refcounts and to skip them when running under coverage. Other tests simply fail because of changes in the system (e.g., __local__ suddenly appearing). Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.
-
Brett Cannon yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.
-
- 21 Şub, 2011 10 kayıt (commit)
-
-
Antoine Pitrou yazdı
4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.
-
Antoine Pitrou yazdı
to open door files.
-
Victor Stinner yazdı
Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build.
-
Victor Stinner yazdı
Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx(). It encoded the Unicode filename to UTF-8, but the encoding fails on undecodable filename (on surrogate characters) which raises an unexpected UnicodeEncodeError on recursion limit.
-
Victor Stinner yazdı
Issue #11169: compileall module uses repr() to format filenames and paths to escape surrogate characters and show spaces.
-
Victor Stinner yazdı
Issue #11187: Remove bootstrap code (use ASCII) of PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the locale encoding) in PyUnicode_EncodeFSDefault(). Prepare also empty sections in NEWS.
-
Ned Deily yazdı
package had previously been installed.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
with large config files.
-
Brett Cannon yazdı
Many tests simply didn't care if they unset a pre-existing trace function. This made test coverage impossible. This patch fixes various tests to put back any pre-existing trace function. It also introduces test.support.no_tracing as a decorator which will temporarily unset the trace function for tests which simply fail otherwise. Thanks to Kristian Vlaardingerbroek for helping to find the cause of various trace function unsets.
-