summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18048: Merge test_pep263.py and test_coding.py into ↵Serhiy Storchaka2013-06-132-87/+76
|\ | | | | | | test_source_encoding.py.
| * Issue #18048: Rename test_pep263.py to test_source_encoding.py.Serhiy Storchaka2013-06-131-0/+0
| |
* | Issue #18048: Rename test_coding.py to test_source_encoding.py.Serhiy Storchaka2013-06-131-0/+0
|/
* Issue #15767: Add an explicit test for raising ModuleNotFoundErrorBrett Cannon2013-06-131-0/+7
| | | | when None in sys.modules.
* Issue #15767: Touch up ModuleNotFoundError usage by import.Brett Cannon2013-06-1310-14/+52
| | | | | | | | | | | | | Forgot to raise ModuleNotFoundError when None is found in sys.modules. This led to introducing the C function PyErr_SetImportErrorSubclass() to make setting ModuleNotFoundError easier. Also updated the reference docs to mention ModuleNotFoundError appropriately. Updated the docs for ModuleNotFoundError to mention the None in sys.modules case. Lastly, it was noticed that PyErr_SetImportError() was not setting an exception when returning None in one case. That issue is now fixed.
* Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-1318-108/+24
| | | | instead of manually listing tests for test.support.run_unittest().
* Partially revert changeset #281857369a78 to make sure threads areBrett Cannon2013-06-131-1/+11
| | | | reaped in all situations.
* Move test___all__ over to unittest.main() and use ModuleNotFoundErrorBrett Cannon2013-06-135-24/+21
|
* Spruce up test_xmlrpc by using ModuleNotFoundError and moving toBrett Cannon2013-06-131-22/+7
| | | | unittest.main().
* Move test_zipfile to unittest.main()Brett Cannon2013-06-121-7/+1
|
* Issue #15767: Introduce ModuleNotFoundError, a subclass ofBrett Cannon2013-06-1217-408/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem.
* Move code from test_importhooks into test_zipimport.Brett Cannon2013-06-121-1/+25
|
* Add tests for issue #18183.Serhiy Storchaka2013-06-121-3/+14
|\
| * Add tests for issue #18183.Serhiy Storchaka2013-06-121-3/+15
| |
* | #18196: merge with 3.3Roger Serwy2013-06-122-0/+6
|\ \ | |/
| * #18196: Avoid displaying spurious SystemExit tracebacks.Roger Serwy2013-06-122-0/+6
| |
* | #5492: merge with 3.3Roger Serwy2013-06-122-6/+7
|\ \ | |/
| * #5492: Avoid traceback when exiting IDLE caused by a race condition.Roger Serwy2013-06-122-6/+7
| |
* | Issue #18187: merge from 3.3Ned Deily2013-06-111-1/+1
|\ \ | |/
| * Issue #18187: Fix broken link in venv documentation. Patch by Berker Peksag.Ned Deily2013-06-111-1/+1
| |
* | explanatory commentBrett Cannon2013-06-111-1/+1
| |
* | typo fixBrett Cannon2013-06-111-1/+1
| |
* | Issue #18158: delete test_importhooks. Redundant in the face ofBrett Cannon2013-06-111-250/+0
| | | | | | | | test_importlib.
* | Issue #18157: stop using imp.load_module() in imp.Brett Cannon2013-06-112-12/+14
| |
* | #17511: merge with 3.3.Roger Serwy2013-06-113-3/+6
|\ \ | |/
| * #17511: Keep IDLE find dialog open after clicking "Find Next".Roger Serwy2013-06-113-3/+6
| | | | | | | | Original patch by Sarah K.
* | merge 3.3 (#18183)Benjamin Peterson2013-06-103-24/+25
|\ \ | |/
| * remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵Benjamin Peterson2013-06-103-31/+32
| | | | | | | | (see #18183)
* | Merge.Richard Oudkerk2013-06-103-1/+5
|\ \ | |/
| * Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-103-1/+5
| |
* | Merge.Richard Oudkerk2013-06-102-2/+5
|\ \ | |/
| * Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().Richard Oudkerk2013-06-102-2/+5
| |
* | fixd refleakChristian Heimes2013-06-101-1/+9
| |
* | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-102-2/+3
|\ \ | |/ | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
| * Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-102-2/+3
| | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* | Issue #16102: Make uuid._netbios_getnode() work again on Python 3.Serhiy Storchaka2013-06-092-1/+3
|\ \ | |/
| * Issue #16102: Make uuid._netbios_getnode() work again on Python 3.Serhiy Storchaka2013-06-092-1/+3
| |
* | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.Christian Heimes2013-06-097-16/+200
| |
* | get_default_verify_paths doesn't belong inside the ifdef blockChristian Heimes2013-06-091-1/+1
| |
* | removed accidental new lineChristian Heimes2013-06-091-2/+1
| |
* | Issue #18143: Implement ssl.get_default_verify_paths() in order to debugChristian Heimes2013-06-095-1/+97
| | | | | | | | the default locations for cafile and capath.
* | Issue #15239: Make mkstringprep.py work again on Python 3.Serhiy Storchaka2013-06-092-17/+25
|\ \ | |/
| * Issue #15239: Make mkstringprep.py work again on Python 3.Serhiy Storchaka2013-06-092-17/+28
| |
* | Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-093-7/+28
|\ \ | |/ | | | | encoding now always contains an encoding name.
| * Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-093-7/+28
| | | | | | | | encoding now always contains an encoding name.
* | #18126: merge with 3.3.Ezio Melotti2013-06-083-5/+4
|\ \ | |/
| * #18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.Ezio Melotti2013-06-083-5/+4
| |
* | #17691: merge with 3.3.Ezio Melotti2013-06-082-21/+19
|\ \ | |/
| * #17691: test_univnewlines now works with unittest test discovery. Patch by ↵Ezio Melotti2013-06-082-21/+19
| | | | | | | | Zachary Ware.
* | Issue #15528: Delay importing atexit until weakref.finalize() used.Richard Oudkerk2013-06-081-3/+7
| |