Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 9 | -35/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | #18196: Avoid displaying spurious SystemExit tracebacks. | Roger Serwy | 2013-06-12 | 1 | -0/+4 |
| | | |||||
* | | #5492: merge with 3.3 | Roger Serwy | 2013-06-12 | 1 | -6/+5 |
|\ \ | |/ | |||||
| * | #5492: Avoid traceback when exiting IDLE caused by a race condition. | Roger Serwy | 2013-06-12 | 1 | -6/+5 |
| | | |||||
* | | 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 | 1 | -12/+12 |
| | | |||||
* | | #17511: merge with 3.3. | Roger Serwy | 2013-06-11 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | #17511: Keep IDLE find dialog open after clicking "Find Next". | Roger Serwy | 2013-06-11 | 1 | -3/+2 |
| | | | | | | | | Original patch by Sarah K. | ||||
* | | merge 3.3 (#18183) | Benjamin Peterson | 2013-06-10 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵ | Benjamin Peterson | 2013-06-10 | 1 | -0/+3 |
| | | | | | | | | (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 |
| | | |||||
* | | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+2 |
|\ \ | |/ | | | | | 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 | 1 | -1/+2 |
| | | | | | | | | 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 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16102: Make uuid._netbios_getnode() work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store. | Christian Heimes | 2013-06-09 | 2 | -0/+27 |
| | | |||||
* | | Issue #18143: Implement ssl.get_default_verify_paths() in order to debug | Christian Heimes | 2013-06-09 | 2 | -0/+33 |
| | | | | | | | | the default locations for cafile and capath. | ||||
* | | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 1 | -0/+18 |
|\ \ | |/ | | | | | encoding now always contains an encoding name. | ||||
| * | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 1 | -0/+18 |
| | | | | | | | | encoding now always contains an encoding name. | ||||
* | | #17691: merge with 3.3. | Ezio Melotti | 2013-06-08 | 1 | -21/+16 |
|\ \ | |/ | |||||
| * | #17691: test_univnewlines now works with unittest test discovery. Patch by ↵ | Ezio Melotti | 2013-06-08 | 1 | -21/+16 |
| | | | | | | | | Zachary Ware. | ||||
| * | #18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch | Terry Jan Reedy | 2013-06-08 | 8 | -22/+18 |
| | | | | | | | | changing IOError to OSError (#16715). | ||||
* | | Issue #15528: Delay importing atexit until weakref.finalize() used. | Richard Oudkerk | 2013-06-08 | 1 | -3/+7 |
| | | |||||
* | | Fixed #18150: duplicate test inside TestSingleDispatch | Łukasz Langa | 2013-06-07 | 1 | -19/+14 |
| | | | | | | | | Thanks to Vajrasky Kok for the patch | ||||
* | | Issue #7732: Move an imp.find_module test from test_import to | Brett Cannon | 2013-06-07 | 2 | -10/+11 |
| | | | | | | | | test_imp. | ||||
* | | merge w/ 3.3 for issue #18055 | Brett Cannon | 2013-06-07 | 1 | -38/+19 |
|\ \ | |/ | |||||
| * | Issue #18055: Move to importlib from imp for IDLE. | Brett Cannon | 2013-06-07 | 1 | -38/+19 |
| | | |||||
* | | Issue #17314: Stop using imp in multiprocessing.forking and move over | Brett Cannon | 2013-06-07 | 1 | -10/+12 |
| | | | | | | | | to importlib. | ||||
* | | Closes #11959: SMTPServer and SMTPChannel now take an optional map, use of ↵ | Vinay Sajip | 2013-06-07 | 2 | -66/+10 |
| | | | | | | | | which avoids affecting global state. | ||||
* | | tweak exception message (again) | Brett Cannon | 2013-06-05 | 1 | -2/+2 |
| | | |||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-06-05 | 2 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue 18130: delete extra spaces | Terry Jan Reedy | 2013-06-05 | 2 | -6/+6 |
| | | |||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-06-05 | 3 | -51/+198 |
|\ \ | |/ | |||||
| * | Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog. | Terry Jan Reedy | 2013-06-05 | 3 | -51/+198 |
| | | | | | | | | | | | | | | Fix bug in existing human test and add instructions; fix two bugs in tested code; remove redundancies, add spaces, and change two internal method names. Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox. Use mocks in test_config_name to unittest methods that are otherwise gui-free. | ||||
* | | Add reference implementation for PEP 443 | Łukasz Langa | 2013-06-05 | 3 | -53/+499 |
| | | | | | | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html | ||||
* | | Tweak at the suggestion of Ezio Melotti for exception messages when | Brett Cannon | 2013-06-04 | 1 | -2/+2 |
| | | | | | | | | EOF is hit while trying to read the header of a bytecode file. | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-02 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | | | | | Fix #17967 - Fix related to regression on Windows. os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir. | ||||
| * | Fix #17967 - Fix related to regression on Windows. | Senthil Kumaran | 2013-06-02 | 1 | -1/+2 |
| | | | | | | | | | | os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir. | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-01 | 1 | -1/+4 |
|\ \ | |/ | | | | | | | | | Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures. |