summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18080: merge from 3.3Ned Deily2013-05-283-4/+47
|\
| * Issue #18080: When building a C extension module on OS X, if the compilerNed Deily2013-05-283-4/+47
| | | | | | | | | | | | is overriden with the CC environment variable, use the new compiler as the default for linking if LDSHARED is not also overriden. This restores Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.
* | Undo a recommendation as load_module() methods might be called directlyBrett Cannon2013-05-281-5/+1
| |
* | Issue #18070: importlib.util.module_for_loader() now sets __loader__Brett Cannon2013-05-286-3474/+3451
| | | | | | | | | | and __package__ unconditionally in order to do the right thing for reloading.
* | Clarify some documentationBrett Cannon2013-05-281-31/+17
| |
* | Update importlib.hBrett Cannon2013-05-281-2676/+2675
| |
* | Introduce importlib.util.ModuleManager which is a context manager toBrett Cannon2013-05-286-3333/+3500
| | | | | | | | | | | | | | | | handle providing (and cleaning up if needed) the module to be loaded. A future commit will use the context manager in Lib/importlib/_bootstrap.py and thus why the code is placed there instead of in Lib/importlib/util.py.
* | Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.Serhiy Storchaka2013-05-281-1/+1
|\ \ | |/
| * Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.Serhiy Storchaka2013-05-281-1/+1
| |
* | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-283-0/+20
|\ \ | |/ | | | | stream's read() returns more bytes than requested.
| * Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-283-0/+20
| | | | | | | | stream's read() returns more bytes than requested.
* | Issue #17746: Skip test_shutil.test_non_matching_mode when run as root orSerhiy Storchaka2013-05-281-0/+4
|\ \ | |/ | | | | on unsuitable platform/environment.
| * Issue #17746: Skip test_shutil.test_non_matching_mode when run as root orSerhiy Storchaka2013-05-281-0/+4
| | | | | | | | on unsuitable platform/environment.
* | Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.Serhiy Storchaka2013-05-281-1/+1
| |
* | Move some Misc/NEWS entries to correct place.Serhiy Storchaka2013-05-281-7/+7
| |
* | Issue #18011: base64.b32decode() now raises a binascii.Error if there areSerhiy Storchaka2013-05-284-5/+11
|\ \ | |/ | | | | | | non-alphabet characters present in the input string to conform a docstring. Updated the module documentation.
| * Issue #18011: base64.b32decode() now raises a binascii.Error if there areSerhiy Storchaka2013-05-284-5/+11
| | | | | | | | | | non-alphabet characters present in the input string to conform a docstring. Updated the module documentation.
* | Issue #18079: Fix a typo in the tutorial.Serhiy Storchaka2013-05-281-2/+2
|\ \ | |/
| * Issue #18079: Fix a typo in the tutorial.Serhiy Storchaka2013-05-281-2/+2
| |
* | Merge with 3.3Jason R. Coombs2013-05-281-1/+1
|\ \ | |/
| * Use simple call to os.symlink for broken link (intended for previous commit)Jason R. Coombs2013-05-281-1/+1
| |
* | Merge with 3.3Jason R. Coombs2013-05-283-13/+168
|\ \ | |/
| * Issue #13772: Restored directory detection of targets in `os.symlink` on ↵Jason R. Coombs2013-05-284-13/+173
| | | | | | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
* | Merge with 3.3Terry Jan Reedy2013-05-289-2/+118
|\ \ | |/
| * Issue #15392: Create a unittest framework for IDLE.Terry Jan Reedy2013-05-289-2/+118
| | | | | | | | Preliminary patch by Rajagopalasarma Jayakrishnan.
* | NEWS entry for issue #18072Brett Cannon2013-05-281-0/+3
| |
* | Issue #18072: Implement get_code() for importlib.abc.InspectLoader andBrett Cannon2013-05-283-17/+121
| | | | | | | | ExecutionLoader.
* | grammarBenjamin Peterson2013-05-271-3/+3
| |
* | don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times ↵Benjamin Peterson2013-05-274-14/+71
| | | | | | | | | | | | (closes #17206) A patch from Illia Polosukhin.
* | Fix typo in embedding doc and update examples to 3.4.Ned Deily2013-05-271-4/+4
|\ \ | |/
| * Fix typo in embedding doc and update examples to 3.3.Ned Deily2013-05-271-4/+4
| |
* | Move importlib.abc.SourceLoader.source_to_code() to InspectLoader.Brett Cannon2013-05-264-15/+66
| | | | | | | | | | | | | | While the previous location was fine, it makes more sense to have the method higher up in the inheritance chain, especially at a point where get_source() is defined which is the earliest source_to_code() could programmatically be used in the inheritance tree in importlib.abc.
* | Issue #18063: fix some struct specifications in the tests for sys.getsizeof().Antoine Pitrou2013-05-251-5/+5
|\ \ | |/
| * Issue #18063: fix some struct specifications in the tests for sys.getsizeof().Antoine Pitrou2013-05-251-5/+5
| |
* | Mention issue #16832 in Misc/NEWSŁukasz Langa2013-05-251-1/+4
| |
* | Fix #16832 - expose cache validity checking support in ABCMetaŁukasz Langa2013-05-253-0/+34
| |
* | mergeBrett Cannon2013-05-251-1/+5
|\ \ | |/
| * Mention __cached__ in the import ref.Brett Cannon2013-05-251-1/+5
| |
* | mergeBrett Cannon2013-05-251-1/+1
|\ \ | |/
| * Add a missing parenthesis.Brett Cannon2013-05-251-1/+1
| |
* | mergeBrett Cannon2013-05-251-3/+8
|\ \ | |/
| * Various tweaks to importlib docs.Brett Cannon2013-05-251-3/+8
| |
* | Clean-up duplicated code in testsEli Bendersky2013-05-251-46/+0
|\ \ | |/
| * Clean-up duplicated code in testsEli Bendersky2013-05-251-46/+0
| |
* | Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-254-74/+123
|\ \ | |/ | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka.
| * Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-254-74/+123
| | | | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka.
* | Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC ↵Antoine Pitrou2013-05-251-3/+4
| | | | | | | | | | | | preprocessor doesn't process #ifdef's inside a macro argument list. (found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html)
* | Fix test_bad_address on Ubuntu 13.04Antoine Pitrou2013-05-251-1/+4
|\ \ | |/
| * Fix test_bad_address on Ubuntu 13.04Antoine Pitrou2013-05-251-1/+4
| |
* | Issue #8240: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets.Antoine Pitrou2013-05-252-1/+6
| |