Author Commit Message Labels Comments Date
Default avatar Greg Slodkowicz
Fixed docstrings in engine.py. Fixed ImportEngine.from_engine to take the right parameters.
Default avatar Greg Slodkowicz
Added tests for ImportEngine.from_engine()
Default avatar Greg Slodkowicz
Introduced a from_engine() method in the ImportEngine. Deleted wrapGlobalState() so as not to duplicate functionality.
Default avatar Greg Slodkowicz
Changed engine.impengine to engine.sysengine.
Default avatar Greg Slodkowicz
Fixed last two failing tests.
Default avatar Greg Slodkowicz
Replaced imp.NullImporter with a Python-based NullImporter which accepts an optional engine parameter.
Default avatar Greg Slodkowicz
More tests migrated from import_/
Default avatar Greg Slodkowicz
Tests finally can run using exclusively ImportEngine.
Default avatar Greg Slodkowicz
GlobalImportEngine properties need to be settable e. g. for context managers like engine_import_state. Instance of GlobalImportEngine exposed as engine.impengine. Fixes in finders.
Default avatar Greg Slodkowicz
Modified finders/loaders to fall back on global importengine if engine parameter is not provided. Added missing path property to GlobalImportEngine
Default avatar Greg Slodkowicz
Fixed a line that was accidentally commented out.
Default avatar Greg Slodkowicz
Added a comment about a temporary fix when using imp.NullImporter
Default avatar Greg Slodkowicz
Updated _gcd_import() in ImportEngine to use state from the engine.
Default avatar Greg Slodkowicz
Finders and loaders (mostly) aware of ImportEngine. A lot of code from _bootstrap duplicated into engine.py for the time being. Actual import functions in ImportEngine still need to be updated.
Default avatar Greg Slodkowicz
ImportEngine class now have their own isolated state. GlobalImportEngine class wraps global state.
Default avatar Greg Slodkowicz
Unittests for ImportEngine. Adapted Lib/importlib/test/import_/test_path.py to use ImportEngine._import__
Default avatar Greg Slodkowicz
Added __import__ to the ImportEngine. Moved the ImportEngine functionality to Lib/importlib/engine.py
Default avatar Greg Slodkowicz
Minor refactoring. Import engine class now in a separate file and called ImportEngine.
Default avatar Greg Slodkowicz
Initial version of the engine. Still uses global state (accessed via properties in engine).
Benjamin Peterson avatarBenjamin Peterson
test that object has a __dir__() implementation
Benjamin Peterson avatarBenjamin Peterson
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
Benjamin Peterson avatarBenjamin Peterson
wrap at 80 chars
Benjamin Peterson avatarBenjamin Peterson
test values and types of (True/False).(imag/real)
Victor Stinner avatarVictor Stinner
Issue #12049: cleanup the warning in the random module doc
Victor Stinner avatarVictor Stinner
Issue #12049: Document errors cases of ssl.RAND_bytes() and
Victor Stinner avatarVictor Stinner
Issue #12049: test_ssl now checks also that RAND_bytes() raises an error if
Victor Stinner avatarVictor Stinner
Issue #8407: Fix the signal handler of the signal module: if it is called
Benjamin Peterson avatarBenjamin Peterson
excellent place for assertRaises
Victor Stinner avatarVictor Stinner
Issue #8533: regrtest replaces also sys.stdout on Windows
Victor Stinner avatarVictor Stinner
Issue #10818: Remove deprecated pydoc.serve() function
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.