]> granicus.if.org Git - python/log
python
11 years agomerge with 3.4
Georg Brandl [Tue, 18 Mar 2014 06:47:35 +0000 (07:47 +0100)]
merge with 3.4

11 years agoFix option description that is a warning in new Sphinx versions.
Georg Brandl [Tue, 18 Mar 2014 06:44:07 +0000 (07:44 +0100)]
Fix option description that is a warning in new Sphinx versions.

11 years agoIssue #19977: Fix test_capi when LC_CTYPE locale is POSIX
Victor Stinner [Tue, 18 Mar 2014 01:38:12 +0000 (02:38 +0100)]
Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX

11 years agoIssue #19977: Enable test_c_locale_surrogateescape() on Windows
Victor Stinner [Tue, 18 Mar 2014 01:28:10 +0000 (02:28 +0100)]
Issue #19977: Enable test_c_locale_surrogateescape() on Windows

Only test the error handler. The encoding is not ASCII on Windows: it may the
OEM or ANSI code page.

11 years agoIssue #19977, #19036: Always include <locale.h> in pythonrun.c
Victor Stinner [Tue, 18 Mar 2014 01:06:38 +0000 (02:06 +0100)]
Issue #19977, #19036: Always include <locale.h> in pythonrun.c
to get LC_CTYPE constant on Windows.

11 years agoIssue #20574: Remove duplicated test failing on Windows XP
Victor Stinner [Tue, 18 Mar 2014 00:40:22 +0000 (01:40 +0100)]
Issue #20574: Remove duplicated test failing on Windows XP

11 years agoIssue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
Victor Stinner [Tue, 18 Mar 2014 00:18:21 +0000 (01:18 +0100)]
Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.

11 years agoAdd a stub "whatsnew in 3.5" document.
Victor Stinner [Mon, 17 Mar 2014 23:53:32 +0000 (00:53 +0100)]
Add a stub "whatsnew in 3.5" document.

11 years agoIssue #20910: Make tests more reliable, less dependent on time
Victor Stinner [Mon, 17 Mar 2014 23:39:04 +0000 (00:39 +0100)]
Issue #20910: Make tests more reliable, less dependent on time

* Tolerate 10 seconds instead of 3 seconds for slow test
* Faster test, use sleep of 100 ms instead of 1 sec
* Replace a number of iterations with an explicit deadline for the timeout

11 years agoIssue #20574: Add more tests for cp65001
Victor Stinner [Mon, 17 Mar 2014 22:16:02 +0000 (23:16 +0100)]
Issue #20574: Add more tests for cp65001

11 years agoIssue #20574: Implement incremental decoder for cp65001 code
Victor Stinner [Mon, 17 Mar 2014 22:08:06 +0000 (23:08 +0100)]
Issue #20574: Implement incremental decoder for cp65001 code
(Windows code page 65001, Microsoft UTF-8).

11 years ago(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
Victor Stinner [Mon, 17 Mar 2014 21:39:49 +0000 (22:39 +0100)]
(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
tables for base32, ascii85 and base85 codecs in the base64 module, and delay
the initialization of the unquote_to_bytes() table of the urllib.parse module,
to not waste memory if these modules are not used.

11 years agoIssue #20879: Delay the initialization of encoding and decoding tables for
Victor Stinner [Mon, 17 Mar 2014 21:38:41 +0000 (22:38 +0100)]
Issue #20879: Delay the initialization of encoding and decoding tables for
base32, ascii85 and base85 codecs in the base64 module, and delay the
initialization of the unquote_to_bytes() table of the urllib.parse module, to
not waste memory if these modules are not used.

11 years agoDrop Python 3.4.1 section from Misc/NEWS
Victor Stinner [Mon, 17 Mar 2014 21:34:59 +0000 (22:34 +0100)]
Drop Python 3.4.1 section from Misc/NEWS

Changes of 3.4 after 3.4.0 must already be present in the 3.4 branch.

11 years agoMove 3.3 items of Misc/NEWS to Misc/HISTORY
Victor Stinner [Mon, 17 Mar 2014 21:33:49 +0000 (22:33 +0100)]
Move 3.3 items of Misc/NEWS to Misc/HISTORY

In fact, items were already present by Misc/NEWS format was improved.

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:20:50 +0000 (16:20 -0500)]
merge 3.4

11 years agomove SharedKeyTests to test_descr
Benjamin Peterson [Mon, 17 Mar 2014 21:20:12 +0000 (16:20 -0500)]
move SharedKeyTests to test_descr

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:00:27 +0000 (16:00 -0500)]
merge 3.4

11 years agoBump Windows build to 3.5
Zachary Ware [Mon, 17 Mar 2014 20:57:38 +0000 (15:57 -0500)]
Bump Windows build to 3.5

11 years agocorrect the fix for #20637; allow slot descriptor inheritance to take place before...
Benjamin Peterson [Mon, 17 Mar 2014 20:57:17 +0000 (15:57 -0500)]
correct the fix for #20637; allow slot descriptor inheritance to take place before creating cached keys

11 years agoMerge 3.4
Éric Araujo [Mon, 17 Mar 2014 20:50:35 +0000 (16:50 -0400)]
Merge 3.4

11 years agoFix typo in example (#20963)
Éric Araujo [Mon, 17 Mar 2014 20:48:13 +0000 (16:48 -0400)]
Fix typo in example (#20963)

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:23:14 +0000 (19:23 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:22:59 +0000 (19:22 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:13:27 +0000 (19:13 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:13:09 +0000 (19:13 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:01:11 +0000 (19:01 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:00:48 +0000 (19:00 +0100)]
Typo

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:23:14 +0000 (18:23 +0100)]
Remove stray semicolon

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:22:41 +0000 (18:22 +0100)]
Remove stray semicolon

11 years agoMerge fix for #20960
R David Murray [Mon, 17 Mar 2014 15:23:07 +0000 (11:23 -0400)]
Merge fix for #20960

11 years agocloses #20960
R David Murray [Mon, 17 Mar 2014 15:20:29 +0000 (11:20 -0400)]
closes #20960

11 years agomerge with 3.4
Georg Brandl [Mon, 17 Mar 2014 06:36:59 +0000 (07:36 +0100)]
merge with 3.4

11 years agomerge with 3.3
Georg Brandl [Mon, 17 Mar 2014 06:36:51 +0000 (07:36 +0100)]
merge with 3.3

11 years agoUpdate doc version switcher for 3.4/3.5.
Georg Brandl [Mon, 17 Mar 2014 06:36:45 +0000 (07:36 +0100)]
Update doc version switcher for 3.4/3.5.

11 years agoVersion bump to 3.5, step 2.
Larry Hastings [Mon, 17 Mar 2014 06:05:59 +0000 (23:05 -0700)]
Version bump to 3.5, step 2.

11 years agoVersion bump to 3.5, step 1.
Larry Hastings [Mon, 17 Mar 2014 06:02:45 +0000 (23:02 -0700)]
Version bump to 3.5, step 1.

11 years agoMerge from 3.4 into default.
Larry Hastings [Mon, 17 Mar 2014 06:01:31 +0000 (23:01 -0700)]
Merge from 3.4 into default.

11 years agoMerged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.
Larry Hastings [Mon, 17 Mar 2014 05:54:05 +0000 (22:54 -0700)]
Merged default into 3.4 branch.  3.4 branch is now effectively 3.4.1rc1.

11 years agoPost-release verion bump for 3.4.0(+).
Larry Hastings [Mon, 17 Mar 2014 03:13:07 +0000 (20:13 -0700)]
Post-release verion bump for 3.4.0(+).

11 years agomerge 3.3 (#11448)
Benjamin Peterson [Sun, 16 Mar 2014 20:56:24 +0000 (15:56 -0500)]
merge 3.3 (#11448)

11 years agoimprove set_tunnel docs (closes #11448)
Benjamin Peterson [Sun, 16 Mar 2014 20:55:39 +0000 (15:55 -0500)]
improve set_tunnel docs (closes #11448)

Patch by Ryan Kelly, karl, and Nikolaus Rath.

11 years agoIssue #20950: Fix typo asyncio doc, wait() has no self parameter
Victor Stinner [Sun, 16 Mar 2014 20:29:31 +0000 (21:29 +0100)]
Issue #20950: Fix typo asyncio doc, wait() has no self parameter

self parameter is implicit. Mention also that communicate() and wait() are
coroutines.

11 years agomerge 3.3 (#20946)
Benjamin Peterson [Sun, 16 Mar 2014 16:30:54 +0000 (11:30 -0500)]
merge 3.3 (#20946)

11 years agofix ctypes test alignment assumptions (closes #20946)
Benjamin Peterson [Sun, 16 Mar 2014 09:07:26 +0000 (10:07 +0100)]
fix ctypes test alignment assumptions (closes #20946)

Patch by Andreas Schwab.

11 years agoAdded tag v3.4.0 for changeset 04f714765c13
Larry Hastings [Sun, 16 Mar 2014 05:43:24 +0000 (22:43 -0700)]
Added tag v3.4.0 for changeset 04f714765c13

11 years agoFinal documentation fixes for 3.4.0 final. v3.4.0
Larry Hastings [Sun, 16 Mar 2014 05:43:17 +0000 (22:43 -0700)]
Final documentation fixes for 3.4.0 final.

11 years agoRelease bump for 3.4.0 final.
Larry Hastings [Sun, 16 Mar 2014 05:34:24 +0000 (22:34 -0700)]
Release bump for 3.4.0 final.

11 years agoRegenerate pydoc_topics, fix markup errors, in preparation for 3.4.0 final.
Larry Hastings [Sun, 16 Mar 2014 05:29:19 +0000 (22:29 -0700)]
Regenerate pydoc_topics, fix markup errors, in preparation for 3.4.0 final.

11 years agoMerge in all documentation changes since branching 3.4.0rc1.
Larry Hastings [Sun, 16 Mar 2014 04:13:56 +0000 (21:13 -0700)]
Merge in all documentation changes since branching 3.4.0rc1.

11 years agoBring PEP 453 What's New entry up to date
Nick Coghlan [Sun, 16 Mar 2014 03:55:19 +0000 (13:55 +1000)]
Bring PEP 453 What's New entry up to date

We changed a few details of the pip integration over the course
of the Python 3.4 beta and release candidate cycle, but I hadn't
updated the What's New entry appropriately.

The Py2/Py3 split on POSIX and the generally challenges of
dealing with parallel installs means we haven't attained
complete consistency across all environments, but hopefully
this updated text is clearer about the end result.

Relevant to issue #20909.

11 years agowhatsnew: Fix Features section title, use title/sentence case consistently.
R David Murray [Sun, 16 Mar 2014 03:27:30 +0000 (23:27 -0400)]
whatsnew: Fix Features section title, use title/sentence case consistently.

closes #20931

11 years agoIssue #20931: Fix other confusingly-worded heading.
Larry Hastings [Sun, 16 Mar 2014 03:15:55 +0000 (20:15 -0700)]
Issue #20931: Fix other confusingly-worded heading.

11 years agoClose #16665: improve documentation for hex(). Patch by Jessica McKellar.
Antoine Pitrou [Sun, 16 Mar 2014 01:13:07 +0000 (02:13 +0100)]
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.

11 years agowhatsnew: Clarify heading.
R David Murray [Sun, 16 Mar 2014 01:15:18 +0000 (21:15 -0400)]
whatsnew: Clarify heading.

11 years agoClose #16665: improve documentation for hex(). Patch by Jessica McKellar.
Antoine Pitrou [Sun, 16 Mar 2014 01:12:20 +0000 (02:12 +0100)]
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 20:24:10 +0000 (15:24 -0500)]
merge 3.3

11 years agosend people to the right editors page (#20938)
Benjamin Peterson [Sat, 15 Mar 2014 20:23:32 +0000 (15:23 -0500)]
send people to the right editors page (#20938)

11 years agoIssue #20939: merge from 3.3
Ned Deily [Sat, 15 Mar 2014 20:19:20 +0000 (13:19 -0700)]
Issue #20939: merge from 3.3

11 years agoIssue #20939: merge from 3.3
Ned Deily [Sat, 15 Mar 2014 20:19:20 +0000 (13:19 -0700)]
Issue #20939: merge from 3.3

11 years agoIssue #20939: Fix test_geturl failure in test_urllibnet due to
Ned Deily [Sat, 15 Mar 2014 20:15:31 +0000 (13:15 -0700)]
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 17:29:21 +0000 (12:29 -0500)]
merge 3.3

11 years agoremove runtime_library_dirs for _sqlite; it isn't needed
Benjamin Peterson [Sat, 15 Mar 2014 17:29:04 +0000 (12:29 -0500)]
remove runtime_library_dirs for _sqlite; it isn't needed

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 17:21:47 +0000 (12:21 -0500)]
merge 3.3

11 years agoavoid referencing past the bounds of an array
Benjamin Peterson [Sat, 15 Mar 2014 17:21:28 +0000 (12:21 -0500)]
avoid referencing past the bounds of an array

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 16:50:14 +0000 (11:50 -0500)]
merge 3.3

11 years agoonly define zero constant when it is used
Benjamin Peterson [Sat, 15 Mar 2014 16:50:00 +0000 (11:50 -0500)]
only define zero constant when it is used

11 years agoremove unused zero constants
Benjamin Peterson [Sat, 15 Mar 2014 16:49:49 +0000 (11:49 -0500)]
remove unused zero constants

11 years agoMerge: #20933: At least one place maps 'test' to 'localhost'...fix test.
R David Murray [Sat, 15 Mar 2014 16:03:02 +0000 (12:03 -0400)]
Merge: #20933: At least one place maps 'test' to 'localhost'...fix test.

11 years ago#20933: At least one place maps 'test' to 'localhost'...fix test.
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.

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 02:54:41 +0000 (21:54 -0500)]
merge 3.3

11 years agoavoid referencing out-of-bounds memory
Benjamin Peterson [Sat, 15 Mar 2014 02:54:31 +0000 (21:54 -0500)]
avoid referencing out-of-bounds memory

11 years agofix c89 declaration order
Benjamin Peterson [Sat, 15 Mar 2014 02:53:51 +0000 (21:53 -0500)]
fix c89 declaration order

11 years agomerge 3.3
Benjamin Peterson [Sat, 15 Mar 2014 02:47:36 +0000 (21:47 -0500)]
merge 3.3

11 years agodon't do pointer arithmetic with signed numbers
Benjamin Peterson [Sat, 15 Mar 2014 02:47:23 +0000 (21:47 -0500)]
don't do pointer arithmetic with signed numbers

11 years agocast negative numbers to size_t before shifting them (#20929)
Benjamin Peterson [Sat, 15 Mar 2014 01:15:29 +0000 (20:15 -0500)]
cast negative numbers to size_t before shifting them (#20929)

11 years agoReverted change introduced in edb12dad7bf6.
Vinay Sajip [Fri, 14 Mar 2014 23:13:00 +0000 (23:13 +0000)]
Reverted change introduced in edb12dad7bf6.

11 years agowhatsnew: final edit pass.
R David Murray [Fri, 14 Mar 2014 22:31:07 +0000 (18:31 -0400)]
whatsnew: final edit pass.

11 years agoAdded Doc/tools/ subdirs to .hgignore.
Vinay Sajip [Fri, 14 Mar 2014 14:20:09 +0000 (14:20 +0000)]
Added Doc/tools/ subdirs to .hgignore.

11 years agoIssue #20884: whatsnew: Frozen modules don't set __file__ anymore.
Brett Cannon [Fri, 14 Mar 2014 13:46:28 +0000 (09:46 -0400)]
Issue #20884: whatsnew: Frozen modules don't set __file__ anymore.

11 years agoCloses #20918: Added handling for exceptions during fallback output of logging except...
Vinay Sajip [Fri, 14 Mar 2014 13:42:19 +0000 (13:42 +0000)]
Closes #20918: Added handling for exceptions during fallback output of logging exceptions.

11 years agowhatsnew: link from module_spec section to Deprecation, for replacements.
R David Murray [Fri, 14 Mar 2014 02:17:28 +0000 (22:17 -0400)]
whatsnew: link from module_spec section to Deprecation, for replacements.

11 years agowhatsnew: difflib.isbjunk &c were removed, not deprecated.
R David Murray [Fri, 14 Mar 2014 01:34:54 +0000 (21:34 -0400)]
whatsnew: difflib.isbjunk &c were removed, not deprecated.

Also move NEWS item to correct position (it was in 3.3).

11 years agowhatsnew: difflib.isbjunk &c were removed, not deprecated.
R David Murray [Fri, 14 Mar 2014 01:34:54 +0000 (21:34 -0400)]
whatsnew: difflib.isbjunk &c were removed, not deprecated.

Also move NEWS item to correct position (it was in 3.3).

11 years agowhatsnew: small tweaks to codecs entry.
R David Murray [Fri, 14 Mar 2014 00:56:27 +0000 (20:56 -0400)]
whatsnew: small tweaks to codecs entry.

11 years agoMerge #7475: Remove references to '.transform' from transform codec docstrings.
R David Murray [Fri, 14 Mar 2014 00:55:09 +0000 (20:55 -0400)]
Merge #7475: Remove references to '.transform' from transform codec docstrings.

11 years ago#7475: Remove references to '.transform' from transform codec docstrings.
R David Murray [Fri, 14 Mar 2014 00:54:30 +0000 (20:54 -0400)]
#7475: Remove references to '.transform' from transform codec docstrings.

11 years agowhatsnew: linkify some pip things, and explain why non-inheriting is good.
R David Murray [Thu, 13 Mar 2014 23:53:38 +0000 (19:53 -0400)]
whatsnew: linkify some pip things, and explain why non-inheriting is good.

11 years agoRemove references to make targets deleted in eef7899ea7ab
Éric Araujo [Thu, 13 Mar 2014 23:30:43 +0000 (19:30 -0400)]
Remove references to make targets deleted in eef7899ea7ab

11 years agoClarify distutils’ clean command (ref #6142)
Éric Araujo [Thu, 13 Mar 2014 22:32:18 +0000 (18:32 -0400)]
Clarify distutils’ clean command (ref #6142)

11 years agoClarify distutils’ clean command (ref #6142)
Éric Araujo [Thu, 13 Mar 2014 20:17:11 +0000 (16:17 -0400)]
Clarify distutils’ clean command (ref #6142)

11 years agoIssue #19407: Fix typos in new distribution & installation guides.
Ned Deily [Thu, 13 Mar 2014 19:42:36 +0000 (12:42 -0700)]
Issue #19407: Fix typos in new distribution & installation guides.
Also applies to cherry pick Issue #20909.

11 years agowhatsnew: remove 'draft' note, tidy up summary, collect SSLContext stuff.
R David Murray [Thu, 13 Mar 2014 18:36:09 +0000 (14:36 -0400)]
whatsnew: remove 'draft' note, tidy up summary, collect SSLContext stuff.

Since Victor linked to it in a block, it seems to make sense to have
all the SSLContext changes next to each other.  I also sorted all the
SSL security enhancements next to each other in the security
enhancements summary.

11 years agoIssue #20908: PyMem_Malloc() must be used with PyMem_Free(), not with free()
Victor Stinner [Thu, 13 Mar 2014 18:08:10 +0000 (19:08 +0100)]
Issue #20908: PyMem_Malloc() must be used with PyMem_Free(), not with free()

11 years agoMERGE: Closes #20908: Memory leak in Reg2Py()
Jesus Cea [Thu, 13 Mar 2014 16:38:20 +0000 (17:38 +0100)]
MERGE: Closes #20908: Memory leak in Reg2Py()

11 years agoCloses #20908: Memory leak in Reg2Py()
Jesus Cea [Thu, 13 Mar 2014 16:35:32 +0000 (17:35 +0100)]
Closes #20908: Memory leak in Reg2Py()

11 years agowhatsnew: collections no longer implicitly imports 'abc' (#20784).
R David Murray [Thu, 13 Mar 2014 16:00:17 +0000 (12:00 -0400)]
whatsnew: collections no longer implicitly imports 'abc' (#20784).

11 years agowhatsnew: HTTPError.headers (#15701).
R David Murray [Thu, 13 Mar 2014 15:33:29 +0000 (11:33 -0400)]
whatsnew: HTTPError.headers (#15701).

11 years agowhatsnew: make it clear I'm the editor, not author of all text.
R David Murray [Thu, 13 Mar 2014 15:10:01 +0000 (11:10 -0400)]
whatsnew: make it clear I'm the editor, not author of all text.

11 years agoMake distutils error messages more helpful (#11599).
É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.