]> granicus.if.org Git - python/log
python
11 years agoIssue #17007: Made minor changes to documentation wording.
Vinay Sajip [Mon, 21 Jan 2013 21:57:10 +0000 (21:57 +0000)]
Issue #17007: Made minor changes to documentation wording.

11 years agoIssue #17007: Improved logging documentation based on suggestions in the issue.
Vinay Sajip [Mon, 21 Jan 2013 19:44:28 +0000 (19:44 +0000)]
Issue #17007: Improved logging documentation based on suggestions in the issue.

11 years agoAdd bigmemtest decorator to test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 18:23:58 +0000 (20:23 +0200)]
Add bigmemtest decorator to test of issue #16335.

11 years agoFix memory error in test_ucn.
Serhiy Storchaka [Mon, 21 Jan 2013 10:59:13 +0000 (12:59 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.

11 years agoIssue #16335: Fix integer overflow in unicode-escape decoder.
Serhiy Storchaka [Mon, 21 Jan 2013 09:38:00 +0000 (11:38 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

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

11 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

11 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.

11 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.

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

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

11 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.

11 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

11 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.

11 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.

11 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.

11 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 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: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 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 (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 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 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 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: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 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: 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 (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: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside...
Ezio Melotti [Fri, 11 Jan 2013 06:32:01 +0000 (08:32 +0200)]
#13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]).  Patch by Matthew Barnett.

12 years agoEnable a broken test and fix it.
Ezio Melotti [Fri, 11 Jan 2013 03:54:57 +0000 (05:54 +0200)]
Enable a broken test and fix it.

12 years ago#13934: document sqlite version strings, use correct one in test.
R David Murray [Fri, 11 Jan 2013 01:18:21 +0000 (20:18 -0500)]
#13934: document sqlite version strings, use correct one in test.

12 years ago#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
R David Murray [Thu, 10 Jan 2013 16:04:09 +0000 (11:04 -0500)]
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.

The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall.  But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception.  The
sorting is still a nice idea, so the patch moves the sort into the sql.

Fix and test by Peter Otten.

12 years agoIssue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:21:57 +0000 (12:21 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:14:24 +0000 (23:14 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoFix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Serhiy Storchaka [Tue, 8 Jan 2013 20:45:42 +0000 (22:45 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:49:42 +0000 (19:49 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16884: Updated docs to use 'note' directives in a couple of places missed...
Vinay Sajip [Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)]
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.

12 years agoIssue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:32:58 +0000 (11:32 +0200)]
Issue #15845: Fix comparison between bytes and string.

12 years agoIssue #16884: updated logging documentation to include lastResort and use 'note'...
Vinay Sajip [Mon, 7 Jan 2013 14:16:52 +0000 (14:16 +0000)]
Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.

12 years ago#16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:13:10 +0000 (16:13 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.

12 years ago#16862: remove outdated statements about Stackless.
Ezio Melotti [Sat, 5 Jan 2013 05:37:47 +0000 (07:37 +0200)]
#16862: remove outdated statements about Stackless.

12 years agoCleanup a few minor things.
Ezio Melotti [Sat, 5 Jan 2013 05:36:54 +0000 (07:36 +0200)]
Cleanup a few minor things.

12 years agoFix example by making the exception inherit from Exception.
Ezio Melotti [Sat, 5 Jan 2013 04:53:27 +0000 (06:53 +0200)]
Fix example by making the exception inherit from Exception.

12 years ago#13094: add Programming FAQ entry about the behavior of closures.
Ezio Melotti [Fri, 4 Jan 2013 22:50:46 +0000 (00:50 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.

12 years agomerge heads
Benjamin Peterson [Fri, 4 Jan 2013 04:34:40 +0000 (20:34 -0800)]
merge heads

12 years agodrop email (closes #16857)
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)

12 years agoIssue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB
Victor Stinner [Thu, 3 Jan 2013 02:33:21 +0000 (03:33 +0100)]
Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB

12 years agoissue 10527: fix missing import
Giampaolo Rodola' [Thu, 3 Jan 2013 01:54:27 +0000 (02:54 +0100)]
issue 10527: fix missing import

12 years agoIssue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
Victor Stinner [Thu, 3 Jan 2013 00:50:30 +0000 (01:50 +0100)]
Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.

12 years agoIssue #16455: On FreeBSD and Solaris, if the locale is C, the
Victor Stinner [Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)]
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.

12 years agoIssue #16828: Fix error incorrectly raised by bz2.compress('').
Nadeem Vawda [Wed, 2 Jan 2013 22:02:00 +0000 (23:02 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').

Patch by Martin Packman.

12 years ago#16747: fix link to file objects in the glossary.
Ezio Melotti [Wed, 2 Jan 2013 20:29:09 +0000 (22:29 +0200)]
#16747: fix link to file objects in the glossary.

12 years agoFix method name in documentation (__setstate__ --> __getstate__)
Eli Bendersky [Wed, 2 Jan 2013 13:53:59 +0000 (05:53 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)

12 years agoFix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 09:57:22 +0000 (11:57 +0200)]
Fix incorrect grammar in Misc/NEWS.

12 years agoMerge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:32:13 +0000 (10:32 +0200)]
Merge heads

12 years agoMisc/NEWS updated to tell about #16820
Łukasz Langa [Tue, 1 Jan 2013 23:44:36 +0000 (00:44 +0100)]
Misc/NEWS updated to tell about #16820

12 years agoconfigparser: preserve section order when using `__setitem__` (issue #16820)
Łukasz Langa [Tue, 1 Jan 2013 22:45:33 +0000 (23:45 +0100)]
configparser: preserve section order when using `__setitem__` (issue #16820)

12 years agoIssue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
Victor Stinner [Tue, 1 Jan 2013 22:05:55 +0000 (23:05 +0100)]
Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
with the surrogateescape error handler, instead of UTF-8 in strict mode.

12 years agoIssue #16541: tk_setPalette() now works with keyword arguments.
Serhiy Storchaka [Tue, 1 Jan 2013 22:03:58 +0000 (00:03 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().

12 years agoIssue #16819: IDLE method completion now correctly works for bytes literals.
Serhiy Storchaka [Tue, 1 Jan 2013 20:25:59 +0000 (22:25 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.

12 years agoUpdate copyright dates in Mac plists.
Ned Deily [Tue, 1 Jan 2013 20:07:15 +0000 (12:07 -0800)]
Update copyright dates in Mac plists.

12 years agoIssue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Richard Oudkerk [Tue, 1 Jan 2013 17:29:44 +0000 (17:29 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.

12 years agoFix issue 10527: make multiprocessing use poll() instead of select() if available.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:23:09 +0000 (17:23 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.

12 years agoadded Wolfgang Scherer to acknowledgements
Łukasz Langa [Mon, 31 Dec 2012 02:40:36 +0000 (03:40 +0100)]
added Wolfgang Scherer to acknowledgements

12 years agoFixes `parser.clean()` reported in issue #16820.
Łukasz Langa [Mon, 31 Dec 2012 02:38:39 +0000 (03:38 +0100)]
Fixes `parser.clean()` reported in issue #16820.

12 years agoFixes issue #15803: incorrect `ConfigParser.items()` docstring
Łukasz Langa [Mon, 31 Dec 2012 01:18:20 +0000 (02:18 +0100)]
Fixes issue #15803: incorrect `ConfigParser.items()` docstring

12 years agoIssue #16645: Fix hardlink extracting test for tarfile.
Serhiy Storchaka [Sun, 30 Dec 2012 18:16:30 +0000 (20:16 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.

12 years agoFix docstring in curses (#16782)
Andrew Svetlov [Sat, 29 Dec 2012 21:07:50 +0000 (23:07 +0200)]
Fix docstring in curses (#16782)

12 years agoIssue #16485: Fix file descriptor not being closed if file header patching fails...
Serhiy Storchaka [Sat, 29 Dec 2012 20:30:56 +0000 (22:30 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.

12 years agoForward port new test for SSLSocket.connect_ex()
Antoine Pitrou [Fri, 28 Dec 2012 18:07:43 +0000 (19:07 +0100)]
Forward port new test for SSLSocket.connect_ex()

12 years agoBackport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_...
Antoine Pitrou [Fri, 28 Dec 2012 18:03:43 +0000 (19:03 +0100)]
Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex().

12 years agoMerge heads
Serhiy Storchaka [Fri, 28 Dec 2012 08:16:47 +0000 (10:16 +0200)]
Merge heads

12 years agoMake the from_iterable() recipe more usable.
Raymond Hettinger [Fri, 28 Dec 2012 08:03:30 +0000 (00:03 -0800)]
Make the from_iterable() recipe more usable.

The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.

The updated example drops the @classmethod decorator so that
it can be used standalone:  list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.

12 years agoIssue #16761: Raise TypeError when int() called with base argument only.
Serhiy Storchaka [Fri, 28 Dec 2012 07:42:11 +0000 (09:42 +0200)]
Issue #16761: Raise TypeError when int() called with base argument only.

12 years agoIssue #16761: Raise TypeError when int() or long() called with base argument only.
Serhiy Storchaka [Fri, 28 Dec 2012 07:31:59 +0000 (09:31 +0200)]
Issue #16761: Raise TypeError when int() or long() called with base argument only.

12 years agoIssue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
Chris Jerdonek [Fri, 28 Dec 2012 02:16:32 +0000 (18:16 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.

12 years agoIssue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Chris Jerdonek [Fri, 28 Dec 2012 02:14:01 +0000 (18:14 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.

12 years ago#16796: fix typo. Patch by Michael Schurter.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo.  Patch by Michael Schurter.

12 years ago#16796: fix typo. Patch by Michael Schurter.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo.  Patch by Michael Schurter.

12 years agoIssue #16792: Use assertIs() to test identity.
Serhiy Storchaka [Thu, 27 Dec 2012 22:44:20 +0000 (00:44 +0200)]
Issue #16792: Use assertIs() to test identity.

12 years agoIssue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.

12 years agoIssue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka [Thu, 27 Dec 2012 21:57:00 +0000 (23:57 +0200)]
Issue #16792: Mark small ints test as CPython-only.

12 years agoIssue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka [Thu, 27 Dec 2012 21:07:00 +0000 (23:07 +0200)]
Issue #16792: Mark small ints test as CPython-only.

12 years agoIssue #16790: add some of the recent issue #16045 int tests to test_long.
Chris Jerdonek [Thu, 27 Dec 2012 20:53:29 +0000 (12:53 -0800)]
Issue #16790: add some of the recent issue #16045 int tests to test_long.

This patch also provides a simple way to share tests going forward
between test_int and test_long.

12 years agoFix #16759. Convert DWORD registry values using unsigned long.
Brian Curtin [Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)]
Fix #16759. Convert DWORD registry values using unsigned long.

When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.

12 years agoMerge
Brian Curtin [Thu, 27 Dec 2012 20:12:43 +0000 (14:12 -0600)]
Merge

12 years agoFix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.
Brian Curtin [Thu, 27 Dec 2012 20:04:42 +0000 (14:04 -0600)]
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.

When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.

12 years agoNull merge.
Serhiy Storchaka [Thu, 27 Dec 2012 20:00:12 +0000 (22:00 +0200)]
Null merge.

12 years agoIssue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Serhiy Storchaka [Thu, 27 Dec 2012 19:38:04 +0000 (21:38 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.

Patch by Roger Serwy.

12 years agoIssue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Serhiy Storchaka [Thu, 27 Dec 2012 19:34:23 +0000 (21:34 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.

12 years agoIssue #16682: Replace "Python string" to "bytes object" in audioop documentation.
Serhiy Storchaka [Thu, 27 Dec 2012 18:43:36 +0000 (20:43 +0200)]
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.

12 years agoFix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
Brian Curtin [Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)]
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.

This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.

12 years agoFix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.
Brian Curtin [Thu, 27 Dec 2012 16:12:45 +0000 (10:12 -0600)]
Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.

This fixes an OverflowError seen in winreg.SetValueEx when passed
winreg.REG_DWORD values that should be supported by the underlying API.

12 years ago#16618: Add more glob regression tests
Hynek Schlawack [Thu, 27 Dec 2012 09:24:21 +0000 (10:24 +0100)]
#16618: Add more glob regression tests

Mostly about symlinks and str/unicode behavior.

Patch by Serhiy Storchaka.