summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-129-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 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-121-0/+4
|\ \ | |/
| * #18196: Avoid displaying spurious SystemExit tracebacks.Roger Serwy2013-06-121-0/+4
| |
* | #5492: merge with 3.3Roger Serwy2013-06-121-6/+5
|\ \ | |/
| * #5492: Avoid traceback when exiting IDLE caused by a race condition.Roger Serwy2013-06-121-6/+5
| |
* | 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-111-12/+12
| |
* | #17511: merge with 3.3.Roger Serwy2013-06-111-3/+2
|\ \ | |/
| * #17511: Keep IDLE find dialog open after clicking "Find Next".Roger Serwy2013-06-111-3/+2
| | | | | | | | Original patch by Sarah K.
* | merge 3.3 (#18183)Benjamin Peterson2013-06-101-0/+3
|\ \ | |/
| * remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵Benjamin Peterson2013-06-101-0/+3
| | | | | | | | (see #18183)
* | Merge.Richard Oudkerk2013-06-103-1/+5
|\ \ | |/
| * Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-103-1/+5
| |
* | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
|\ \ | |/ | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
| * Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
| | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* | Issue #16102: Make uuid._netbios_getnode() work again on Python 3.Serhiy Storchaka2013-06-091-1/+1
|\ \ | |/
| * Issue #16102: Make uuid._netbios_getnode() work again on Python 3.Serhiy Storchaka2013-06-091-1/+1
| |
* | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.Christian Heimes2013-06-092-0/+27
| |
* | Issue #18143: Implement ssl.get_default_verify_paths() in order to debugChristian Heimes2013-06-092-0/+33
| | | | | | | | the default locations for cafile and capath.
* | Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-0/+18
|\ \ | |/ | | | | encoding now always contains an encoding name.
| * Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-0/+18
| | | | | | | | encoding now always contains an encoding name.
* | #17691: merge with 3.3.Ezio Melotti2013-06-081-21/+16
|\ \ | |/
| * #17691: test_univnewlines now works with unittest test discovery. Patch by ↵Ezio Melotti2013-06-081-21/+16
| | | | | | | | Zachary Ware.
| * #18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patchTerry Jan Reedy2013-06-088-22/+18
| | | | | | | | changing IOError to OSError (#16715).
* | Issue #15528: Delay importing atexit until weakref.finalize() used.Richard Oudkerk2013-06-081-3/+7
| |
* | Fixed #18150: duplicate test inside TestSingleDispatchŁukasz Langa2013-06-071-19/+14
| | | | | | | | Thanks to Vajrasky Kok for the patch
* | Issue #7732: Move an imp.find_module test from test_import toBrett Cannon2013-06-072-10/+11
| | | | | | | | test_imp.
* | merge w/ 3.3 for issue #18055Brett Cannon2013-06-071-38/+19
|\ \ | |/
| * Issue #18055: Move to importlib from imp for IDLE.Brett Cannon2013-06-071-38/+19
| |
* | Issue #17314: Stop using imp in multiprocessing.forking and move overBrett Cannon2013-06-071-10/+12
| | | | | | | | to importlib.
* | Closes #11959: SMTPServer and SMTPChannel now take an optional map, use of ↵Vinay Sajip2013-06-072-66/+10
| | | | | | | | which avoids affecting global state.
* | tweak exception message (again)Brett Cannon2013-06-051-2/+2
| |
* | Merge with 3.3Terry Jan Reedy2013-06-052-6/+6
|\ \ | |/
| * Issue 18130: delete extra spacesTerry Jan Reedy2013-06-052-6/+6
| |
* | Merge with 3.3Terry Jan Reedy2013-06-053-51/+198
|\ \ | |/
| * Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.Terry Jan Reedy2013-06-053-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 Langa2013-06-053-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 whenBrett Cannon2013-06-041-2/+2
| | | | | | | | EOF is hit while trying to read the header of a bytecode file.
* | merge from 3.3Senthil Kumaran2013-06-021-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 Kumaran2013-06-021-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.3Senthil Kumaran2013-06-011-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.