Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when | Senthil Kumaran | 2013-06-01 | 1 | -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 module | Andrew Kuchling | 2013-06-01 | 1 | -12/+1 |
| | | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-01 | 1 | -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 directory | Senthil Kumaran | 2013-06-01 | 1 | -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 Peterson | 2013-06-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #18065: For frozen packages set __path__ to []. | Brett Cannon | 2013-06-01 | 1 | -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 whitespace | Brett Cannon | 2013-05-31 | 1 | -1/+1 |
| | | |||||
* | | Issues #18088, 18089: Introduce | Brett Cannon | 2013-05-31 | 6 | -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 cleanup | Brett Cannon | 2013-05-31 | 1 | -2/+3 |
| | | |||||
* | | Fix for last commit on adding reset_name to module_to_load | Brett Cannon | 2013-05-31 | 1 | -3/+6 |
| | | |||||
* | | Add a reset_name argument to importlib.util.module_to_load in order to | Brett Cannon | 2013-05-31 | 2 | -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 Storchaka | 2013-05-31 | 1 | -51/+27 |
|\ \ | |/ | |||||
| * | Issue #18094: test_uuid no more reports skipped tests as passed. | Serhiy Storchaka | 2013-05-31 | 1 | -51/+27 |
| | | |||||
| * | Backport bff16086f03b and bcaaaa00425b. | Stefan Krah | 2013-05-29 | 1 | -0/+13 |
| | | |||||
* | | Rename importlib.util.ModuleManager to module_to_load so that the name | Brett Cannon | 2013-05-30 | 3 | -10/+17 |
| | | | | | | | | explains better what the context manager is providing. | ||||
* | | Issue #18084: Use sys.byteorder in wave.py. | Serhiy Storchaka | 2013-05-29 | 1 | -8/+3 |
| | | | | | | | | Original patch by Hideaki Takahashi. | ||||
* | | test_decimal: add __sizeof__() tests for code coverage. | Stefan Krah | 2013-05-29 | 1 | -0/+13 |
| | | |||||
* | | Merge 3.3. | Stefan Krah | 2013-05-29 | 2 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #17768: Support newline fill character in decimal.py and NUL fill | Stefan Krah | 2013-05-29 | 2 | -1/+5 |
| | | | | | | | | character in _decimal.c. | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-05-29 | 2 | -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. |