Andrew Kuchling
1e170bae71
#1554133 : Document PyOS_InputHook, PyOS_ReadlineFunctionPointer
13 years ago
Ned Deily
6750282007
Issue #18080 : merge from 3.3
13 years ago
Ned Deily
97345680dc
Issue #18080 : When building a C extension module on OS X, if the compiler
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.
13 years ago
Brett Cannon
56dfc2127f
Undo a recommendation as load_module() methods might be called directly
13 years ago
Brett Cannon
3dc48d6f69
Issue #18070 : importlib.util.module_for_loader() now sets __loader__
and __package__ unconditionally in order to do the right thing for
reloading.
13 years ago
Brett Cannon
a22faca714
Clarify some documentation
13 years ago
Brett Cannon
f5fe13099e
Update importlib.h
13 years ago
Brett Cannon
a3687f0d68
Introduce importlib.util.ModuleManager which is a context manager to
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.
13 years ago
Serhiy Storchaka
4dbae88131
Issue #18085 : Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
13 years ago
Serhiy Storchaka
dce05500a1
Issue #18085 : Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
13 years ago
Serhiy Storchaka
281945f427
Issue #18025 : Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
13 years ago
Serhiy Storchaka
37a79a12d1
Issue #18025 : Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
13 years ago
Serhiy Storchaka
5758fa78d0
Issue #17746 : Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
13 years ago
Serhiy Storchaka
12516e2c1b
Issue #17746 : Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
13 years ago
Serhiy Storchaka
5cc9d32ee9
Issue #18011 : Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
13 years ago
Serhiy Storchaka
80f3bf95f1
Move some Misc/NEWS entries to correct place.
13 years ago
Serhiy Storchaka
77a3ad743f
Issue #18011 : base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
13 years ago
Serhiy Storchaka
ea2b490f3d
Issue #18011 : base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
13 years ago
Serhiy Storchaka
3801f632dc
Issue #18079 : Fix a typo in the tutorial.
13 years ago
Serhiy Storchaka
fef952a607
Issue #18079 : Fix a typo in the tutorial.
13 years ago
Jason R. Coombs
fb1141cd55
Merge with 3.3
13 years ago
Jason R. Coombs
b501b565c6
Use simple call to os.symlink for broken link (intended for previous commit)
13 years ago
Jason R. Coombs
8f1a8e32b1
Merge with 3.3
13 years ago
Jason R. Coombs
3a09286790
Issue #13772 : Restored directory detection of targets in `os.symlink` on 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.
13 years ago
Terry Jan Reedy
667a03b292
Merge with 3.3
13 years ago
Terry Jan Reedy
db4e5c53c9
Issue #15392 : Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
13 years ago
Brett Cannon
fc508dd608
NEWS entry for issue #18072
13 years ago
Brett Cannon
3b62ca88e4
Issue #18072 : Implement get_code() for importlib.abc.InspectLoader and
ExecutionLoader.
13 years ago
Benjamin Peterson
acfa291af9
grammar
13 years ago
Benjamin Peterson
da5eb5a31c
don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times ( closes #17206 )
A patch from Illia Polosukhin.
13 years ago
Ned Deily
e7b47dda64
Fix typo in embedding doc and update examples to 3.4.
13 years ago
Ned Deily
ecf0851809
Fix typo in embedding doc and update examples to 3.3.
13 years ago
Brett Cannon
9ffe85e1e8
Move importlib.abc.SourceLoader.source_to_code() to InspectLoader.
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.
13 years ago
Antoine Pitrou
1256f1f438
Issue #18063 : fix some struct specifications in the tests for sys.getsizeof().
13 years ago
Antoine Pitrou
80bc00f582
Issue #18063 : fix some struct specifications in the tests for sys.getsizeof().
13 years ago
Łukasz Langa
a15b95536f
Mention issue #16832 in Misc/NEWS
13 years ago
Łukasz Langa
eadd8cf507
Fix #16832 - expose cache validity checking support in ABCMeta
13 years ago
Brett Cannon
b961955e95
merge
13 years ago
Brett Cannon
4b4e38e7d4
Mention __cached__ in the import ref.
13 years ago
Brett Cannon
21cc628e4c
merge
13 years ago
Brett Cannon
533f1ed334
Add a missing parenthesis.
13 years ago
Brett Cannon
b39567a00e
merge
13 years ago
Brett Cannon
2cefb3cf96
Various tweaks to importlib docs.
13 years ago
Eli Bendersky
8be90396f2
Clean-up duplicated code in tests
13 years ago
Eli Bendersky
4ace240fe5
Clean-up duplicated code in tests
13 years ago
Eli Bendersky
7b3022f24f
Issue #13612 : handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
13 years ago
Eli Bendersky
6dc32b34dd
Issue #13612 : handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
13 years ago
Antoine Pitrou
19fef69b75
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC 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 )
13 years ago
Antoine Pitrou
765f3cce48
Fix test_bad_address on Ubuntu 13.04
13 years ago
Antoine Pitrou
6b5a38c728
Fix test_bad_address on Ubuntu 13.04
13 years ago