summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * Fix thishost helper funtion in urllib. Returns the ipaddress of localhost whenSenthil Kumaran2013-06-011-1/+4
| | | | | | | | | | hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures.
* | #18066: remove vestigial code depending on the sgi moduleAndrew Kuchling2013-06-011-12/+1
| |
* | merge from 3.3Senthil Kumaran2013-06-011-2/+1
|\ \ | |/ | | | | | | | | Fix #17967: For ftp urls CWD to target instead of hopping to each directory towards target. This fixes a bug where target is accessible, but parent directories are restricted.
| * Fix #17967: For ftp urls CWD to target instead of hopping to each directorySenthil Kumaran2013-06-011-2/+1
| | | | | | | | | | towards target. This fixes a bug where target is accessible, but parent directories are restricted.
* | frozen modules now apparently have empty __path__Benjamin Peterson2013-06-011-1/+1
| |
* | Issue #18065: For frozen packages set __path__ to [].Brett Cannon2013-06-011-1/+1
| | | | | | | | | | | | | | Previously __path__ was set to [__name__], but that could lead to bad results if someone managed to circumvent the frozen importer and somehow ended up with a finder that thought __name__ was a legit directory/location.
* | fix whitespaceBrett Cannon2013-05-311-1/+1
| |
* | Issues #18088, 18089: IntroduceBrett Cannon2013-05-316-104/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | importlib.abc.Loader.init_module_attrs() and implement importlib.abc.InspectLoader.load_module(). The importlib.abc.Loader.init_module_attrs() method sets the various attributes on the module being loaded. It is done unconditionally to support reloading. Typically people used importlib.util.module_for_loader, but since that's a decorator there was no way to override it's actions, so init_module_attrs() came into existence to allow for overriding. This is also why module_for_loader is now pending deprecation (having its other use replaced by importlib.util.module_to_load). All of this allowed for importlib.abc.InspectLoader.load_module() to be implemented. At this point you can now implement a loader with nothing more than get_code() (which only requires get_source(); package support requires is_package()). Thanks to init_module_attrs() the implementation of load_module() is basically a context manager containing 2 methods calls, a call to exec(), and a return statement.
* | Docstring cleanupBrett Cannon2013-05-311-2/+3
| |
* | Fix for last commit on adding reset_name to module_to_loadBrett Cannon2013-05-311-3/+6
| |
* | Add a reset_name argument to importlib.util.module_to_load in order toBrett Cannon2013-05-312-1/+25
| | | | | | | | | | control whether to reset the module's __name__ attribute in case a reload is being done.
* | Issue #18094: test_uuid no more reports skipped tests as passed.Serhiy Storchaka2013-05-311-51/+27
|\ \ | |/
| * Issue #18094: test_uuid no more reports skipped tests as passed.Serhiy Storchaka2013-05-311-51/+27
| |
| * Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-0/+13
| |
* | Rename importlib.util.ModuleManager to module_to_load so that the nameBrett Cannon2013-05-303-10/+17
| | | | | | | | explains better what the context manager is providing.
* | Issue #18084: Use sys.byteorder in wave.py.Serhiy Storchaka2013-05-291-8/+3
| | | | | | | | Original patch by Hideaki Takahashi.
* | test_decimal: add __sizeof__() tests for code coverage.Stefan Krah2013-05-291-0/+13
| |
* | Merge 3.3.Stefan Krah2013-05-292-1/+5
|\ \ | |/
| * Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-292-1/+5
| | | | | | | | character in _decimal.c.
* | merge from 3.3Senthil Kumaran2013-05-292-0/+13
|\ \ | |/ | | | | | | | | #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline. This helps in handling certain types invalid urls in a conservative manner. Patch contributed by Mher Movsisyan.