]> granicus.if.org Git - python/log
python
12 years agoIssue #7353: Remove references to Include/intobject.h in the C-porting howto.
Stefan Krah [Sun, 20 Jan 2013 22:18:00 +0000 (23:18 +0100)]
Issue #7353: Remove references to Include/intobject.h in the C-porting howto.

12 years agoend is a keyword argument
Benjamin Peterson [Sun, 20 Jan 2013 15:09:44 +0000 (10:09 -0500)]
end is a keyword argument

12 years agoexpressions -> arguments
Benjamin Peterson [Sun, 20 Jan 2013 15:05:13 +0000 (10:05 -0500)]
expressions -> arguments

12 years ago#16557: update functional howto -- "return value" is valid after PEP 380. Initial...
Ezio Melotti [Sun, 20 Jan 2013 14:34:21 +0000 (16:34 +0200)]
#16557: update functional howto -- "return value" is valid after PEP 380.  Initial patch by Ramchandra Apte.

12 years ago#4153: merge with 3.2.
Ezio Melotti [Sun, 20 Jan 2013 10:18:17 +0000 (12:18 +0200)]
#4153: merge with 3.2.

12 years ago#4153: update the Unicode howto.
Ezio Melotti [Sun, 20 Jan 2013 10:16:03 +0000 (12:16 +0200)]
#4153: update the Unicode howto.

12 years agoTouch correct file in 'make touch'
Nick Coghlan [Sun, 20 Jan 2013 07:22:07 +0000 (17:22 +1000)]
Touch correct file in 'make touch'

12 years agoRemove cruft and circumvolutions from the unittest docs.
Antoine Pitrou [Sun, 20 Jan 2013 00:29:39 +0000 (01:29 +0100)]
Remove cruft and circumvolutions from the unittest docs.
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)

12 years agoremove unnecessary clearing of list
Benjamin Peterson [Sat, 19 Jan 2013 19:58:38 +0000 (14:58 -0500)]
remove unnecessary clearing of list

12 years agoFix a few typos in Misc/NEWS.
Ezio Melotti [Sat, 19 Jan 2013 17:50:34 +0000 (19:50 +0200)]
Fix a few typos in Misc/NEWS.

12 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:19:10 +0000 (12:19 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

12 years agoIssue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka [Sat, 19 Jan 2013 10:26:26 +0000 (12:26 +0200)]
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.

12 years ago#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 18 Jan 2013 17:55:46 +0000 (19:55 +0200)]
#16978: rephrase sentence and fix typo.  Initial patch by Tshepang Lekhonkhobe.

12 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:40:43 +0000 (13:40 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive

12 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:08:03 +0000 (23:08 +0100)]
Remove outdated statement

12 years agoFix docstring typo in concurrent.futures.Future
Eli Bendersky [Thu, 17 Jan 2013 14:36:30 +0000 (06:36 -0800)]
Fix docstring typo in concurrent.futures.Future

12 years agoMerge Misc/NEWS fixes from 3.2.
Ezio Melotti [Sat, 19 Jan 2013 17:54:33 +0000 (19:54 +0200)]
Merge Misc/NEWS fixes from 3.2.

12 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:21:26 +0000 (12:21 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

12 years agoIssue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka [Sat, 19 Jan 2013 10:41:45 +0000 (12:41 +0200)]
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.

12 years agoShow the function signature in the docstring
Raymond Hettinger [Sat, 19 Jan 2013 01:35:25 +0000 (17:35 -0800)]
Show the function signature in the docstring

12 years ago#16978: merge with 3.2.
Ezio Melotti [Fri, 18 Jan 2013 17:58:47 +0000 (19:58 +0200)]
#16978: merge with 3.2.

12 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:41:14 +0000 (13:41 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix)

12 years agocheck windows fd validity (closes #16992)
Benjamin Peterson [Fri, 18 Jan 2013 05:10:24 +0000 (00:10 -0500)]
check windows fd validity (closes #16992)

12 years agoIssue #11870: Skip test_3_join_in_forked_from_thread() on HP-UX.
Stefan Krah [Thu, 17 Jan 2013 22:29:54 +0000 (23:29 +0100)]
Issue #11870: Skip test_3_join_in_forked_from_thread() on HP-UX.

12 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:08:26 +0000 (23:08 +0100)]
Remove outdated statement

12 years agoIssue #16987: Fix definition of SHLIB_EXT.
Stefan Krah [Thu, 17 Jan 2013 19:41:56 +0000 (20:41 +0100)]
Issue #16987: Fix definition of SHLIB_EXT.

12 years agoIssue #14110: Fix test failures on FreeBSD if the user is in the wheel group.
Stefan Krah [Thu, 17 Jan 2013 14:31:00 +0000 (15:31 +0100)]
Issue #14110: Fix test failures on FreeBSD if the user is in the wheel group.

12 years agoFix build with 3.x gcc versions.
Stefan Krah [Thu, 17 Jan 2013 11:49:34 +0000 (12:49 +0100)]
Fix build with 3.x gcc versions.

12 years agoIssue #11729: Backport commit bff052d9 from libffi upstream in order to fix
Stefan Krah [Wed, 16 Jan 2013 22:18:34 +0000 (23:18 +0100)]
Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.

12 years agoUse unittest.main() in 3.3 and greater
Frank Wierzbicki [Wed, 16 Jan 2013 22:09:57 +0000 (14:09 -0800)]
Use unittest.main() in 3.3 and greater

12 years ago#16886: merge with 3.2
Frank Wierzbicki [Wed, 16 Jan 2013 21:56:54 +0000 (13:56 -0800)]
#16886: merge with 3.2

12 years agoClosed #16886: test_dictcomps no longer depends on dict order
Frank Wierzbicki [Wed, 16 Jan 2013 21:55:12 +0000 (13:55 -0800)]
Closed #16886: test_dictcomps no longer depends on dict order

12 years agoRemove trailing whitespace.
Stefan Krah [Wed, 16 Jan 2013 14:16:10 +0000 (15:16 +0100)]
Remove trailing whitespace.

12 years agoIncrease warning level for _decimal.so and libmpdec build when using gcc.
Stefan Krah [Wed, 16 Jan 2013 13:45:16 +0000 (14:45 +0100)]
Increase warning level for _decimal.so and libmpdec build when using gcc.

12 years agoChange NEWS entry to make it somewhat intelligible.
Stefan Krah [Wed, 16 Jan 2013 12:40:57 +0000 (13:40 +0100)]
Change NEWS entry to make it somewhat intelligible.

12 years agoIssue #16422: Use strings for rounding mode constants for better readability
Stefan Krah [Wed, 16 Jan 2013 11:58:59 +0000 (12:58 +0100)]
Issue #16422: Use strings for rounding mode constants for better readability
and pickling compatibility.

12 years agoremove warning about tb circular reference (closes #7340)
Benjamin Peterson [Tue, 15 Jan 2013 21:49:22 +0000 (16:49 -0500)]
remove warning about tb circular reference (closes #7340)

12 years agoIssue #9501: Merged fix from 3.2.
Vinay Sajip [Tue, 15 Jan 2013 17:56:43 +0000 (17:56 +0000)]
Issue #9501: Merged fix from 3.2.

12 years agoIssue #9501: Improved shutdown handling to deal with module attributes correctly.
Vinay Sajip [Tue, 15 Jan 2013 17:55:57 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.

12 years agoIssue #15861: tkinter now correctly works with lists and tuples containing
Serhiy Storchaka [Tue, 15 Jan 2013 15:58:14 +0000 (17:58 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.

12 years agoIssue #15861: tkinter now correctly works with lists and tuples containing
Serhiy Storchaka [Tue, 15 Jan 2013 15:56:08 +0000 (17:56 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.

12 years agoNull merge
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:52 +0000 (15:33 +0200)]
Null merge

12 years agoMerge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:09 +0000 (15:33 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:59 +0000 (15:32 +0200)]
Merge heads

12 years agoMerge
Richard Oudkerk [Tue, 15 Jan 2013 13:22:34 +0000 (13:22 +0000)]
Merge

12 years agoIssue #10527: Remove dead code
Richard Oudkerk [Tue, 15 Jan 2013 13:19:24 +0000 (13:19 +0000)]
Issue #10527: Remove dead code

12 years agoIssue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
Serhiy Storchaka [Tue, 15 Jan 2013 13:01:20 +0000 (15:01 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.

12 years agoIssue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
Serhiy Storchaka [Tue, 15 Jan 2013 12:43:21 +0000 (14:43 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.

12 years agoCheck for NULL before the pointer aligning in fastsearch_memchr_1char.
Serhiy Storchaka [Tue, 15 Jan 2013 11:27:28 +0000 (13:27 +0200)]
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
There is no guarantee that NULL is aligned.

12 years agoDummy merge
Richard Oudkerk [Tue, 15 Jan 2013 01:04:03 +0000 (01:04 +0000)]
Dummy merge

12 years agoIssue #10527: Use poll() instead of select() for multiprocessing pipes
Richard Oudkerk [Tue, 15 Jan 2013 01:01:01 +0000 (01:01 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes

12 years agoIssue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:38:17 +0000 (00:38 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.

12 years agoIssue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:31:39 +0000 (00:31 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.

12 years agofix for previous commit related to issue 10527 which didn't have the intended effect...
Giampaolo Rodola' [Mon, 14 Jan 2013 01:24:25 +0000 (02:24 +0100)]
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895

12 years agoIssue #16955: Fix the poll() method for multiprocessing's socket
Richard Oudkerk [Sun, 13 Jan 2013 22:46:48 +0000 (22:46 +0000)]
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.

12 years agoDescribe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 20:04:43 +0000 (22:04 +0200)]
Describe the default_namespace parameter of ElemetTree.write.

12 years agoDescribe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 19:58:04 +0000 (21:58 +0200)]
Describe the default_namespace parameter of ElemetTree.write.

12 years agoIssue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
Eli Bendersky [Sun, 13 Jan 2013 13:26:07 +0000 (05:26 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.

12 years agoMerge 3.2 and revert changes since the changes in 3.3 are a bit different
Eli Bendersky [Sun, 13 Jan 2013 13:25:17 +0000 (05:25 -0800)]
Merge 3.2 and revert changes since the changes in 3.3 are a bit different

12 years agoIssue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
Eli Bendersky [Sun, 13 Jan 2013 13:22:05 +0000 (05:22 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.

12 years agomerge heads
Eli Bendersky [Sun, 13 Jan 2013 13:17:19 +0000 (05:17 -0800)]
merge heads

12 years agoClean trailing whitespace in _elementtree.c
Eli Bendersky [Sun, 13 Jan 2013 13:14:47 +0000 (05:14 -0800)]
Clean trailing whitespace in _elementtree.c

12 years agoFix test_posix failure on NetBSD buildbots: sched_setparam() and
Charles-François Natali [Sun, 13 Jan 2013 13:10:37 +0000 (14:10 +0100)]
Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.

12 years agotest_asyncore: wait explicitly for a thread termination (this dangling thread
Charles-François Natali [Sun, 13 Jan 2013 13:08:01 +0000 (14:08 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).

12 years agotest_asyncore: wait explicitly for a thread termination (this dangling thread
Charles-François Natali [Sun, 13 Jan 2013 12:56:52 +0000 (13:56 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).

12 years agomake deque_clear void, since it's infallible
Benjamin Peterson [Sun, 13 Jan 2013 02:22:18 +0000 (21:22 -0500)]
make deque_clear void, since it's infallible

12 years agoIn test_ssl, threaded tests shouldn't need the "network" resource to be enabled
Antoine Pitrou [Sat, 12 Jan 2013 21:00:09 +0000 (22:00 +0100)]
In test_ssl, threaded tests shouldn't need the "network" resource to be enabled

12 years agoIssue #16923: Fix ResourceWarnings in test_ssl.
Antoine Pitrou [Sat, 12 Jan 2013 20:54:44 +0000 (21:54 +0100)]
Issue #16923: Fix ResourceWarnings in test_ssl.

12 years agoSSLContext.load_dh_params() now properly closes the input file.
Antoine Pitrou [Sat, 12 Jan 2013 20:43:45 +0000 (21:43 +0100)]
SSLContext.load_dh_params() now properly closes the input file.

12 years agoIssue #16829: IDLE printing no longer fails if there are spaces or other
Serhiy Storchaka [Sat, 12 Jan 2013 16:16:18 +0000 (18:16 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.

12 years agoIssue #16829: IDLE printing no longer fails if there are spaces or other
Serhiy Storchaka [Sat, 12 Jan 2013 16:13:24 +0000 (18:13 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.

12 years agoIssue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
Charles-François Natali [Sat, 12 Jan 2013 15:54:45 +0000 (16:54 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

12 years agoIssue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
Charles-François Natali [Sat, 12 Jan 2013 15:52:20 +0000 (16:52 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

12 years agoclean trailing whitespace
Eli Bendersky [Sat, 12 Jan 2013 15:44:32 +0000 (07:44 -0800)]
clean trailing whitespace

12 years agoIssues #15083 and #16992: port find.* method tests to unittest
Eli Bendersky [Sat, 12 Jan 2013 15:42:46 +0000 (07:42 -0800)]
Issues #15083 and #16992: port find.* method tests to unittest

12 years agoIssue #16076: check for return value of PyTuple_New for args (following
Eli Bendersky [Sat, 12 Jan 2013 13:42:38 +0000 (05:42 -0800)]
Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.

12 years agoIssue #16076: fix refleak in pickling of Element.
Eli Bendersky [Sat, 12 Jan 2013 13:20:16 +0000 (05:20 -0800)]
Issue #16076: fix refleak in pickling of Element.

Thanks to Ezio Melotti and Daniel Shahaf for the patch.

12 years ago#16940: merge with 3.2.
Ezio Melotti [Sat, 12 Jan 2013 08:40:24 +0000 (10:40 +0200)]
#16940: merge with 3.2.

12 years ago#16940: fix indentation in example.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.

12 years agoIssue #16933 (merge from 3.2): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:28:05 +0000 (19:28 -0800)]
Issue #16933 (merge from 3.2): Improve choices examples in argparse docs.

12 years agoIssue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:26:44 +0000 (19:26 -0800)]
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.

12 years agomerge
Brett Cannon [Fri, 11 Jan 2013 20:44:00 +0000 (15:44 -0500)]
merge

12 years agoIssue #16730: Don't raise an exception in
Brett Cannon [Fri, 11 Jan 2013 20:40:12 +0000 (15:40 -0500)]
Issue #16730: Don't raise an exception in
importlib.machinery.FileFinder when the directory has become
unreadable or a file. This brings semantics in line with Python 3.2
import.

Reported and diagnosed by David Pritchard.

12 years agoIssue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:19:07 +0000 (22:19 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.

12 years agoIssue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:18:17 +0000 (22:18 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.

12 years agoCloses #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs.
Georg Brandl [Fri, 11 Jan 2013 19:25:54 +0000 (20:25 +0100)]
Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs.

12 years agoMerge patchcheck changes with 3.2
Ezio Melotti [Fri, 11 Jan 2013 12:12:20 +0000 (14:12 +0200)]
Merge patchcheck changes with 3.2

12 years agoAdd a note about checking refleaks to patchcheck.
Ezio Melotti [Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)]
Add a note about checking refleaks to patchcheck.

12 years agoNull merge
Serhiy Storchaka [Fri, 11 Jan 2013 10:34:21 +0000 (12:34 +0200)]
Null merge

12 years agoMerge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:32:37 +0000 (12:32 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:28:53 +0000 (12:28 +0200)]
Merge heads

12 years agoIssue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Serhiy Storchaka [Fri, 11 Jan 2013 10:10:57 +0000 (12:10 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.

12 years agoIssue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Serhiy Storchaka [Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.

12 years agomerge with 3.2
Sandro Tosi [Fri, 11 Jan 2013 09:49:28 +0000 (10:49 +0100)]
merge with 3.2

12 years agogrammatical fix; thanks to Alex Rudnick from docs@
Sandro Tosi [Fri, 11 Jan 2013 09:49:00 +0000 (10:49 +0100)]
grammatical fix; thanks to Alex Rudnick from docs@

12 years ago#16154: merge with 3.2.
Ezio Melotti [Fri, 11 Jan 2013 07:12:28 +0000 (09:12 +0200)]
#16154: merge with 3.2.

12 years ago#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Ezio Melotti [Fri, 11 Jan 2013 07:09:07 +0000 (09:09 +0200)]
#16154: fix some doctests in Doc/library.  Patch by Ravi Sinha.

12 years agoIssue #16874 (merge from 3.2): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:03:42 +0000 (23:03 -0800)]
Issue #16874 (merge from 3.2): fix some documentation formatting.

12 years agoIssue #16874 (forward-port from 2.7): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:01:27 +0000 (23:01 -0800)]
Issue #16874 (forward-port from 2.7): fix some documentation formatting.

12 years ago#13899: merge with 3.2.
Ezio Melotti [Fri, 11 Jan 2013 06:43:53 +0000 (08:43 +0200)]
#13899: merge with 3.2.