]> granicus.if.org Git - python/log
python
11 years agoIssue #18103: Update README.txt and test_idle to describe and run gui tests.
Terry Jan Reedy [Sat, 29 Jun 2013 22:22:02 +0000 (18:22 -0400)]
Issue #18103: Update README.txt and test_idle to describe and run gui tests.

11 years agoIssue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.
Terry Jan Reedy [Sat, 29 Jun 2013 17:15:43 +0000 (13:15 -0400)]
Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.

11 years agoIssue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
Terry Jan Reedy [Sat, 29 Jun 2013 03:50:12 +0000 (23:50 -0400)]
Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.

11 years agoIssue #18315: Improve fileinput docs by adding 'bufsize' where missing and
Terry Jan Reedy [Fri, 28 Jun 2013 22:59:28 +0000 (18:59 -0400)]
Issue #18315: Improve fileinput docs by adding 'bufsize' where missing and
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.

11 years ago#14360: Add news item.
R David Murray [Fri, 28 Jun 2013 19:08:03 +0000 (15:08 -0400)]
#14360: Add news item.

11 years ago#14360: make encoders.encode_quopri work.
R David Murray [Thu, 27 Jun 2013 22:37:00 +0000 (18:37 -0400)]
#14360: make encoders.encode_quopri work.

There were no tests for the encoders module.  encode_base64 worked
because it is the default and so got tested implicitly elsewhere, and
we use encode_7or8bit internally, so that worked, too.  I previously
fixed encode_noop, so this fix means that everythign in the encoders
module now works, hopefully correctly.  Also added an explicit test
for encode_base64.

11 years ago#18311: fix typo.
R David Murray [Wed, 26 Jun 2013 19:11:12 +0000 (15:11 -0400)]
#18311: fix typo.

11 years agoFix time.strftime("%Y") on AIX: raise a ValueError for year > 9999
Victor Stinner [Tue, 25 Jun 2013 00:33:53 +0000 (02:33 +0200)]
Fix time.strftime("%Y") on AIX: raise a ValueError for year > 9999

time.strtime("%Y") returned "2345" when formatting year 12345.

11 years agoIssue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input
Victor Stinner [Mon, 24 Jun 2013 22:42:31 +0000 (00:42 +0200)]
Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises
a ValueError if the password is longer than 2 gigabytes. The ssl module does
not support partial write.

11 years agoIssue #18164: Clarify the embedding docs regarding link options.
Ned Deily [Mon, 24 Jun 2013 21:22:09 +0000 (14:22 -0700)]
Issue #18164: Clarify the embedding docs regarding link options.

11 years agoFix typo.
Richard Oudkerk [Mon, 24 Jun 2013 19:38:46 +0000 (20:38 +0100)]
Fix typo.

11 years agoClarify note and fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 17:12:57 +0000 (18:12 +0100)]
Clarify note and fix typo.

11 years agoIssue #15818: Typo in docs.
Richard Oudkerk [Mon, 24 Jun 2013 14:42:00 +0000 (15:42 +0100)]
Issue #15818: Typo in docs.

11 years agoIssue #18277: Document quirks of multiprocessing queue.
Richard Oudkerk [Mon, 24 Jun 2013 13:48:07 +0000 (14:48 +0100)]
Issue #18277: Document quirks of multiprocessing queue.

11 years agoFix test for GCC 3.1+ but not strict ANSI C
Christian Heimes [Mon, 24 Jun 2013 13:39:41 +0000 (15:39 +0200)]
Fix test for GCC 3.1+ but not strict ANSI C

11 years agoCheck for correct macro, code uses S_ISDIR().
Christian Heimes [Sun, 23 Jun 2013 21:51:44 +0000 (23:51 +0200)]
Check for correct macro, code uses S_ISDIR().

11 years ago#18179: reflow paragraphs.
R David Murray [Sun, 23 Jun 2013 20:05:44 +0000 (16:05 -0400)]
#18179: reflow paragraphs.

11 years ago#18179: document the local_hostname parameter.
R David Murray [Sun, 23 Jun 2013 19:47:50 +0000 (15:47 -0400)]
#18179: document the local_hostname parameter.

Original patch by Berker Peksag.

11 years agoMerge heads
Serhiy Storchaka [Sun, 23 Jun 2013 17:25:40 +0000 (20:25 +0300)]
Merge heads

11 years agoIssue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
Serhiy Storchaka [Sun, 23 Jun 2013 17:12:14 +0000 (20:12 +0300)]
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.

11 years agoFixed issue #18260: configparser TypeError on source name specified as bytes
Łukasz Langa [Sun, 23 Jun 2013 17:10:25 +0000 (19:10 +0200)]
Fixed issue #18260: configparser TypeError on source name specified as bytes

11 years agoSolaris' /dev/null is a symlink. The device test now uses stat instead of lstat to...
Christian Heimes [Sun, 23 Jun 2013 14:10:29 +0000 (16:10 +0200)]
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.

11 years agoIssue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
Victor Stinner [Sun, 23 Jun 2013 13:08:23 +0000 (15:08 +0200)]
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.

11 years ago_ssl.c: strip trailing spaces
Victor Stinner [Sun, 23 Jun 2013 12:58:43 +0000 (14:58 +0200)]
_ssl.c: strip trailing spaces

11 years agoIssue #18137: Detect integer overflow on precision in float.__format__() and
Victor Stinner [Sun, 23 Jun 2013 12:54:30 +0000 (14:54 +0200)]
Issue #18137: Detect integer overflow on precision in float.__format__() and
complex.__format__().

11 years agoCloses #18220: expand itertools.islice docstring to 2 lines
Andrew Kuchling [Sat, 22 Jun 2013 23:20:54 +0000 (19:20 -0400)]
Closes #18220: expand itertools.islice docstring to 2 lines

11 years agoClose #18285: add 'repeat' parameter to docstring for product
Andrew Kuchling [Sat, 22 Jun 2013 23:04:11 +0000 (19:04 -0400)]
Close #18285: add 'repeat' parameter to docstring for product

11 years ago#18151, part 2: Silence debug build resource warning for each file opened by
Terry Jan Reedy [Sat, 22 Jun 2013 22:26:51 +0000 (18:26 -0400)]
#18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.

11 years ago#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
Andrew Kuchling [Sat, 22 Jun 2013 18:50:56 +0000 (14:50 -0400)]
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again

Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.

11 years agoBSD: block devices are gone
Christian Heimes [Sat, 22 Jun 2013 12:48:32 +0000 (14:48 +0200)]
BSD: block devices are gone
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html

11 years agoIssue #18278: properly document how the loaders are called for FileFinder
Brett Cannon [Fri, 21 Jun 2013 22:31:55 +0000 (18:31 -0400)]
Issue #18278: properly document how the loaders are called for FileFinder

11 years agoFix test_stat on BSD, /dev/da0 and /dev/ad0 are links
Christian Heimes [Fri, 21 Jun 2013 16:53:13 +0000 (18:53 +0200)]
Fix test_stat on BSD, /dev/da0 and /dev/ad0 are links

11 years agoAdd tests for untested features of the 'stat' module (part of issue #11016)
Christian Heimes [Fri, 21 Jun 2013 16:25:56 +0000 (18:25 +0200)]
Add tests for untested features of the 'stat' module (part of issue #11016)

11 years agoCloses #18218: use correct variable name for starting point
Andrew Kuchling [Fri, 21 Jun 2013 12:00:58 +0000 (08:00 -0400)]
Closes #18218: use correct variable name for starting point

11 years agoCloses #18239: correct description of count() in module docstring
Andrew Kuchling [Fri, 21 Jun 2013 11:58:35 +0000 (07:58 -0400)]
Closes #18239: correct description of count() in module docstring

11 years agoCloses #18267: use floor division in code example
Andrew Kuchling [Fri, 21 Jun 2013 01:33:05 +0000 (21:33 -0400)]
Closes #18267: use floor division in code example

11 years agoCloses #18272: use 'builtins' for 3.3 instead of __builtin__
Andrew Kuchling [Fri, 21 Jun 2013 01:17:41 +0000 (21:17 -0400)]
Closes #18272: use 'builtins' for 3.3 instead of __builtin__

11 years ago#4153: update Unicode howto for Python 3.3
Andrew Kuchling [Thu, 20 Jun 2013 13:29:09 +0000 (09:29 -0400)]
#4153: update Unicode howto for Python 3.3

* state that python3 source encoding is UTF-8, and give examples

* mention surrogateescape in the 'tips and tricks' section, and
  backslashreplace in the "Python's Unicode Support" section.

* Describe Unicode support provided by the re module.

* link to Nick Coghlan's and Ned Batchelder's notes/presentations.

* default filesystem encoding is now UTF-8, not ascii.

* Describe StreamRecoder class.

* update acks section

* remove usage of "I think", "I'm not going to", etc.

* various edits

* remove revision history and original outline

11 years agoAdd -b and -X options to python man page.
Senthil Kumaran [Thu, 20 Jun 2013 03:19:46 +0000 (22:19 -0500)]
Add -b and -X options to python man page.
Patch contributed by Corey Brune.

11 years agoTweak programming faq examples so that it (mostly) passes doctest.
R David Murray [Wed, 19 Jun 2013 20:58:26 +0000 (16:58 -0400)]
Tweak programming faq examples so that it (mostly) passes doctest.

The exception is the import related questions at the end, which
need to be rewritten anyway.

11 years agofix libffi build on AIX (closes #18248)
Benjamin Peterson [Wed, 19 Jun 2013 16:01:42 +0000 (09:01 -0700)]
fix libffi build on AIX (closes #18248)

11 years agoIssue #18202: Fix minor bugs and cleanup test_coding.py.
Serhiy Storchaka [Wed, 19 Jun 2013 07:23:35 +0000 (10:23 +0300)]
Issue #18202: Fix minor bugs and cleanup test_coding.py.

11 years agofixed libffi on PPC without __NO_FPRS__
Christian Heimes [Wed, 19 Jun 2013 00:40:38 +0000 (02:40 +0200)]
fixed libffi on PPC without __NO_FPRS__
ISO C90 forbids mixed declarations and code

11 years agomerge heads
Christian Heimes [Wed, 19 Jun 2013 00:09:00 +0000 (02:09 +0200)]
merge heads

11 years agoIssue #18259: Declare sethostname in socketmodule.c for AIX
Christian Heimes [Wed, 19 Jun 2013 00:06:29 +0000 (02:06 +0200)]
Issue #18259: Declare sethostname in socketmodule.c for AIX

11 years agoIssue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
Antoine Pitrou [Tue, 18 Jun 2013 20:17:48 +0000 (22:17 +0200)]
Issue #18256: Compilation fix for recent AIX releases.  Patch by David Edelsohn.

11 years agoFix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's...
Christian Heimes [Tue, 18 Jun 2013 11:22:17 +0000 (13:22 +0200)]
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available

11 years agotest_faulthandler: use _sigsegv() instead of _read_null()
Victor Stinner [Mon, 17 Jun 2013 21:37:59 +0000 (23:37 +0200)]
test_faulthandler: use _sigsegv() instead of _read_null()

faulthandler._read_null() is not reliable: it does not crash on AIX.

11 years agoctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Victor Stinner [Mon, 17 Jun 2013 20:01:53 +0000 (22:01 +0200)]
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()

11 years agoIssue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX
Victor Stinner [Mon, 17 Jun 2013 19:51:56 +0000 (21:51 +0200)]
Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX

sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on
AIX.

11 years agoregrtest.py: Fix another typo in the usage of the faulthandler module
Victor Stinner [Mon, 17 Jun 2013 18:35:08 +0000 (20:35 +0200)]
regrtest.py: Fix another typo in the usage of the faulthandler module

11 years agoregrtest.py: Fix typo in the usage of the faulthandler module
Victor Stinner [Mon, 17 Jun 2013 18:27:10 +0000 (20:27 +0200)]
regrtest.py: Fix typo in the usage of the faulthandler module

11 years agoIssue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
Serhiy Storchaka [Mon, 17 Jun 2013 13:34:41 +0000 (16:34 +0300)]
Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
when \r\n appears at end of 65535 bytes without other newlines.

11 years agoIssue #18223: Refactor test_tarfile.
Serhiy Storchaka [Mon, 17 Jun 2013 12:38:50 +0000 (15:38 +0300)]
Issue #18223: Refactor test_tarfile.

* Use mixins for generating tests for different compression types.
* Make test_tarfile discoverable.
* Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue.
* Add explicit test skips instead of reporting skipped tests as passed.
* Wrap long lines.
* Correct a comment for test_hardlink_extraction1.
* Add support.requires_gzip.

and some other minor enhancements.

11 years agomerge
Brett Cannon [Sun, 16 Jun 2013 23:07:16 +0000 (19:07 -0400)]
merge

11 years agoFix a misnaming of a method and an argument
Brett Cannon [Sun, 16 Jun 2013 23:06:55 +0000 (19:06 -0400)]
Fix a misnaming of a method and an argument

11 years agoDescribe 'surrogateescape' in the documentation.
Andrew Kuchling [Sun, 16 Jun 2013 16:58:48 +0000 (12:58 -0400)]
Describe 'surrogateescape' in the documentation.

Also, improve some docstring descriptions of the 'errors' parameter.

Closes #14015.

11 years agonews entry for subprocess double close fix.
Gregory P. Smith [Sun, 16 Jun 2013 01:05:17 +0000 (18:05 -0700)]
news entry for subprocess double close fix.

11 years agoPrevent a possible double close of parent pipe fds when the subprocess
Gregory P. Smith [Sun, 16 Jun 2013 01:04:26 +0000 (18:04 -0700)]
Prevent a possible double close of parent pipe fds when the subprocess
exec runs into an error.  Prevent a regular multi-close of the /dev/null
fd when any of stdin, stdout and stderr was set to DEVNULL.

11 years ago#18113: Objects associated to a curses.panel object with set_userptr() were leaked.
Andrew Kuchling [Sat, 15 Jun 2013 18:04:04 +0000 (14:04 -0400)]
#18113: Objects associated to a curses.panel object with set_userptr() were leaked.

Reported by Atsuo Ishimoto.

11 years agoDrop some dead imports of imp
Brett Cannon [Sat, 15 Jun 2013 17:37:12 +0000 (13:37 -0400)]
Drop some dead imports of imp

11 years agoIssue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows
Christian Heimes [Fri, 14 Jun 2013 13:40:28 +0000 (15:40 +0200)]
Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows

11 years agoAdd tests for issue #18183.
Serhiy Storchaka [Wed, 12 Jun 2013 06:20:44 +0000 (09:20 +0300)]
Add tests for issue #18183.

11 years ago#18196: Avoid displaying spurious SystemExit tracebacks.
Roger Serwy [Wed, 12 Jun 2013 03:25:14 +0000 (22:25 -0500)]
#18196: Avoid displaying spurious SystemExit tracebacks.

11 years ago#5492: Avoid traceback when exiting IDLE caused by a race condition.
Roger Serwy [Wed, 12 Jun 2013 03:13:17 +0000 (22:13 -0500)]
#5492: Avoid traceback when exiting IDLE caused by a race condition.

11 years agoIssue #18187: Fix broken link in venv documentation. Patch by Berker Peksag.
Ned Deily [Tue, 11 Jun 2013 21:38:39 +0000 (14:38 -0700)]
Issue #18187: Fix broken link in venv documentation. Patch by Berker Peksag.

11 years ago#17511: Keep IDLE find dialog open after clicking "Find Next".
Roger Serwy [Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)]
#17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.

11 years agoremove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see...
Benjamin Peterson [Mon, 10 Jun 2013 16:19:46 +0000 (09:19 -0700)]
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183)

11 years agoIssue #18174: Fix fd leaks in tests.
Richard Oudkerk [Mon, 10 Jun 2013 15:29:19 +0000 (16:29 +0100)]
Issue #18174: Fix fd leaks in tests.

11 years agoIssue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().
Richard Oudkerk [Mon, 10 Jun 2013 14:38:54 +0000 (15:38 +0100)]
Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().

11 years agoEnsure that the fix for #17269 also works on OSX 10.4
Ronald Oussoren [Mon, 10 Jun 2013 08:36:28 +0000 (10:36 +0200)]
Ensure that the fix for #17269 also works on OSX 10.4

AI_NUMERICSERV isn't defined on OSX 10.4.

11 years agoIssue #16102: Make uuid._netbios_getnode() work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 18:08:05 +0000 (21:08 +0300)]
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.

11 years agoIssue #15239: Make mkstringprep.py work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 14:08:00 +0000 (17:08 +0300)]
Issue #15239: Make mkstringprep.py work again on Python 3.

11 years agoIssue #18038: SyntaxError raised during compilation sources with illegal
Serhiy Storchaka [Sun, 9 Jun 2013 13:51:52 +0000 (16:51 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.

11 years ago#18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.
Ezio Melotti [Sat, 8 Jun 2013 22:04:21 +0000 (01:04 +0300)]
#18126: update NumPy links in the documentation.  Patch by Yury V. Zaytsev.

11 years ago#17691: test_univnewlines now works with unittest test discovery. Patch by Zachary...
Ezio Melotti [Sat, 8 Jun 2013 21:07:06 +0000 (00:07 +0300)]
#17691: test_univnewlines now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
Terry Jan Reedy [Sat, 8 Jun 2013 04:22:45 +0000 (00:22 -0400)]
#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).

11 years agoIssue #18055: Move to importlib from imp for IDLE.
Brett Cannon [Fri, 7 Jun 2013 17:17:48 +0000 (13:17 -0400)]
Issue #18055: Move to importlib from imp for IDLE.

11 years agoIssue 18130: delete extra spaces
Terry Jan Reedy [Wed, 5 Jun 2013 18:36:33 +0000 (14:36 -0400)]
Issue 18130: delete extra spaces

11 years agoIssue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Terry Jan Reedy [Wed, 5 Jun 2013 18:22:26 +0000 (14:22 -0400)]
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.

11 years agoClose #18109: os.uname() now decodes fields from the locale encoding, and
Victor Stinner [Mon, 3 Jun 2013 20:07:27 +0000 (22:07 +0200)]
Close #18109: os.uname() now decodes fields from the locale encoding, and
socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode.

11 years agoFix #17967 - Fix related to regression on Windows.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:47 +0000 (11:59 -0700)]
Fix #17967 - Fix related to regression on Windows.

os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.

11 years agoClarify which dictionaries are updateable
Raymond Hettinger [Sun, 2 Jun 2013 17:03:05 +0000 (10:03 -0700)]
Clarify which dictionaries are updateable
by using the wording from the Py2.7 docs.

11 years agoFix thishost helper funtion in urllib. Returns the ipaddress of localhost when
Senthil Kumaran [Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)]
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.

11 years agoFix #17967: For ftp urls CWD to target instead of hopping to each directory
Senthil Kumaran [Sat, 1 Jun 2013 15:27:06 +0000 (08:27 -0700)]
Fix #17967: For ftp urls CWD to target instead of hopping to each directory
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.

11 years agoIssue #18094: test_uuid no more reports skipped tests as passed.
Serhiy Storchaka [Fri, 31 May 2013 19:31:02 +0000 (22:31 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.

11 years agoIssue #15392: Finish news entry.
Terry Jan Reedy [Fri, 31 May 2013 00:55:52 +0000 (20:55 -0400)]
Issue #15392: Finish news entry.

11 years agoSupport multiarch build in tests.
Stefan Krah [Wed, 29 May 2013 18:58:19 +0000 (20:58 +0200)]
Support multiarch build in tests.

11 years agoBackport bff16086f03b and bcaaaa00425b.
Stefan Krah [Wed, 29 May 2013 17:14:17 +0000 (19:14 +0200)]
Backport bff16086f03b and bcaaaa00425b.

11 years agoIssue #17768: Support newline fill character in decimal.py and NUL fill
Stefan Krah [Wed, 29 May 2013 13:45:38 +0000 (15:45 +0200)]
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.

11 years ago#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
Senthil Kumaran [Wed, 29 May 2013 12:54:31 +0000 (05:54 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.

11 years agoIssue #15392: Do not run tests if threading/_thread not available. Otherwise
Terry Jan Reedy [Wed, 29 May 2013 02:21:53 +0000 (22:21 -0400)]
Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.

11 years agoIssue #18080: When building a C extension module on OS X, if the compiler
Ned Deily [Tue, 28 May 2013 23:35:30 +0000 (16:35 -0700)]
Issue #18080: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden.  This restores
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.

11 years agoIssue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 19:46:15 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.

11 years agoIssue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
Serhiy Storchaka [Tue, 28 May 2013 13:24:45 +0000 (16:24 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.

11 years agoIssue #17746: Skip test_shutil.test_non_matching_mode when run as root or
Serhiy Storchaka [Tue, 28 May 2013 12:50:15 +0000 (15:50 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.

11 years agoIssue #18011: base64.b32decode() now raises a binascii.Error if there are
Serhiy Storchaka [Tue, 28 May 2013 12:27:29 +0000 (15:27 +0300)]
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.

11 years agoIssue #18079: Fix a typo in the tutorial.
Serhiy Storchaka [Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)]
Issue #18079: Fix a typo in the tutorial.

11 years agoUse simple call to os.symlink for broken link (intended for previous commit)
Jason R. Coombs [Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)]
Use simple call to os.symlink for broken link (intended for previous commit)

11 years agoIssue #13772: Restored directory detection of targets in `os.symlink` on Windows...
Jason R. Coombs [Tue, 28 May 2013 03:21:28 +0000 (23:21 -0400)]
Issue #13772: Restored directory detection of targets in `os.symlink` on Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.