| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
|
| |
| |
| |
| |
| |
| |
| | |
faulthandler requires the importlib if "-X faulthandler" option is present on
the command line, so initialize faulthandler after importlib.
Add also an unit test.
|
| | |
|
| | |
|
| |
| |
| |
| | |
corresponding type objects
|
| |
| |
| |
| | |
by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ correctly so that runpy still works (Affects #15343, #15314, #15357)
|
|\ \
| |/
| |
| | |
python3 under Unix, not python.
|
| |
| |
| |
| | |
"python3" under Unix, not "python".
|
| |
| |
| |
| | |
allocation issues
|
| |
| |
| |
| | |
(Modules/_freeze_importlib) to build Python/importlib.h.
|
| |
| |
| |
| |
| |
| | |
attribute
This replaces the original PEP 409 implementation. See #14133.
|
| |
| |
| |
| | |
Thanks to Eric Snow for the patch.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
be implicit.
Added a warning for when sys.path_hooks is found to be empty. Also
changed the meaning of None in sys.path_importer_cache to represent
trying sys.path_hooks again (an interpretation of previous semantics).
Also added a warning for when None was found.
The long-term goal is for None in sys.path_importer_cache to represent
the same as imp.NullImporter: no finder found for that sys.path entry.
|
| |
| |
| |
| |
| |
| |
| | |
rewriting functionality in pure Python.
To start, imp.new_module() has been rewritten in pure Python, put into
importlib (privately) and then publicly exposed in imp.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
importlib._bootstrap is now frozen into Python/importlib.h and stored
as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen
code along with sys and imp and then uses _frozen_importlib._install()
to set builtins.__import__() w/ _frozen_importlib.__import__().
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
earliest point.
|
| |
| |
| |
| | |
earliest point.
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
|
| | |
| | |
| | |
| | | |
interactive statement
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
|
| | |
| | |
| | |
| | |
| | | |
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
|
| | |
| | |
| | |
| | |
| | |
| | | |
to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
|
| | | |
|
| | |
| | |
| | |
| | | |
Patch by Stefan Behnel.
|
| | |
| | |
| | |
| | |
| | | |
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
|\ \ \
| |/ /
| | |
| | | |
finding the bug and providing a patch.
|
| | |
| | |
| | |
| | | |
finding the bug and providing a patch.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Windows if the mbcs codec is not available, and fail with a fatal error if we
cannot get the locale encoding (if nl_langinfo(CODESET) is not available)
instead of using UTF-8.
|
| | |
| | |
| | |
| | | |
Bug found by the Clang Static Analyzer.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85980 | hirokazu.yamamoto | 2010-10-31 00:08:15 +0900 | 1 line
Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah.
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85817 | benjamin.peterson | 2010-10-23 22:41:46 -0500 (Sat, 23 Oct 2010) | 1 line
tighten loop
........
r85904 | benjamin.peterson | 2010-10-28 22:28:14 -0500 (Thu, 28 Oct 2010) | 1 line
decrement offset when it points to a newline (#10186 followup)
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85814 | benjamin.peterson | 2010-10-23 21:52:05 -0500 (Sat, 23 Oct 2010) | 1 line
remove broken code accounting an offset the size of the line #10186
........
|