Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #18048: Merge test_pep263.py and test_coding.py into ↵ | Serhiy Storchaka | 2013-06-13 | 2 | -87/+76 |
|\ | | | | | | | test_source_encoding.py. | ||||
| * | Issue #18048: Rename test_pep263.py to test_source_encoding.py. | Serhiy Storchaka | 2013-06-13 | 1 | -0/+0 |
| | | |||||
* | | Issue #18048: Rename test_coding.py to test_source_encoding.py. | Serhiy Storchaka | 2013-06-13 | 1 | -0/+0 |
|/ | |||||
* | Issue #15767: Add an explicit test for raising ModuleNotFoundError | Brett Cannon | 2013-06-13 | 1 | -0/+7 |
| | | | | when None in sys.modules. | ||||
* | Issue #15767: Touch up ModuleNotFoundError usage by import. | Brett Cannon | 2013-06-13 | 10 | -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 discovery | Brett Cannon | 2013-06-13 | 18 | -108/+24 |
| | | | | instead of manually listing tests for test.support.run_unittest(). | ||||
* | Partially revert changeset #281857369a78 to make sure threads are | Brett Cannon | 2013-06-13 | 1 | -1/+11 |
| | | | | reaped in all situations. | ||||
* | Move test___all__ over to unittest.main() and use ModuleNotFoundError | Brett Cannon | 2013-06-13 | 5 | -24/+21 |
| | |||||
* | Spruce up test_xmlrpc by using ModuleNotFoundError and moving to | Brett Cannon | 2013-06-13 | 1 | -22/+7 |
| | | | | unittest.main(). | ||||
* | Move test_zipfile to unittest.main() | Brett Cannon | 2013-06-12 | 1 | -7/+1 |
| | |||||
* | Issue #15767: Introduce ModuleNotFoundError, a subclass of | Brett Cannon | 2013-06-12 | 17 | -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 Cannon | 2013-06-12 | 1 | -1/+25 |
| | |||||
* | Add tests for issue #18183. | Serhiy Storchaka | 2013-06-12 | 1 | -3/+14 |
|\ | |||||
| * | Add tests for issue #18183. | Serhiy Storchaka | 2013-06-12 | 1 | -3/+15 |
| | | |||||
* | | #18196: merge with 3.3 | Roger Serwy | 2013-06-12 | 2 | -0/+6 |
|\ \ | |/ | |||||
| * | #18196: Avoid displaying spurious SystemExit tracebacks. | Roger Serwy | 2013-06-12 | 2 | -0/+6 |
| | | |||||
* | | #5492: merge with 3.3 | Roger Serwy | 2013-06-12 | 2 | -6/+7 |
|\ \ | |/ | |||||
| * | #5492: Avoid traceback when exiting IDLE caused by a race condition. | Roger Serwy | 2013-06-12 | 2 | -6/+7 |
| | | |||||
* | | Issue #18187: merge from 3.3 | Ned Deily | 2013-06-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #18187: Fix broken link in venv documentation. Patch by Berker Peksag. | Ned Deily | 2013-06-11 | 1 | -1/+1 |
| | | |||||
* | | explanatory comment | Brett Cannon | 2013-06-11 | 1 | -1/+1 |
| | | |||||
* | | typo fix | Brett Cannon | 2013-06-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #18158: delete test_importhooks. Redundant in the face of | Brett Cannon | 2013-06-11 | 1 | -250/+0 |
| | | | | | | | | test_importlib. | ||||
* | | Issue #18157: stop using imp.load_module() in imp. | Brett Cannon | 2013-06-11 | 2 | -12/+14 |
| | | |||||
* | | #17511: merge with 3.3. | Roger Serwy | 2013-06-11 | 3 | -3/+6 |
|\ \ | |/ | |||||
| * | #17511: Keep IDLE find dialog open after clicking "Find Next". | Roger Serwy | 2013-06-11 | 3 | -3/+6 |
| | | | | | | | | Original patch by Sarah K. | ||||
* | | merge 3.3 (#18183) | Benjamin Peterson | 2013-06-10 | 3 | -24/+25 |
|\ \ | |/ | |||||
| * | remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵ | Benjamin Peterson | 2013-06-10 | 3 | -31/+32 |
| | | | | | | | | (see #18183) | ||||
* | | Merge. | Richard Oudkerk | 2013-06-10 | 3 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #18174: Fix fd leaks in tests. | Richard Oudkerk | 2013-06-10 | 3 | -1/+5 |
| | | |||||
* | | Merge. | Richard Oudkerk | 2013-06-10 | 2 | -2/+5 |
|\ \ | |/ | |||||
| * | Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). | Richard Oudkerk | 2013-06-10 | 2 | -2/+5 |
| | | |||||
* | | fixd refleak | Christian Heimes | 2013-06-10 | 1 | -1/+9 |
| | | |||||
* | | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 2 | -2/+3 |
|\ \ | |/ | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
| * | Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 2 | -2/+3 |
| | | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
* | | Issue #16102: Make uuid._netbios_getnode() work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 2 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #16102: Make uuid._netbios_getnode() work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 2 | -1/+3 |
| | | |||||
* | | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store. | Christian Heimes | 2013-06-09 | 7 | -16/+200 |
| | | |||||
* | | get_default_verify_paths doesn't belong inside the ifdef block | Christian Heimes | 2013-06-09 | 1 | -1/+1 |
| | | |||||
* | | removed accidental new line | Christian Heimes | 2013-06-09 | 1 | -2/+1 |
| | | |||||
* | | Issue #18143: Implement ssl.get_default_verify_paths() in order to debug | Christian Heimes | 2013-06-09 | 5 | -1/+97 |
| | | | | | | | | the default locations for cafile and capath. | ||||
* | | Issue #15239: Make mkstringprep.py work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 2 | -17/+25 |
|\ \ | |/ | |||||
| * | Issue #15239: Make mkstringprep.py work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 2 | -17/+28 |
| | | |||||
* | | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 3 | -7/+28 |
|\ \ | |/ | | | | | encoding now always contains an encoding name. | ||||
| * | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 3 | -7/+28 |
| | | | | | | | | encoding now always contains an encoding name. | ||||
* | | #18126: merge with 3.3. | Ezio Melotti | 2013-06-08 | 3 | -5/+4 |
|\ \ | |/ | |||||
| * | #18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev. | Ezio Melotti | 2013-06-08 | 3 | -5/+4 |
| | | |||||
* | | #17691: merge with 3.3. | Ezio Melotti | 2013-06-08 | 2 | -21/+19 |
|\ \ | |/ | |||||
| * | #17691: test_univnewlines now works with unittest test discovery. Patch by ↵ | Ezio Melotti | 2013-06-08 | 2 | -21/+19 |
| | | | | | | | | Zachary Ware. | ||||
* | | Issue #15528: Delay importing atexit until weakref.finalize() used. | Richard Oudkerk | 2013-06-08 | 1 | -3/+7 |
| | |