]> granicus.if.org Git - python/log
python
14 years agoIssue #10610: Document that int(), float(), and complex() accept numeric literals...
Raymond Hettinger [Wed, 23 Mar 2011 00:34:28 +0000 (17:34 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.

14 years agoIssue #10610: Document that int(), float(), and complex() accept numeric literals...
Raymond Hettinger [Wed, 23 Mar 2011 00:33:53 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.

14 years agoIssue #10610: Document that int(), float(), and complex() accept numeric literals...
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.

14 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
Raymond Hettinger [Tue, 22 Mar 2011 23:27:57 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.

14 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
Raymond Hettinger [Tue, 22 Mar 2011 23:27:31 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.

14 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
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.

14 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:57:03 +0000 (15:57 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

14 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:56:41 +0000 (15:56 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

14 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:55:51 +0000 (15:55 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

14 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:33:40 +0000 (15:33 -0700)]
Issue 10988: fix description of super's descriptor call.

14 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:33:02 +0000 (15:33 -0700)]
Issue 10988: fix description of super's descriptor call.

14 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.

14 years agoClean-up whitespace.
Raymond Hettinger [Tue, 22 Mar 2011 21:22:52 +0000 (14:22 -0700)]
Clean-up whitespace.

14 years agoReplace **locals() with explicit field names.
Raymond Hettinger [Tue, 22 Mar 2011 21:21:38 +0000 (14:21 -0700)]
Replace **locals() with explicit field names.

14 years agoSimplify the named tuple template by using the new string format syntax.
Raymond Hettinger [Tue, 22 Mar 2011 21:07:23 +0000 (14:07 -0700)]
Simplify the named tuple template by using the new string format syntax.

14 years agoImprove readability by replacing '\n' in template with real newlines.
Raymond Hettinger [Tue, 22 Mar 2011 20:34:03 +0000 (13:34 -0700)]
Improve readability by replacing '\n' in template with real newlines.

14 years agoIssue #11333: Add __slots__ to the collections ABCs.
Raymond Hettinger [Tue, 22 Mar 2011 18:46:25 +0000 (11:46 -0700)]
Issue #11333: Add __slots__ to the collections ABCs.

14 years agoMerge
Antoine Pitrou [Tue, 22 Mar 2011 17:34:21 +0000 (18:34 +0100)]
Merge

14 years agoMerge
Antoine Pitrou [Tue, 22 Mar 2011 17:33:33 +0000 (18:33 +0100)]
Merge

14 years agoUse shorter timings in test_concurrent_futures to make it a bit faster
Antoine Pitrou [Tue, 22 Mar 2011 17:30:30 +0000 (18:30 +0100)]
Use shorter timings in test_concurrent_futures to make it a bit faster
(it's still very slow)

14 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:19:02 +0000 (09:19 -0700)]
Issue #11625: Fix Typo

14 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:12:18 +0000 (09:12 -0700)]
Issue #11625: Fix Typo

14 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:11:39 +0000 (09:11 -0700)]
Issue #11625: Fix Typo

14 years agoIssue #11630, issue #3080: Fix refleak introduced by ef2b6305d395
Victor Stinner [Tue, 22 Mar 2011 09:46:35 +0000 (10:46 +0100)]
Issue #11630, issue #3080: Fix refleak introduced by ef2b6305d395

14 years agoIssue #11628: cmp_to_key should use __slots__.
Raymond Hettinger [Tue, 22 Mar 2011 00:54:04 +0000 (17:54 -0700)]
Issue #11628: cmp_to_key should use __slots__.

14 years agoIssue #11628: cmp_to_key should use __slots__.
Raymond Hettinger [Tue, 22 Mar 2011 00:50:28 +0000 (17:50 -0700)]
Issue #11628: cmp_to_key should use __slots__.

14 years agoIssue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file
Victor Stinner [Tue, 22 Mar 2011 00:22:27 +0000 (01:22 +0100)]
Issue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file
cannot be found.

14 years agoIssue #7330, #10833: Replace %100s by %.100s and %200s by %.200s
Victor Stinner [Tue, 22 Mar 2011 00:09:21 +0000 (01:09 +0100)]
Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200s

I suppose that the author would like to truncate the type name, not get a
string of 100/200 characters.

14 years agoFix rename spelling error.
R David Murray [Mon, 21 Mar 2011 21:36:15 +0000 (17:36 -0400)]
Fix rename spelling error.

14 years agoDummy merge to overlay fixed email.test move on top of borked move.
R David Murray [Mon, 21 Mar 2011 21:27:51 +0000 (17:27 -0400)]
Dummy merge to overlay fixed email.test move on top of borked move.

14 years agoCorrectly move email package tests to Lib/test.
R David Murray [Mon, 21 Mar 2011 21:17:06 +0000 (17:17 -0400)]
Correctly move email package tests to Lib/test.

14 years agoPrepare for move of email tests.
R David Murray [Mon, 21 Mar 2011 20:01:23 +0000 (16:01 -0400)]
Prepare for move of email tests.

14 years agoMove email tests to Lib/test package and modernize test runner machinery
R David Murray [Mon, 21 Mar 2011 19:46:55 +0000 (15:46 -0400)]
Move email tests to Lib/test package and modernize test runner machinery

14 years agoMake regrtest recognize test packages as well as test modules.
R David Murray [Mon, 21 Mar 2011 19:14:34 +0000 (15:14 -0400)]
Make regrtest recognize test packages as well as test modules.

14 years agoAlways print out the traceback when a test "crashed"
Antoine Pitrou [Mon, 21 Mar 2011 18:55:58 +0000 (19:55 +0100)]
Always print out the traceback when a test "crashed"

14 years agoAlways print out the traceback when a test "crashed"
Antoine Pitrou [Mon, 21 Mar 2011 18:55:16 +0000 (19:55 +0100)]
Always print out the traceback when a test "crashed"

14 years agoTry to make test_import a bit more robust
Antoine Pitrou [Mon, 21 Mar 2011 18:05:18 +0000 (19:05 +0100)]
Try to make test_import a bit more robust

14 years agoTry to make test_import a bit more robust
Antoine Pitrou [Mon, 21 Mar 2011 18:05:02 +0000 (19:05 +0100)]
Try to make test_import a bit more robust

14 years agoRelax timing check (seen a buildbot failure on this)
Antoine Pitrou [Mon, 21 Mar 2011 17:43:40 +0000 (18:43 +0100)]
Relax timing check (seen a buildbot failure on this)

14 years agoRelax timing check (seen a buildbot failure on this)
Antoine Pitrou [Mon, 21 Mar 2011 17:43:01 +0000 (18:43 +0100)]
Relax timing check (seen a buildbot failure on this)

14 years agoIssue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of
Victor Stinner [Mon, 21 Mar 2011 17:15:42 +0000 (18:15 +0100)]
Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of
PyOS_snprintf() to avoid temporary buffer allocated on the stack and a
conversion from bytes to Unicode.

14 years agoIssue #10833: Remove the buffer allocated on the stack, it isn't used anymore
Victor Stinner [Mon, 21 Mar 2011 17:10:02 +0000 (18:10 +0100)]
Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore

14 years agoFix timeout error message on windows to not be in milliseconds.
Reid Kleckner [Mon, 21 Mar 2011 17:06:10 +0000 (10:06 -0700)]
Fix timeout error message on windows to not be in milliseconds.

14 years agoIssue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9)
Antoine Pitrou [Mon, 21 Mar 2011 15:04:06 +0000 (16:04 +0100)]
Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9)

14 years agoIssue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of
Victor Stinner [Mon, 21 Mar 2011 12:26:24 +0000 (13:26 +0100)]
Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of
PyOS_snprintf().

14 years ago_elementtree.c: remove trailing spaces
Victor Stinner [Mon, 21 Mar 2011 12:23:42 +0000 (13:23 +0100)]
_elementtree.c: remove trailing spaces

14 years agoMerge to default.
Georg Brandl [Mon, 21 Mar 2011 07:55:42 +0000 (08:55 +0100)]
Merge to default.

14 years agoMerge to 3.2.
Georg Brandl [Mon, 21 Mar 2011 07:55:31 +0000 (08:55 +0100)]
Merge to 3.2.

14 years agoFix duplicate word.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.

14 years agomerge 3.2 (already commited before)
Victor Stinner [Mon, 21 Mar 2011 02:28:59 +0000 (03:28 +0100)]
merge 3.2 (already commited before)

14 years agomerge 3.1 (already commited before)
Victor Stinner [Mon, 21 Mar 2011 02:28:10 +0000 (03:28 +0100)]
merge 3.1 (already commited before)

14 years agoIssue #8651: PyArg_Parse*() functions raise an OverflowError if the file
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).

14 years agoFix some issue references in NEWS
Éric Araujo [Mon, 21 Mar 2011 02:18:58 +0000 (03:18 +0100)]
Fix some issue references in NEWS

14 years agoBranch merge
Éric Araujo [Mon, 21 Mar 2011 02:17:12 +0000 (03:17 +0100)]
Branch merge

14 years agoFix some issue references in NEWS
Éric Araujo [Mon, 21 Mar 2011 02:15:22 +0000 (03:15 +0100)]
Fix some issue references in NEWS

14 years agomerge 3.2
Victor Stinner [Mon, 21 Mar 2011 01:53:04 +0000 (02:53 +0100)]
merge 3.2

14 years agomerge 3.1
Victor Stinner [Mon, 21 Mar 2011 01:51:38 +0000 (02:51 +0100)]
merge 3.1

14 years agoIssue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
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.

14 years agomerge 3.2
Victor Stinner [Mon, 21 Mar 2011 01:15:18 +0000 (02:15 +0100)]
merge 3.2

14 years agotime.strftime(): replace PyErr_Format() by PyErr_SetString()
Victor Stinner [Mon, 21 Mar 2011 01:14:53 +0000 (02:14 +0100)]
time.strftime(): replace PyErr_Format() by PyErr_SetString()

The argument was not used in the format string.

14 years agomerge
Victor Stinner [Mon, 21 Mar 2011 01:12:09 +0000 (02:12 +0100)]
merge

14 years agoIssue #10864 has been fixed: remove the workaround
Victor Stinner [Mon, 21 Mar 2011 01:11:01 +0000 (02:11 +0100)]
Issue #10864 has been fixed: remove the workaround

14 years agoCloses #11210: Remove PyErr_SetFromWindowsErrWithFilenameObject() of pyerrors.h
Victor Stinner [Mon, 21 Mar 2011 00:58:55 +0000 (01:58 +0100)]
Closes #11210: Remove PyErr_SetFromWindowsErrWithFilenameObject() of pyerrors.h

PyErr_SetFromWindowsErrWithFilenameObject() was never implemented.

14 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 23:29:02 +0000 (00:29 +0100)]
Merge

14 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 23:28:52 +0000 (00:28 +0100)]
Merge

14 years agoTry to strengthen test_httpservers (issue #11617)
Antoine Pitrou [Sun, 20 Mar 2011 23:27:45 +0000 (00:27 +0100)]
Try to strengthen test_httpservers (issue #11617)

14 years agoTry to strengthen test_httpservers (issue #11617)
Antoine Pitrou [Sun, 20 Mar 2011 23:26:51 +0000 (00:26 +0100)]
Try to strengthen test_httpservers (issue #11617)

14 years agoMark getopt error messages as localizable (fixes #11371).
Éric Araujo [Sun, 20 Mar 2011 23:09:07 +0000 (00:09 +0100)]
Mark getopt error messages as localizable (fixes #11371).

Patch by Filip Gruszczyński.

14 years agoFix some issue references in NEWS
Éric Araujo [Sun, 20 Mar 2011 23:01:23 +0000 (00:01 +0100)]
Fix some issue references in NEWS

14 years agoIssue #11127: Raise a TypeError when trying to pickle a socket object.
Antoine Pitrou [Sun, 20 Mar 2011 22:56:36 +0000 (23:56 +0100)]
Issue #11127: Raise a TypeError when trying to pickle a socket object.

14 years ago(merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
Victor Stinner [Sun, 20 Mar 2011 22:37:55 +0000 (23:37 +0100)]
(merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).

14 years agoIssue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Victor Stinner [Sun, 20 Mar 2011 22:36:35 +0000 (23:36 +0100)]
Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).

14 years agomerge
Victor Stinner [Sun, 20 Mar 2011 22:25:25 +0000 (23:25 +0100)]
merge

14 years agoFix #11586: typo in initfsencoding()
Victor Stinner [Sun, 20 Mar 2011 22:23:22 +0000 (23:23 +0100)]
Fix #11586: typo in initfsencoding()

Patch written by Ray Allen.

14 years agoFix #11586: typo in initfsencoding()
Victor Stinner [Sun, 20 Mar 2011 22:09:03 +0000 (23:09 +0100)]
Fix #11586: typo in initfsencoding()

Patch written by Ray Allen.

14 years agoIssue #3080: imp.load_module() accepts None for the module path
Victor Stinner [Sun, 20 Mar 2011 21:37:17 +0000 (22:37 +0100)]
Issue #3080: imp.load_module() accepts None for the module path

imp.find_module() returns None as module path for builtin and frozen builtins.

14 years agoUse proper gettext plural forms in optparse (closes #4391).
Éric Araujo [Sun, 20 Mar 2011 18:59:25 +0000 (19:59 +0100)]
Use proper gettext plural forms in optparse (closes #4391).

Original patch by Dwayne Bailey.

14 years agotabs are verboten.
Georg Brandl [Sun, 20 Mar 2011 18:14:07 +0000 (18:14 +0000)]
tabs are verboten.

14 years agoMerge from 3.1
Éric Araujo [Sun, 20 Mar 2011 17:32:51 +0000 (18:32 +0100)]
Merge from 3.1

14 years agoMerge from 3.1
Éric Araujo [Sun, 20 Mar 2011 17:31:42 +0000 (18:31 +0100)]
Merge from 3.1

14 years agoFix typo in class name
Éric Araujo [Sun, 20 Mar 2011 17:30:37 +0000 (18:30 +0100)]
Fix typo in class name

14 years agoFix a typo (see #3080)
Éric Araujo [Sun, 20 Mar 2011 17:08:19 +0000 (18:08 +0100)]
Fix a typo (see #3080)

14 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 16:42:55 +0000 (17:42 +0100)]
Merge

14 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 16:36:26 +0000 (17:36 +0100)]
Merge

14 years agoCall reap_children() where appropriate
Antoine Pitrou [Sun, 20 Mar 2011 16:35:32 +0000 (17:35 +0100)]
Call reap_children() where appropriate

14 years agoCall reap_children() at the end of test_posix
Antoine Pitrou [Sun, 20 Mar 2011 16:33:57 +0000 (17:33 +0100)]
Call reap_children() at the end of test_posix

14 years agoIssue #11615: Fix sporadic buildbot failures related to #10812.
Ross Lagerwall [Sun, 20 Mar 2011 16:27:05 +0000 (18:27 +0200)]
Issue #11615: Fix sporadic buildbot failures related to #10812.

14 years agoMerge heads.
R David Murray [Sun, 20 Mar 2011 15:37:13 +0000 (11:37 -0400)]
Merge heads.

14 years agoMarkup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:33:17 +0000 (11:33 -0400)]
Markup fixes for #7198 patch.

Also corrected the indentation of one of the examples.

14 years agoFix the Windows timeout code.
Reid Kleckner [Sun, 20 Mar 2011 15:28:07 +0000 (08:28 -0700)]
Fix the Windows timeout code.

14 years agoMerge markup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:19:20 +0000 (11:19 -0400)]
Merge markup fixes for #7198 patch.

14 years agoMarkup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:18:21 +0000 (11:18 -0400)]
Markup fixes for #7198 patch.

14 years agoFix footnote reference.
R David Murray [Sun, 20 Mar 2011 15:08:10 +0000 (11:08 -0400)]
Fix footnote reference.

14 years agomention newline= in write doc
Skip Montanaro [Sun, 20 Mar 2011 14:50:43 +0000 (09:50 -0500)]
mention newline= in write doc

14 years agoDummy merge #7198
R David Murray [Sun, 20 Mar 2011 14:27:48 +0000 (10:27 -0400)]
Dummy merge #7198

Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.

14 years agoReally merge #7198
R David Murray [Sun, 20 Mar 2011 14:25:29 +0000 (10:25 -0400)]
Really merge #7198

Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.

14 years ago#7198: really add newline='' to csv.writer docs.
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.

14 years agoMerge with 3.2.
Ezio Melotti [Sun, 20 Mar 2011 13:34:28 +0000 (15:34 +0200)]
Merge with 3.2.

14 years agoSave a copy of sys.warnoptions in test_program.
Ezio Melotti [Sun, 20 Mar 2011 13:31:26 +0000 (15:31 +0200)]
Save a copy of sys.warnoptions in test_program.

14 years agoAdd a check for sys.warnoptions in regrtest.
Ezio Melotti [Sun, 20 Mar 2011 13:09:26 +0000 (15:09 +0200)]
Add a check for sys.warnoptions in regrtest.