- 23 Feb, 2011 5 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Raymond Hettinger authored
-
Victor Stinner authored
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 authored
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 Feb, 2011 20 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
The first argument, fqname, was not used.
-
Victor Stinner authored
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 authored
-
Brett Cannon authored
by making methods() into a module attribute as it is statically calculated.
-
Antoine Pitrou authored
(probably an OS-related issue with mmap)
-
Brett Cannon authored
-
Brett Cannon authored
-
Giampaolo Rodolà authored
-
Giampaolo Rodolà authored
-
Brett Cannon authored
-
Giampaolo Rodolà authored
-
Sean Reifscheider authored
-
Brett Cannon authored
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 authored
Thanks to Nadeem Vawda for the find and an initial fix.
-
Brett Cannon authored
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 authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
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 Feb, 2011 15 commits
-
-
Antoine Pitrou authored
4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.
-
Antoine Pitrou authored
to open door files.
-
Victor Stinner authored
Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build.
-
Victor Stinner authored
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 authored
Issue #11169: compileall module uses repr() to format filenames and paths to escape surrogate characters and show spaces.
-
Victor Stinner authored
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 authored
package had previously been installed.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
with large config files.
-
Brett Cannon authored
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.
-
Antoine Pitrou authored
-
Brett Cannon authored
-
Antoine Pitrou authored
-
Georg Brandl authored
-
Antoine Pitrou authored
larger than 4GB. Patch by Nadeem Vawda.
-