]> granicus.if.org Git - python/log
python
11 years agoReuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
Victor Stinner [Tue, 4 Jun 2013 21:14:37 +0000 (23:14 +0200)]
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros

multiprocessing.h: remove unused MIN and MAX macros

11 years agoClose #17932: Fix an integer overflow issue on Windows 64-bit in iterators:
Victor Stinner [Tue, 4 Jun 2013 21:02:46 +0000 (23:02 +0200)]
Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators:
change the C type of seqiterobject.it_index from long to Py_ssize_t.

11 years ago(Merge 3.3) Close #18109: os.uname() now decodes fields from the locale
Victor Stinner [Mon, 3 Jun 2013 20:09:14 +0000 (22:09 +0200)]
(Merge 3.3) Close #18109: os.uname() now decodes fields from the locale
encoding, and socket.gethostname() now decodes the hostname from the locale
encoding, instead of using the UTF-8 encoding in strict mode.

11 years agoClose #18109: os.uname() now decodes fields from the locale encoding, and
Victor Stinner [Mon, 3 Jun 2013 20:07:27 +0000 (22:07 +0200)]
Close #18109: os.uname() now decodes fields from the locale encoding, and
socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode.

11 years agoFix #17967 - Fix related to regression on Windows.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:47 +0000 (11:59 -0700)]
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.

11 years agoClarify which dictionaries are updateable
Raymond Hettinger [Sun, 2 Jun 2013 17:03:05 +0000 (10:03 -0700)]
Clarify which dictionaries are updateable
by using the wording from the Py2.7 docs.

11 years agoFix thishost helper funtion in urllib. Returns the ipaddress of localhost when
Senthil Kumaran [Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)]
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.

11 years agoFix #17967: For ftp urls CWD to target instead of hopping to each directory
Senthil Kumaran [Sat, 1 Jun 2013 15:27:06 +0000 (08:27 -0700)]
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.

11 years agoIssue #18094: test_uuid no more reports skipped tests as passed.
Serhiy Storchaka [Fri, 31 May 2013 19:31:02 +0000 (22:31 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.

11 years agoIssue #15392: Finish news entry.
Terry Jan Reedy [Fri, 31 May 2013 00:55:52 +0000 (20:55 -0400)]
Issue #15392: Finish news entry.

11 years agoSupport multiarch build in tests.
Stefan Krah [Wed, 29 May 2013 18:58:19 +0000 (20:58 +0200)]
Support multiarch build in tests.

11 years agoBackport bff16086f03b and bcaaaa00425b.
Stefan Krah [Wed, 29 May 2013 17:14:17 +0000 (19:14 +0200)]
Backport bff16086f03b and bcaaaa00425b.

11 years agoIssue #17768: Support newline fill character in decimal.py and NUL fill
Stefan Krah [Wed, 29 May 2013 13:45:38 +0000 (15:45 +0200)]
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.

11 years ago#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
Senthil Kumaran [Wed, 29 May 2013 12:54:31 +0000 (05:54 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.

11 years agoIssue #15392: Do not run tests if threading/_thread not available. Otherwise
Terry Jan Reedy [Wed, 29 May 2013 02:21:53 +0000 (22:21 -0400)]
Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.

11 years agoIssue #18080: When building a C extension module on OS X, if the compiler
Ned Deily [Tue, 28 May 2013 23:35:30 +0000 (16:35 -0700)]
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.

11 years agoIssue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 19:46:15 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.

11 years agoIssue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
Serhiy Storchaka [Tue, 28 May 2013 13:24:45 +0000 (16:24 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.

11 years agoIssue #17746: Skip test_shutil.test_non_matching_mode when run as root or
Serhiy Storchaka [Tue, 28 May 2013 12:50:15 +0000 (15:50 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.

11 years agoIssue #18011: base64.b32decode() now raises a binascii.Error if there are
Serhiy Storchaka [Tue, 28 May 2013 12:27:29 +0000 (15:27 +0300)]
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.

11 years agoIssue #18079: Fix a typo in the tutorial.
Serhiy Storchaka [Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)]
Issue #18079: Fix a typo in the tutorial.

11 years agoUse simple call to os.symlink for broken link (intended for previous commit)
Jason R. Coombs [Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)]
Use simple call to os.symlink for broken link (intended for previous commit)

11 years agoIssue #13772: Restored directory detection of targets in `os.symlink` on Windows...
Jason R. Coombs [Tue, 28 May 2013 03:21:28 +0000 (23:21 -0400)]
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.

11 years agoIssue #15392: Create a unittest framework for IDLE.
Terry Jan Reedy [Tue, 28 May 2013 01:32:03 +0000 (21:32 -0400)]
Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.

11 years agoFix typo in embedding doc and update examples to 3.3.
Ned Deily [Mon, 27 May 2013 01:53:39 +0000 (18:53 -0700)]
Fix typo in embedding doc and update examples to 3.3.

11 years agoIssue #18063: fix some struct specifications in the tests for sys.getsizeof().
Antoine Pitrou [Sat, 25 May 2013 21:47:29 +0000 (23:47 +0200)]
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().

11 years agoMention __cached__ in the import ref.
Brett Cannon [Sat, 25 May 2013 15:32:50 +0000 (11:32 -0400)]
Mention __cached__ in the import ref.

11 years agoAdd a missing parenthesis.
Brett Cannon [Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)]
Add a missing parenthesis.

11 years agoVarious tweaks to importlib docs.
Brett Cannon [Sat, 25 May 2013 15:26:11 +0000 (11:26 -0400)]
Various tweaks to importlib docs.

11 years agoClean-up duplicated code in tests
Eli Bendersky [Sat, 25 May 2013 14:12:14 +0000 (07:12 -0700)]
Clean-up duplicated code in tests

11 years agoIssue #13612: handle unknown encodings without a buffer overflow.
Eli Bendersky [Sat, 25 May 2013 12:25:48 +0000 (05:25 -0700)]
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.

11 years agoFix test_bad_address on Ubuntu 13.04
Antoine Pitrou [Sat, 25 May 2013 11:08:13 +0000 (13:08 +0200)]
Fix test_bad_address on Ubuntu 13.04

11 years agoindicate that read/write work with bytes (closes #18009)
Benjamin Peterson [Fri, 24 May 2013 21:35:57 +0000 (14:35 -0700)]
indicate that read/write work with bytes (closes #18009)

11 years agoIssue #17953: document that sys.modules shouldn't be replaced (thanks
Brett Cannon [Fri, 24 May 2013 12:05:07 +0000 (08:05 -0400)]
Issue #17953: document that sys.modules shouldn't be replaced (thanks
to interp->modules) and that deleting essential items from the dict
can cause Python to blow up.

Thanks to Terry Reedy for coming up with initial wording and Yogesh
Chaudhari for coming up with a patch using that wording in parallel to
my own patch.

11 years agoIssue #17269: Workaround for a platform bug in getaddrinfo on OSX
Ronald Oussoren [Fri, 24 May 2013 11:47:37 +0000 (13:47 +0200)]
Issue #17269: Workaround for a platform bug in getaddrinfo on OSX

Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.

11 years agoFix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3
Senthil Kumaran [Thu, 23 May 2013 12:27:38 +0000 (05:27 -0700)]
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3

11 years agoIssue 17844: Clarify meaning of different codec tables
Nick Coghlan [Thu, 23 May 2013 10:24:02 +0000 (20:24 +1000)]
Issue 17844: Clarify meaning of different codec tables

11 years agoIssue #18031: %-formatting isn't dead yet and might pull through.
Raymond Hettinger [Thu, 23 May 2013 07:14:47 +0000 (00:14 -0700)]
Issue #18031:  %-formatting isn't dead yet and might pull through.

11 years agoIssue #17532: Always include Options menu for IDLE on OS X.
Ned Deily [Wed, 22 May 2013 22:19:40 +0000 (15:19 -0700)]
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.

11 years agoadd test for inequality
Benjamin Peterson [Wed, 22 May 2013 20:27:25 +0000 (13:27 -0700)]
add test for inequality

11 years agoIssue #16986: ElementTree now correctly parses a string input not only when
Serhiy Storchaka [Wed, 22 May 2013 14:07:51 +0000 (17:07 +0300)]
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.

11 years agoIssue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.
Serhiy Storchaka [Wed, 22 May 2013 12:33:09 +0000 (15:33 +0300)]
Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.

11 years ago#17973: fix technical inaccuracy in faq entry (it now passes doctest).
R David Murray [Tue, 21 May 2013 15:44:41 +0000 (11:44 -0400)]
#17973: fix technical inaccuracy in faq entry (it now passes doctest).

11 years ago#14146: Highlight source line while debugging on Windows.
Roger Serwy [Tue, 21 May 2013 03:13:39 +0000 (22:13 -0500)]
#14146: Highlight source line while debugging on Windows.

11 years agoIssue #17743: Now use extended syntax of set command in .bat files.
Vinay Sajip [Mon, 20 May 2013 22:38:12 +0000 (15:38 -0700)]
Issue #17743: Now use extended syntax of set command in .bat files.

11 years agoIssue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.
Vinay Sajip [Mon, 20 May 2013 22:28:52 +0000 (15:28 -0700)]
Issue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.

11 years agoIssue #18026: fix ctypes doc typo
Ned Deily [Mon, 20 May 2013 21:29:44 +0000 (14:29 -0700)]
Issue #18026: fix ctypes doc typo

11 years ago#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
R David Murray [Mon, 20 May 2013 14:32:46 +0000 (10:32 -0400)]
#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.

This has come up often enough now on the tracker that it deserves a FAQ entry.

11 years ago#14097: improve the "introduction" page of the tutorial.
Ezio Melotti [Mon, 20 May 2013 05:12:32 +0000 (08:12 +0300)]
#14097: improve the "introduction" page of the tutorial.

11 years agoadd recursive repr test
Benjamin Peterson [Mon, 20 May 2013 02:39:38 +0000 (19:39 -0700)]
add recursive repr test

11 years agoIssue #17989: fix typo in error message
Eli Bendersky [Sun, 19 May 2013 23:59:59 +0000 (16:59 -0700)]
Issue #17989: fix typo in error message

11 years agoTry to make test more reliable (saw some sporadic failures on buildbots)
Antoine Pitrou [Sun, 19 May 2013 13:55:40 +0000 (15:55 +0200)]
Try to make test more reliable (saw some sporadic failures on buildbots)

11 years agoIssue #11995: test_pydoc doesn't import all sys.path modules anymore.
Antoine Pitrou [Sun, 19 May 2013 13:44:54 +0000 (15:44 +0200)]
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.

11 years agoIssue #17812: Fixed quadratic complexity of base64.b32encode().
Serhiy Storchaka [Sun, 19 May 2013 08:41:15 +0000 (11:41 +0300)]
Issue #17812: Fixed quadratic complexity of base64.b32encode().

11 years agoIssue #17901: fix TreeBuilder construction for an explicit element_factory=None
Eli Bendersky [Sat, 18 May 2013 22:47:16 +0000 (15:47 -0700)]
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None

Based on report and patch by Aaron Oakley.

11 years agoClose file before reopening to keep Windows happy in test_sax.
Richard Oudkerk [Sat, 18 May 2013 17:11:30 +0000 (18:11 +0100)]
Close file before reopening to keep Windows happy in test_sax.

11 years agoIssue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using...
Antoine Pitrou [Sat, 18 May 2013 15:56:42 +0000 (17:56 +0200)]
Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).

11 years agoIssue #17989: element_setattro returned incorrect error value.
Eli Bendersky [Sat, 18 May 2013 14:52:34 +0000 (07:52 -0700)]
Issue #17989: element_setattro returned incorrect error value.

This caused an exception to be raised later than expected.

11 years agoUpdate docstring for _asdict() to indicate it is obsolete.
Raymond Hettinger [Fri, 17 May 2013 23:43:14 +0000 (16:43 -0700)]
Update docstring for _asdict() to indicate it is obsolete.
Use the cleaner looking @property style for __dict__.
Move _replace() to be just after make() to indicate that
it is a core method on named tuples.

11 years agoonly recursively expand in the format spec (closes #17644)
Benjamin Peterson [Fri, 17 May 2013 22:34:30 +0000 (17:34 -0500)]
only recursively expand in the format spec (closes #17644)

11 years agoIssue #17563: Fix dict resize performance regression.
Raymond Hettinger [Fri, 17 May 2013 10:01:13 +0000 (03:01 -0700)]
Issue #17563: Fix dict resize performance regression.

11 years agoRemove unnecessary exception handler.
Raymond Hettinger [Fri, 17 May 2013 09:28:33 +0000 (02:28 -0700)]
Remove unnecessary exception handler.

11 years agoIgnore Mac OS X entries for .DS_Store
Raymond Hettinger [Fri, 17 May 2013 09:23:16 +0000 (02:23 -0700)]
Ignore Mac OS X entries for .DS_Store

11 years agoFix some bugs in Tools/scripts/abitype.py.
Serhiy Storchaka [Fri, 17 May 2013 07:17:43 +0000 (10:17 +0300)]
Fix some bugs in Tools/scripts/abitype.py.

11 years agomove definition to top of block
Benjamin Peterson [Fri, 17 May 2013 00:38:22 +0000 (19:38 -0500)]
move definition to top of block

11 years agoFix compilater warnings on Windows 64-bit
Victor Stinner [Thu, 16 May 2013 22:19:59 +0000 (00:19 +0200)]
Fix compilater warnings on Windows 64-bit

11 years agomerge from 3.3
Senthil Kumaran [Sun, 2 Jun 2013 19:00:45 +0000 (12:00 -0700)]
merge from 3.3

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.

11 years agomerge
Raymond Hettinger [Sun, 2 Jun 2013 17:04:59 +0000 (10:04 -0700)]
merge

11 years agomerge from 3.3
Senthil Kumaran [Sat, 1 Jun 2013 18:12:52 +0000 (11:12 -0700)]
merge from 3.3

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.

11 years ago#18066: remove vestigial code depending on the sgi module
Andrew Kuchling [Sat, 1 Jun 2013 17:52:30 +0000 (13:52 -0400)]
#18066: remove vestigial code depending on the sgi module

11 years agomerge from 3.3
Senthil Kumaran [Sat, 1 Jun 2013 15:27:53 +0000 (08:27 -0700)]
merge from 3.3

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.

11 years agofrozen modules now apparently have empty __path__
Benjamin Peterson [Sat, 1 Jun 2013 05:18:26 +0000 (22:18 -0700)]
frozen modules now apparently have empty __path__

11 years agoIssue #18065: For frozen packages set __path__ to [].
Brett Cannon [Sat, 1 Jun 2013 03:18:39 +0000 (23:18 -0400)]
Issue #18065: For frozen packages set __path__ to [].

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.

11 years agofix whitespace
Brett Cannon [Fri, 31 May 2013 22:57:45 +0000 (18:57 -0400)]
fix whitespace

11 years agoIssues #18088, 18089: Introduce
Brett Cannon [Fri, 31 May 2013 22:56:47 +0000 (18:56 -0400)]
Issues #18088, 18089: Introduce
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.

11 years agoDocstring cleanup
Brett Cannon [Fri, 31 May 2013 22:39:07 +0000 (18:39 -0400)]
Docstring cleanup

11 years agoFix for last commit on adding reset_name to module_to_load
Brett Cannon [Fri, 31 May 2013 22:37:44 +0000 (18:37 -0400)]
Fix for last commit on adding reset_name to module_to_load

11 years agoAdd a reset_name argument to importlib.util.module_to_load in order to
Brett Cannon [Fri, 31 May 2013 22:11:17 +0000 (18:11 -0400)]
Add a reset_name argument to importlib.util.module_to_load in order to
control whether to reset the module's __name__ attribute in case a
reload is being done.

11 years agoUpdate What's New for importlib.util.module_to_load name change
Brett Cannon [Fri, 31 May 2013 22:02:11 +0000 (18:02 -0400)]
Update What's New for importlib.util.module_to_load name change

11 years agoAdd a reference to module_to_load
Brett Cannon [Fri, 31 May 2013 22:00:56 +0000 (18:00 -0400)]
Add a reference to module_to_load

11 years agoIssue #18094: test_uuid no more reports skipped tests as passed.
Serhiy Storchaka [Fri, 31 May 2013 19:34:00 +0000 (22:34 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.

11 years agoRemove duplicate entry due to mismerge and incomplete resolution.
Terry Jan Reedy [Fri, 31 May 2013 01:08:49 +0000 (21:08 -0400)]
Remove duplicate entry due to mismerge and incomplete resolution.

11 years agomerge
Terry Jan Reedy [Fri, 31 May 2013 01:05:53 +0000 (21:05 -0400)]
merge

11 years agoRename importlib.util.ModuleManager to module_to_load so that the name
Brett Cannon [Thu, 30 May 2013 21:31:47 +0000 (17:31 -0400)]
Rename importlib.util.ModuleManager to module_to_load so that the name
explains better what the context manager is providing.

11 years agoFixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X
Łukasz Langa [Thu, 30 May 2013 18:58:53 +0000 (20:58 +0200)]
Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X

Patch by Ronald Oussoren

11 years agoMerge heads
Serhiy Storchaka [Wed, 29 May 2013 20:45:05 +0000 (23:45 +0300)]
Merge heads

11 years agoIssue #18084: Use sys.byteorder in wave.py.
Serhiy Storchaka [Wed, 29 May 2013 20:38:00 +0000 (23:38 +0300)]
Issue #18084: Use sys.byteorder in wave.py.
Original patch by Hideaki Takahashi.

11 years agoMerge 3.3.
Stefan Krah [Wed, 29 May 2013 19:12:46 +0000 (21:12 +0200)]
Merge 3.3.

11 years agoNull merge.
Stefan Krah [Wed, 29 May 2013 17:15:28 +0000 (19:15 +0200)]
Null merge.

11 years agoMark untestable lines for gcov.
Stefan Krah [Wed, 29 May 2013 17:08:34 +0000 (19:08 +0200)]
Mark untestable lines for gcov.

11 years agotest_decimal: add __sizeof__() tests for code coverage.
Stefan Krah [Wed, 29 May 2013 16:50:06 +0000 (18:50 +0200)]
test_decimal: add __sizeof__() tests for code coverage.

11 years agoIssue #9369: The types of `char*` arguments of PyObject_CallFunction() and
Serhiy Storchaka [Wed, 29 May 2013 15:50:54 +0000 (18:50 +0300)]
Issue #9369: The types of `char*` arguments of PyObject_CallFunction() and
PyObject_CallMethod() now changed to `const char*`.
Based on patches by Jörg Müller and Lars Buitinck.

11 years agoMerge 3.3.
Stefan Krah [Wed, 29 May 2013 13:47:24 +0000 (15:47 +0200)]
Merge 3.3.

11 years agomerge from 3.3
Senthil Kumaran [Wed, 29 May 2013 12:57:21 +0000 (05:57 -0700)]
merge from 3.3

#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.

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 29 May 2013 02:22:14 +0000 (22:22 -0400)]
Merge with 3.3

11 years ago#1554133: Document PyOS_InputHook, PyOS_ReadlineFunctionPointer
Andrew Kuchling [Wed, 29 May 2013 01:48:28 +0000 (21:48 -0400)]
#1554133: Document PyOS_InputHook, PyOS_ReadlineFunctionPointer

11 years agoIssue #18080: merge from 3.3
Ned Deily [Tue, 28 May 2013 23:45:06 +0000 (16:45 -0700)]
Issue #18080: merge from 3.3

11 years agoUndo a recommendation as load_module() methods might be called directly
Brett Cannon [Tue, 28 May 2013 22:40:31 +0000 (18:40 -0400)]
Undo a recommendation as load_module() methods might be called directly

11 years agoIssue #18070: importlib.util.module_for_loader() now sets __loader__
Brett Cannon [Tue, 28 May 2013 22:35:54 +0000 (18:35 -0400)]
Issue #18070: importlib.util.module_for_loader() now sets __loader__
and __package__ unconditionally in order to do the right thing for
reloading.

11 years agoClarify some documentation
Brett Cannon [Tue, 28 May 2013 21:50:14 +0000 (17:50 -0400)]
Clarify some documentation