]>
granicus.if.org Git - python/log
Ezio Melotti [Fri, 15 Apr 2011 04:37:00 +0000 (07:37 +0300)]
#4783: document that is not possible to use json.dump twice on the same stream.
Eli Bendersky [Fri, 15 Apr 2011 04:23:26 +0000 (07:23 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess
Senthil Kumaran [Thu, 14 Apr 2011 05:16:30 +0000 (13:16 +0800)]
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
Ezio Melotti [Thu, 14 Apr 2011 04:43:53 +0000 (07:43 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 03:41:38 +0000 (06:41 +0300)]
#9101: backport json reference in configparser doc.
Brian Curtin [Wed, 13 Apr 2011 21:04:27 +0000 (16:04 -0500)]
Remove inexistent tools
R David Murray [Wed, 13 Apr 2011 18:12:18 +0000 (14:12 -0400)]
Fix wording and clarify that the IDNA codec operates on full domain names.
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
Ezio Melotti [Wed, 13 Apr 2011 13:43:21 +0000 (16:43 +0300)]
Fix typo in docstring.
Ezio Melotti [Wed, 13 Apr 2011 04:10:13 +0000 (07:10 +0300)]
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 04:08:17 +0000 (07:08 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Wed, 13 Apr 2011 04:04:18 +0000 (07:04 +0300)]
#9233: Fix json to work properly even when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 03:58:29 +0000 (06:58 +0300)]
#9233: skip _json-specific tests when _json is not available.
Senthil Kumaran [Wed, 13 Apr 2011 01:35:37 +0000 (09:35 +0800)]
Merge updates
Senthil Kumaran [Wed, 13 Apr 2011 01:21:01 +0000 (09:21 +0800)]
Update the News for the fix to Issue11703.
R David Murray [Wed, 13 Apr 2011 01:02:45 +0000 (21:02 -0400)]
#10019: Fix regression relative to 2.6: add newlines if indent=0
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
Benjamin Peterson [Tue, 12 Apr 2011 23:34:06 +0000 (18:34 -0500)]
merge heads
Benjamin Peterson [Tue, 12 Apr 2011 23:33:28 +0000 (18:33 -0500)]
make assigning to a bytes literal a syntax error (closes #11506)
Senthil Kumaran [Tue, 12 Apr 2011 23:01:19 +0000 (07:01 +0800)]
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.
Raymond Hettinger [Tue, 12 Apr 2011 22:14:12 +0000 (15:14 -0700)]
Issue 11747: Fix output format for context diffs.
R David Murray [Tue, 12 Apr 2011 19:00:44 +0000 (15:00 -0400)]
Add maxlinelen to docstring, delete obsolete wording
Brian Curtin [Mon, 11 Apr 2011 23:35:18 +0000 (18:35 -0500)]
Correct leading spaces in my NEWS entry.
brian.curtin [Mon, 11 Apr 2011 23:09:24 +0000 (18:09 -0500)]
Add NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 22:56:23 +0000 (17:56 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).
Ned Deily [Sat, 9 Apr 2011 21:50:59 +0000 (14:50 -0700)]
Issue9670: Back out changeset
378b40d71175 ; test fails on other platforms
and on OS X with pydebug.
Ned Deily [Sat, 9 Apr 2011 19:32:12 +0000 (12:32 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)
Ross Lagerwall [Sat, 9 Apr 2011 17:30:03 +0000 (19:30 +0200)]
Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.
Victor Stinner [Sat, 9 Apr 2011 13:55:44 +0000 (15:55 +0200)]
Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
(EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
written by Charles-Francois Natali.
R David Murray [Fri, 8 Apr 2011 00:54:03 +0000 (20:54 -0400)]
#11492: fix header truncation on folding when there are runs of split chars.
Not a complete fix for this issue.
R David Murray [Fri, 8 Apr 2011 00:37:17 +0000 (20:37 -0400)]
Improve test coverage of _split_ascii method.
Barry Warsaw [Thu, 7 Apr 2011 14:40:36 +0000 (10:40 -0400)]
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH. This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).
Barry Warsaw [Wed, 6 Apr 2011 19:18:12 +0000 (15:18 -0400)]
Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
extending search paths to include multiarch directories.
Senthil Kumaran [Wed, 6 Apr 2011 04:54:06 +0000 (12:54 +0800)]
Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.
Antoine Pitrou [Tue, 5 Apr 2011 16:11:33 +0000 (18:11 +0200)]
Try to fix sporadic test_multiprocessing failure
Ross Lagerwall [Tue, 5 Apr 2011 13:34:00 +0000 (15:34 +0200)]
Issue #10963: Ensure that subprocess.communicate() never raises EPIPE.
Antoine Pitrou [Mon, 4 Apr 2011 19:59:09 +0000 (21:59 +0200)]
Try to fix sporadic failure in test_thread/test_threading
Antoine Pitrou [Mon, 4 Apr 2011 17:50:42 +0000 (19:50 +0200)]
Issue #11761: make tests for gc.get_count() less fragile
Ezio Melotti [Sun, 3 Apr 2011 13:20:21 +0000 (16:20 +0300)]
Fix typo noticed by Sandro Tosi.
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:54:13 +0000 (11:54 +0000)]
Merge 3.1
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:04:28 +0000 (11:04 +0000)]
Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has
succeeded.
Raymond Hettinger [Wed, 30 Mar 2011 00:30:01 +0000 (17:30 -0700)]
Issue 11713: clarify docstring for collections.deque()
Guido van Rossum [Tue, 29 Mar 2011 19:55:41 +0000 (12:55 -0700)]
Merge issue 11662.
guido@google.com [Tue, 29 Mar 2011 18:41:02 +0000 (11:41 -0700)]
Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
Benjamin Peterson [Mon, 28 Mar 2011 22:25:15 +0000 (17:25 -0500)]
let's keep parenthesis around sizeof
Ezio Melotti [Mon, 28 Mar 2011 10:50:41 +0000 (13:50 +0300)]
#10617: add class directives to collections ABCs.
Martin v. Löwis [Sun, 27 Mar 2011 19:05:51 +0000 (21:05 +0200)]
Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
Mark Dickinson [Sun, 27 Mar 2011 15:25:40 +0000 (16:25 +0100)]
Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.
Mark Dickinson [Sun, 27 Mar 2011 14:46:32 +0000 (15:46 +0100)]
Fix misplaced Misc/NEWS entry.
Martin v. Löwis [Sun, 27 Mar 2011 08:12:07 +0000 (10:12 +0200)]
Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
Benjamin Peterson [Sat, 26 Mar 2011 23:11:54 +0000 (18:11 -0500)]
revert unintended changes
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)
Ross Lagerwall [Sat, 26 Mar 2011 19:19:57 +0000 (21:19 +0200)]
Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.
Mark Dickinson [Sat, 26 Mar 2011 10:19:03 +0000 (10:19 +0000)]
Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Éric Araujo [Sat, 26 Mar 2011 00:55:56 +0000 (01:55 +0100)]
Branch merge
Kurt B. Kaiser [Sat, 26 Mar 2011 00:29:13 +0000 (20:29 -0400)]
<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue #4676
Éric Araujo [Fri, 25 Mar 2011 23:47:47 +0000 (00:47 +0100)]
Branch merge
Éric Araujo [Fri, 25 Mar 2011 23:47:04 +0000 (00:47 +0100)]
Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
Éric Araujo [Fri, 25 Mar 2011 20:53:58 +0000 (21:53 +0100)]
Remove untrue statement from tutorial
R David Murray [Fri, 25 Mar 2011 20:03:47 +0000 (16:03 -0400)]
#9557: eliminate 3 seconds of static overhead from test_mailbox.
This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.
Éric Araujo [Fri, 25 Mar 2011 19:31:50 +0000 (20:31 +0100)]
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
Ezio Melotti [Fri, 25 Mar 2011 12:19:30 +0000 (14:19 +0200)]
#2650: Refactor re.escape to use enumerate().
Ezio Melotti [Fri, 25 Mar 2011 12:09:33 +0000 (14:09 +0200)]
#2650: Add tests with non-ascii chars for re.escape.
Ezio Melotti [Fri, 25 Mar 2011 12:08:44 +0000 (14:08 +0200)]
#2650: Refactor the tests for re.escape.
Kurt B. Kaiser [Thu, 24 Mar 2011 17:19:35 +0000 (13:19 -0400)]
Merge 3.1
R David Murray [Thu, 24 Mar 2011 16:19:26 +0000 (12:19 -0400)]
#11606: improved body_encode algorithm, no longer produces overlong lines
Algorithm and initial patch by Michael Henry.
Kurt B. Kaiser [Thu, 24 Mar 2011 16:03:36 +0000 (12:03 -0400)]
Merge 3.1
Victor Stinner [Thu, 24 Mar 2011 15:24:07 +0000 (16:24 +0100)]
test_multiprocessing: use assertLess() to see the timeout on error
R David Murray [Wed, 23 Mar 2011 19:25:55 +0000 (15:25 -0400)]
#11590: fix quoprimime decode handling of empty strings and line endings.
R David Murray [Wed, 23 Mar 2011 18:19:05 +0000 (14:19 -0400)]
#11589: add additional tests for the email quoprimime module.
Patch by Michael Henry.
Éric Araujo [Wed, 23 Mar 2011 01:08:07 +0000 (02:08 +0100)]
Fix obscure set crashers (#8420). Backport of
d56b3cafb1e6 , reviewed by Raymond.
Raymond Hettinger [Wed, 23 Mar 2011 00:33:17 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.
Raymond Hettinger [Tue, 22 Mar 2011 23:27:02 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.
Raymond Hettinger [Tue, 22 Mar 2011 22:55:51 +0000 (15:55 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 16:11:39 +0000 (09:11 -0700)]
Issue #11625: Fix Typo
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.
Kurt B. Kaiser [Mon, 21 Mar 2011 06:13:42 +0000 (02:13 -0400)]
<Home> toggle non-functional when NumLock set
on Windows. Issue3851.
Victor Stinner [Mon, 21 Mar 2011 02:22:50 +0000 (03:22 +0100)]
Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
Éric Araujo [Sun, 20 Mar 2011 23:01:23 +0000 (00:01 +0100)]
Fix some issue references in NEWS
Victor Stinner [Mon, 21 Mar 2011 01:38:51 +0000 (02:38 +0100)]
Issue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
for expiration year greater than 2038 on 32-bit systems.
Éric Araujo [Sun, 20 Mar 2011 17:30:37 +0000 (18:30 +0100)]
Fix typo in class name
Antoine Pitrou [Sun, 20 Mar 2011 16:35:32 +0000 (17:35 +0100)]
Call reap_children() where appropriate
R David Murray [Sun, 20 Mar 2011 15:18:21 +0000 (11:18 -0400)]
Markup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 14:23:22 +0000 (10:23 -0400)]
#7198: really add newline='' to csv.writer docs.
Changeset
ab27f16f707a was messed up by a rebase (as were
959f666470cc and
9d1b1a95bc8f ) and the patch only got applied
to default.
Senthil Kumaran [Sun, 20 Mar 2011 02:44:30 +0000 (10:44 +0800)]
Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML.
Antoine Pitrou [Sat, 19 Mar 2011 16:00:37 +0000 (17:00 +0100)]
Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
Antoine Pitrou [Thu, 17 Mar 2011 21:38:37 +0000 (22:38 +0100)]
Issue #5421: Fix misleading error message when one of socket.sendto()'s
arguments has the wrong type. Patch by Nikita Vetoshkin.
Senthil Kumaran [Thu, 17 Mar 2011 09:01:45 +0000 (17:01 +0800)]
Error message in http.server code. Missed to update in 3.1 branch initially.
R David Murray [Wed, 16 Mar 2011 22:26:23 +0000 (18:26 -0400)]
#11401: handle headers with no value.
R David Murray [Wed, 16 Mar 2011 19:52:22 +0000 (15:52 -0400)]
#9298: restore proper folding of base64 encoded bodies.
Patch by Yves Dorfsman.
Jesus Cea [Wed, 16 Mar 2011 19:37:54 +0000 (20:37 +0100)]
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
Ronald Oussoren [Wed, 16 Mar 2011 13:41:32 +0000 (09:41 -0400)]
Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
Ezio Melotti [Wed, 16 Mar 2011 10:48:54 +0000 (12:48 +0200)]
Revert typo fixes in zlib/*
Ezio Melotti [Wed, 16 Mar 2011 09:05:33 +0000 (11:05 +0200)]
#11565: Fix several typos. Patch by Piotr Kasprzyk.
R David Murray [Tue, 15 Mar 2011 21:41:13 +0000 (17:41 -0400)]
#11216: document all possible set_charset execution paths.
Antoine Pitrou [Tue, 15 Mar 2011 20:17:10 +0000 (21:17 +0100)]
Fix whitespace in test_subprocess
Antoine Pitrou [Tue, 15 Mar 2011 20:11:04 +0000 (21:11 +0100)]
Merge
Benjamin Peterson [Tue, 15 Mar 2011 20:03:13 +0000 (15:03 -0500)]
make this subversion artifact empty
Antoine Pitrou [Tue, 15 Mar 2011 20:02:59 +0000 (21:02 +0100)]
On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.
R David Murray [Tue, 15 Mar 2011 18:01:18 +0000 (14:01 -0400)]
#11555: update doc for 3.x change to as_string mangle_from default.