]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 15 Mar 2014 16:49:49 +0000 (11:49 -0500)]
remove unused zero constants
R David Murray [Sat, 15 Mar 2014 16:00:14 +0000 (12:00 -0400)]
#20933: At least one place maps 'test' to 'localhost'...fix test.
Discovery and patch by Wenzhu Man. University of Waterloo apparently
maps the local name 'test' to localhost, which is in the bypass list,
causing the test to fail. So change 'test' to a name unlikely to get
mapped to localhost.
Benjamin Peterson [Sat, 15 Mar 2014 02:54:31 +0000 (21:54 -0500)]
avoid referencing out-of-bounds memory
Benjamin Peterson [Sat, 15 Mar 2014 02:53:51 +0000 (21:53 -0500)]
fix c89 declaration order
Benjamin Peterson [Sat, 15 Mar 2014 02:47:23 +0000 (21:47 -0500)]
don't do pointer arithmetic with signed numbers
R David Murray [Fri, 14 Mar 2014 00:54:30 +0000 (20:54 -0400)]
#7475: Remove references to '.transform' from transform codec docstrings.
Éric Araujo [Thu, 13 Mar 2014 20:17:11 +0000 (16:17 -0400)]
Clarify distutils’ clean command (ref #6142)
Jesus Cea [Thu, 13 Mar 2014 16:35:32 +0000 (17:35 +0100)]
Closes #20908: Memory leak in Reg2Py()
Éric Araujo [Thu, 13 Mar 2014 08:55:35 +0000 (04:55 -0400)]
Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
Benjamin Peterson [Thu, 13 Mar 2014 02:51:52 +0000 (21:51 -0500)]
weaken callback count inequality (closes #20901)
Benjamin Peterson [Thu, 13 Mar 2014 02:41:35 +0000 (21:41 -0500)]
remove unnecessary word (closes #19060)
Patch by Anastasia Filatova.
Éric Araujo [Wed, 12 Mar 2014 23:51:00 +0000 (19:51 -0400)]
Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
Benjamin Peterson [Wed, 12 Mar 2014 23:10:47 +0000 (18:10 -0500)]
merge 3.2 (#20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:05:53 +0000 (18:05 -0500)]
use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)
Benjamin Peterson [Wed, 12 Mar 2014 20:08:43 +0000 (15:08 -0500)]
add Sean Rodman
Benjamin Peterson [Wed, 12 Mar 2014 20:07:01 +0000 (15:07 -0500)]
use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
Éric Araujo [Wed, 12 Mar 2014 07:34:02 +0000 (03:34 -0400)]
Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
R David Murray [Tue, 11 Mar 2014 22:46:00 +0000 (18:46 -0400)]
#20030: doc that TestLoader.discover returns a TestSuite.
Patch by Lita Cho.
Benjamin Peterson [Tue, 11 Mar 2014 19:26:12 +0000 (14:26 -0500)]
improve algorithms_* documentation
Benjamin Peterson [Tue, 11 Mar 2014 18:59:37 +0000 (13:59 -0500)]
fix typo (closes #20892)
Georg Brandl [Mon, 10 Mar 2014 18:26:57 +0000 (19:26 +0100)]
Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.
R David Murray [Sun, 9 Mar 2014 22:51:16 +0000 (18:51 -0400)]
#19953: Clarify the wording of the augmented assignment discussion.
Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.
Ned Deily [Sun, 9 Mar 2014 21:44:34 +0000 (14:44 -0700)]
Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.
Georg Brandl [Sun, 9 Mar 2014 10:17:23 +0000 (11:17 +0100)]
merge with 3.3.5 release repo
Georg Brandl [Sun, 9 Mar 2014 10:01:14 +0000 (11:01 +0100)]
Post-release update.
Georg Brandl [Sun, 9 Mar 2014 09:22:10 +0000 (10:22 +0100)]
hgtouch: remove meta-variable from option spec
This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).
Georg Brandl [Sun, 9 Mar 2014 08:37:32 +0000 (09:37 +0100)]
Added tag v3.3.5 for changeset
62cf4e77f785
Georg Brandl [Sun, 9 Mar 2014 08:37:14 +0000 (09:37 +0100)]
Bump to 3.3.5 final.
R David Murray [Sat, 8 Mar 2014 01:04:17 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.
This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only. However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.
Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(
Brett Cannon [Fri, 7 Mar 2014 17:28:35 +0000 (12:28 -0500)]
Issue #20813: Backport Python 2/3 HOWTO updates
Zachary Ware [Thu, 6 Mar 2014 19:21:45 +0000 (13:21 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel. In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.
Serhiy Storchaka [Thu, 6 Mar 2014 09:28:32 +0000 (11:28 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
Kristján Valur Jónsson [Wed, 5 Mar 2014 13:47:57 +0000 (13:47 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:19:24 +0000 (23:19 +0000)]
Fix pickling of rangeiter. rangeiter_setstate would not allow setting it
to the exhausted state.
Serhiy Storchaka [Mon, 3 Mar 2014 19:17:17 +0000 (21:17 +0200)]
Correct comments and improve failure reports in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
Georg Brandl [Sun, 2 Mar 2014 08:29:00 +0000 (09:29 +0100)]
Added tag v3.3.5rc2 for changeset
ca5635efe090
Georg Brandl [Sun, 2 Mar 2014 08:19:03 +0000 (09:19 +0100)]
Bump to 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:41 +0000 (09:18 +0100)]
Update NEWS for 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:31 +0000 (09:18 +0100)]
Issue #20404: reject non-text encodings early in TextIOWrapper.
Georg Brandl [Sun, 2 Mar 2014 07:54:15 +0000 (08:54 +0100)]
merge 3.3.5rc1 release commits with 3.3 branch
Benjamin Peterson [Sun, 2 Mar 2014 00:16:12 +0000 (19:16 -0500)]
add Chris Angelico
Benjamin Peterson [Sun, 2 Mar 2014 00:14:12 +0000 (19:14 -0500)]
fix test_posix.test_initgroups to work without supplemental groups (closes #20249)
Benjamin Peterson [Sat, 1 Mar 2014 15:31:36 +0000 (10:31 -0500)]
fix test on debug builds (closes #20731)
Benjamin Peterson [Sat, 1 Mar 2014 07:03:57 +0000 (02:03 -0500)]
merge 3.2
Brett Cannon [Fri, 28 Feb 2014 15:44:45 +0000 (10:44 -0500)]
Issue #20778: Fix modulefinder to work with bytecode-only modules.
Bug filed and initial attempt at a patch by Bohuslav Kabrda.
Martin v. Löwis [Fri, 28 Feb 2014 14:27:29 +0000 (15:27 +0100)]
Issue #20731: Properly position in source code files even if they
are opened in text mode. Patch by Serhiy Storchaka.
Terry Jan Reedy [Thu, 27 Feb 2014 23:47:49 +0000 (18:47 -0500)]
Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
Antoine Pitrou [Thu, 27 Feb 2014 21:14:31 +0000 (22:14 +0100)]
Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten.
Benjamin Peterson [Thu, 27 Feb 2014 18:49:34 +0000 (13:49 -0500)]
fix importlib test failure when bytecode writing is disabled (closes #20796)
Patch by Berker Peksag.
Serhiy Storchaka [Wed, 26 Feb 2014 18:59:43 +0000 (20:59 +0200)]
Added tests for issue #20501.
Zachary Ware [Wed, 26 Feb 2014 16:40:38 +0000 (10:40 -0600)]
Fix several C-API doc typos caught by tomo cocoa on docs@.
The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.
Zachary Ware [Wed, 26 Feb 2014 15:34:43 +0000 (09:34 -0600)]
Issue #20759: Fix some typos in the mock docs.
Gregory P. Smith [Wed, 26 Feb 2014 00:45:55 +0000 (16:45 -0800)]
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
This bug was of the major reasons for the release.
Serhiy Storchaka [Tue, 25 Feb 2014 18:00:48 +0000 (20:00 +0200)]
Fix typo (issue #19619).
R David Murray [Mon, 24 Feb 2014 20:32:54 +0000 (15:32 -0500)]
#20628: wrap lines to < 80.
R David Murray [Mon, 24 Feb 2014 20:29:22 +0000 (15:29 -0500)]
#20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
Ezio Melotti [Mon, 24 Feb 2014 18:58:31 +0000 (20:58 +0200)]
#20740: desquarify 2.
Serhiy Storchaka [Mon, 24 Feb 2014 12:43:03 +0000 (14:43 +0200)]
Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Backported changeset
d68df99d7a57 .
Serhiy Storchaka [Mon, 24 Feb 2014 11:57:00 +0000 (13:57 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
Georg Brandl [Mon, 24 Feb 2014 08:35:07 +0000 (09:35 +0100)]
Closes #20755: port sphinx-1.1 fixes from default
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs
Terry Jan Reedy [Mon, 24 Feb 2014 04:39:57 +0000 (23:39 -0500)]
whitespace
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:08 +0000 (23:33 -0500)]
Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
Terry Jan Reedy [Sun, 23 Feb 2014 23:00:31 +0000 (18:00 -0500)]
Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The
constructed examples and all but 7 of the test/test_*.py files (run with -ucpu)
pass. Remove those that fail the new test from the selection list.
Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).
Antoine Pitrou [Sun, 23 Feb 2014 18:39:06 +0000 (19:39 +0100)]
Issue #20743: Fix a reference leak in test_tcl.
Georg Brandl [Sun, 23 Feb 2014 07:46:11 +0000 (08:46 +0100)]
Added tag v3.3.5rc1 for changeset
9ec811df548e
Georg Brandl [Sun, 23 Feb 2014 07:46:00 +0000 (08:46 +0100)]
merge
Georg Brandl [Sun, 23 Feb 2014 07:45:15 +0000 (08:45 +0100)]
#20719: Disable the robotparser python.org test until the gzip encoding issue can be sorted.
Georg Brandl [Sun, 23 Feb 2014 07:30:06 +0000 (08:30 +0100)]
Bump to 3.3.5rc1.
Georg Brandl [Sun, 23 Feb 2014 07:24:37 +0000 (08:24 +0100)]
Update pydoc topics.
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)]
Issue #20730: Fix typo reported by Claudiu Popa.
Zachary Ware [Thu, 20 Feb 2014 21:36:34 +0000 (15:36 -0600)]
Issue #20221: Removed conflicting (or circular) hypot definition
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
Benjamin Peterson [Thu, 20 Feb 2014 04:06:24 +0000 (23:06 -0500)]
merge 3.2 (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 04:05:26 +0000 (23:05 -0500)]
bump Python-ast.c
Benjamin Peterson [Thu, 20 Feb 2014 03:55:16 +0000 (22:55 -0500)]
update logo url (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 03:56:35 +0000 (22:56 -0500)]
open retrieved file in binary mode, since it's now compressed
Serhiy Storchaka [Wed, 19 Feb 2014 17:03:58 +0000 (19:03 +0200)]
Merge heads
Zachary Ware [Wed, 19 Feb 2014 16:44:47 +0000 (10:44 -0600)]
Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
Serhiy Storchaka [Wed, 19 Feb 2014 16:44:12 +0000 (18:44 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Serhiy Storchaka [Wed, 19 Feb 2014 16:34:05 +0000 (18:34 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
Victor Stinner [Tue, 18 Feb 2014 21:00:53 +0000 (22:00 +0100)]
Issue #19612: On Windows, subprocess.Popen.communicate() now ignores
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
Zachary Ware [Tue, 18 Feb 2014 17:33:18 +0000 (11:33 -0600)]
Issue #20609: Fix building 64-bit binaries on 32-bit Windows.
Zachary Ware [Tue, 18 Feb 2014 14:39:04 +0000 (08:39 -0600)]
Issue #20510: Rewrote test_exit in test_sys to match existing comments
and to modernize. Patch by Gareth Rees.
Terry Jan Reedy [Tue, 18 Feb 2014 04:12:16 +0000 (23:12 -0500)]
Issue #8478: Untokenizer.compat now processes first token from iterator input.
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
Terry Jan Reedy [Mon, 17 Feb 2014 21:49:06 +0000 (16:49 -0500)]
whitespace
Terry Jan Reedy [Mon, 17 Feb 2014 21:45:48 +0000 (16:45 -0500)]
Untokenize: An logically incorrect assert tested user input validity.
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
Benjamin Peterson [Sun, 16 Feb 2014 19:52:01 +0000 (14:52 -0500)]
Benjamin Peterson [Sun, 16 Feb 2014 19:12:57 +0000 (14:12 -0500)]
backout
2807a5f011e4 for causing #20621
Benjamin Peterson [Sun, 16 Feb 2014 19:11:56 +0000 (14:11 -0500)]
backout
d28242a636c7 so I can backout
2807a5f011e4
Benjamin Peterson [Sun, 16 Feb 2014 17:46:30 +0000 (12:46 -0500)]
do not line break reference
Andrew Kuchling [Sun, 16 Feb 2014 17:09:35 +0000 (12:09 -0500)]
#12211: remove paragraph about NaNs
Andrew Kuchling [Sun, 16 Feb 2014 16:11:25 +0000 (11:11 -0500)]
#12211: clarify math.copysign() documentation and docstring
Andrew Kuchling [Sat, 15 Feb 2014 22:11:06 +0000 (17:11 -0500)]
#20241: use correct RFC number
Andrew Kuchling [Sat, 15 Feb 2014 22:05:26 +0000 (17:05 -0500)]
#16728: Mention collections.abc.Sequence in 'sequence' glossary entry
Andrew Kuchling [Sat, 15 Feb 2014 21:39:37 +0000 (16:39 -0500)]
Clarify versionchanged sentence. Closes #20497.
Andrew Kuchling [Sat, 15 Feb 2014 20:33:44 +0000 (15:33 -0500)]
#20237: make a revision pass over the XML vulnerabilities section
Benjamin Peterson [Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)]
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Benjamin Peterson [Sat, 15 Feb 2014 18:02:52 +0000 (13:02 -0500)]
give non-iterable TypeError a message (closes #20507)
Ezio Melotti [Sat, 15 Feb 2014 14:58:52 +0000 (16:58 +0200)]
#19890: fix typo in multiprocessing docs. Patch by Mike Short.
Ezio Melotti [Sat, 15 Feb 2014 11:01:08 +0000 (13:01 +0200)]
#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.