]> granicus.if.org Git - python/log
python
11 years agomerge with 3.4
Georg Brandl [Sun, 23 Mar 2014 22:04:45 +0000 (23:04 +0100)]
merge with 3.4

11 years agotutorial: no "linux2" sys.platform on 3.x (thanks Arfrever)
Georg Brandl [Sun, 23 Mar 2014 22:03:59 +0000 (23:03 +0100)]
tutorial: no "linux2" sys.platform on 3.x (thanks Arfrever)

11 years agoIssue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
Antoine Pitrou [Sun, 23 Mar 2014 21:55:40 +0000 (22:55 +0100)]
Issue #19537: Fix PyUnicode_DATA() alignment under m68k.  Patch by Andreas Schwab.

11 years agoIssue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
Antoine Pitrou [Sun, 23 Mar 2014 21:55:03 +0000 (22:55 +0100)]
Issue #19537: Fix PyUnicode_DATA() alignment under m68k.  Patch by Andreas Schwab.

11 years ago#20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
R David Murray [Sun, 23 Mar 2014 19:08:43 +0000 (15:08 -0400)]
#20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.

Previously a non-string, non-regex second argument could cause the test
to always pass.

Initial patch by Kamilla Holanda.

11 years agoMerge 3.4.
Richard Oudkerk [Sun, 23 Mar 2014 18:53:53 +0000 (18:53 +0000)]
Merge 3.4.

11 years agoIssue #20990: Correction for 619331c67638.
Richard Oudkerk [Sun, 23 Mar 2014 18:44:11 +0000 (18:44 +0000)]
Issue #20990: Correction for 619331c67638.

11 years agoMerge #20976: remove unneeded quopri import in email.utils.
R David Murray [Sun, 23 Mar 2014 18:24:44 +0000 (14:24 -0400)]
Merge #20976: remove unneeded quopri import in email.utils.

11 years ago#20976: remove unneeded quopri import in email.utils.
R David Murray [Sun, 23 Mar 2014 18:18:44 +0000 (14:18 -0400)]
#20976: remove unneeded quopri import in email.utils.

11 years agoIssue #20913: make it clear that create_default_context() also enables hostname checking
Antoine Pitrou [Sun, 23 Mar 2014 15:31:34 +0000 (16:31 +0100)]
Issue #20913: make it clear that create_default_context() also enables hostname checking

11 years agoIssue #20913: make it clear that create_default_context() also enables hostname checking
Antoine Pitrou [Sun, 23 Mar 2014 15:31:08 +0000 (16:31 +0100)]
Issue #20913: make it clear that create_default_context() also enables hostname checking

11 years agoMerge 3.4.
Richard Oudkerk [Sun, 23 Mar 2014 12:53:48 +0000 (12:53 +0000)]
Merge 3.4.

11 years agoMerge 3.3.
Richard Oudkerk [Sun, 23 Mar 2014 12:52:16 +0000 (12:52 +0000)]
Merge 3.3.

11 years agoIssue #20633: Replace relative import by absolute import.
Richard Oudkerk [Sun, 23 Mar 2014 12:42:28 +0000 (12:42 +0000)]
Issue #20633: Replace relative import by absolute import.

11 years agoMerge 3.4.
Richard Oudkerk [Sun, 23 Mar 2014 12:32:12 +0000 (12:32 +0000)]
Merge 3.4.

11 years agoIssue #20980: Stop wrapping exception when using ThreadPool.
Richard Oudkerk [Sun, 23 Mar 2014 12:30:54 +0000 (12:30 +0000)]
Issue #20980: Stop wrapping exception when using ThreadPool.

11 years agoMerge 3.4.
Richard Oudkerk [Sun, 23 Mar 2014 11:57:01 +0000 (11:57 +0000)]
Merge 3.4.

11 years agoIssue #20990: Fix issues found by pyflakes for multiprocessing.
Richard Oudkerk [Sun, 23 Mar 2014 11:54:15 +0000 (11:54 +0000)]
Issue #20990: Fix issues found by pyflakes for multiprocessing.

11 years agomerge with 3.4
Georg Brandl [Sat, 22 Mar 2014 19:39:08 +0000 (20:39 +0100)]
merge with 3.4

11 years agoCloses #20975: make date in the interpreter banner a little more consistent
Georg Brandl [Sat, 22 Mar 2014 19:38:11 +0000 (20:38 +0100)]
Closes #20975: make date in the interpreter banner a little more consistent

11 years agoIssue #20913: improve the SSL security considerations to first advocate using create_...
Antoine Pitrou [Sat, 22 Mar 2014 17:19:36 +0000 (18:19 +0100)]
Issue #20913: improve the SSL security considerations to first advocate using create_default_context().

11 years agoIssue #20913: improve the SSL security considerations to first advocate using create_...
Antoine Pitrou [Sat, 22 Mar 2014 17:19:11 +0000 (18:19 +0100)]
Issue #20913: improve the SSL security considerations to first advocate using create_default_context().

11 years agoIssue #21015: SSL contexts will now automatically select an elliptic curve for ECDH...
Antoine Pitrou [Sat, 22 Mar 2014 17:14:57 +0000 (18:14 +0100)]
Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".

(should also fix a buildbot failure introduced by #20995)

11 years agoIssue #21015: SSL contexts will now automatically select an elliptic curve for ECDH...
Antoine Pitrou [Sat, 22 Mar 2014 17:13:50 +0000 (18:13 +0100)]
Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".

(should also fix a buildbot failure introduced by #20995)

11 years agoIssue #21017: Enable Tix debug build on Windows
Zachary Ware [Sat, 22 Mar 2014 15:37:06 +0000 (10:37 -0500)]
Issue #21017: Enable Tix debug build on Windows

11 years agoIssue #15968: Temporarily revert change to PCbuild/rt.bat
Zachary Ware [Sat, 22 Mar 2014 05:36:25 +0000 (00:36 -0500)]
Issue #15968: Temporarily revert change to PCbuild/rt.bat
to prevent buildbot failures on test_idle.  This change
should go back in once #20035 is fixed.

11 years agoimprove the command-line interface of json.tool (closes #21000)
Benjamin Peterson [Sat, 22 Mar 2014 04:17:29 +0000 (23:17 -0500)]
improve the command-line interface of json.tool (closes #21000)

A patch from Berker Peksag.

11 years agoIssue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build
Zachary Ware [Sat, 22 Mar 2014 03:58:19 +0000 (22:58 -0500)]
Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build
solution.

Currently, Tix is not built in Debug configuration.

This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
  they will always be available after a build without having to copy
  them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
  needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
  the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64

11 years agoFix an incomplete merge of Misc/NEWS
Donald Stufft [Sat, 22 Mar 2014 01:49:38 +0000 (21:49 -0400)]
Fix an incomplete merge of Misc/NEWS

11 years agoMerge changes from 3.4 to bring in fixes for Issue #20995
Donald Stufft [Sat, 22 Mar 2014 01:38:50 +0000 (21:38 -0400)]
Merge changes from 3.4 to bring in fixes for Issue #20995

11 years agoIssue #20995: Enhance default ciphers used by the ssl module
Donald Stufft [Sat, 22 Mar 2014 01:33:34 +0000 (21:33 -0400)]
Issue #20995: Enhance default ciphers used by the ssl module

Closes #20995 by Enabling better security by prioritizing ciphers
such that:

* Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE)
* Prefer ECDHE over DHE for better performance
* Prefer any AES-GCM over any AES-CBC for better performance and security
* Then Use HIGH cipher suites as a fallback
* Then Use 3DES as fallback which is secure but slow
* Finally use RC4 as a fallback which is problematic but needed for
  compatibility some times.
* Disable NULL authentication, NULL encryption, and MD5 MACs for security
  reasons

11 years ago(Merge 3.4) Close #21010: Fix typo in asyncio doc. Patch written by Claudiu
Victor Stinner [Fri, 21 Mar 2014 16:17:28 +0000 (17:17 +0100)]
(Merge 3.4) Close #21010: Fix typo in asyncio doc. Patch written by Claudiu
Popa.

11 years agoClose #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa.
Victor Stinner [Fri, 21 Mar 2014 16:17:15 +0000 (17:17 +0100)]
Close #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa.

11 years agoNull merge (I transplated 2 commits from default to 3.4)
Victor Stinner [Fri, 21 Mar 2014 16:16:10 +0000 (17:16 +0100)]
Null merge (I transplated 2 commits from default to 3.4)

11 years agoIssue #20627: xmlrpc.client.ServerProxy is now a context manager.
Brett Cannon [Fri, 21 Mar 2014 15:24:40 +0000 (11:24 -0400)]
Issue #20627: xmlrpc.client.ServerProxy is now a context manager.

Patch by Claudiu Popa.

11 years agomerge
Brett Cannon [Fri, 21 Mar 2014 15:03:07 +0000 (11:03 -0400)]
merge

11 years agomerge
Brett Cannon [Fri, 21 Mar 2014 15:02:10 +0000 (11:02 -0400)]
merge

11 years agoMerge for issue #20884
Brett Cannon [Fri, 21 Mar 2014 15:01:02 +0000 (11:01 -0400)]
Merge for issue #20884

11 years agoIssue #20884: Don't assume in importlib.__init__ that __file__ is
Brett Cannon [Fri, 21 Mar 2014 14:58:33 +0000 (10:58 -0400)]
Issue #20884: Don't assume in importlib.__init__ that __file__ is
defined.

11 years agoIssue #19165: The formatter module graduates to full deprecation.
Brett Cannon [Fri, 21 Mar 2014 14:52:33 +0000 (10:52 -0400)]
Issue #19165: The formatter module graduates to full deprecation.

11 years agoIssue19995: more informative error message; spelling corrections; use operator.mod...
Ethan Furman [Fri, 21 Mar 2014 13:38:46 +0000 (06:38 -0700)]
Issue19995: more informative error message; spelling corrections; use operator.mod instead of __mod__

11 years agoIssue #10141, Issue 20065: Merged from 3.4.
Vinay Sajip [Fri, 21 Mar 2014 11:45:27 +0000 (11:45 +0000)]
Issue #10141, Issue 20065: Merged from 3.4.

11 years agoIssue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
Vinay Sajip [Fri, 21 Mar 2014 11:44:32 +0000 (11:44 +0000)]
Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.

11 years agoIssue #21006: Fix subprocess example on Windows in asyncio doc
Victor Stinner [Fri, 21 Mar 2014 10:56:40 +0000 (11:56 +0100)]
Issue #21006: Fix subprocess example on Windows in asyncio doc

11 years agoIssue #21006: Fix subprocess example on Windows in asyncio doc
Victor Stinner [Fri, 21 Mar 2014 10:56:40 +0000 (11:56 +0100)]
Issue #21006: Fix subprocess example on Windows in asyncio doc

11 years agoClose #21005: Fix documentation of asyncio.subprocess.DEVNULL
Victor Stinner [Fri, 21 Mar 2014 10:44:49 +0000 (11:44 +0100)]
Close #21005: Fix documentation of asyncio.subprocess.DEVNULL

11 years agoClose #21005: Fix documentation of asyncio.subprocess.DEVNULL
Victor Stinner [Fri, 21 Mar 2014 10:44:49 +0000 (11:44 +0100)]
Close #21005: Fix documentation of asyncio.subprocess.DEVNULL

11 years agoasyncio: Ensure call_soon(), call_later() and call_at() are invoked on current
Victor Stinner [Fri, 21 Mar 2014 09:00:52 +0000 (10:00 +0100)]
asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current
loop in debug mode. Raise a RuntimeError if the event loop of the current
thread is different.  The check should help to debug thread-safetly issue.
Patch written by David Foster.

11 years agoremove the ability of datetime.time to be considered false (closes #13936)
Benjamin Peterson [Thu, 20 Mar 2014 23:00:35 +0000 (18:00 -0500)]
remove the ability of datetime.time to be considered false (closes #13936)

11 years agomerge heads
Giampaolo Rodola' [Thu, 20 Mar 2014 20:44:53 +0000 (21:44 +0100)]
merge heads

11 years agoFix issue 18931: selectors module now supports /dev/poll on Solaris.
Giampaolo Rodola' [Thu, 20 Mar 2014 20:43:41 +0000 (21:43 +0100)]
Fix issue 18931: selectors module now supports /dev/poll on Solaris.

11 years ago#20744: don't try running an external 'zip' in shutil.make_archive()
Andrew Kuchling [Thu, 20 Mar 2014 20:11:16 +0000 (16:11 -0400)]
#20744: don't try running an external 'zip' in shutil.make_archive()

Instead we'll just use the stdlib zipfile module.  Patch by Derek Chiang

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 17:40:03 +0000 (12:40 -0500)]
merge 3.4

11 years agoimprove start default for relpath
Benjamin Peterson [Thu, 20 Mar 2014 17:39:53 +0000 (12:39 -0500)]
improve start default for relpath

11 years agoMerge several minor doc fixes from 3.4
Zachary Ware [Thu, 20 Mar 2014 16:28:16 +0000 (11:28 -0500)]
Merge several minor doc fixes from 3.4

11 years agoFix typos in Doc/faq/extending. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 15:16:09 +0000 (10:16 -0500)]
Fix typos in Doc/faq/extending.  Found by cocoatomo on docs@.

11 years agoFix spelling in enum docs.
Zachary Ware [Thu, 20 Mar 2014 15:01:48 +0000 (10:01 -0500)]
Fix spelling in enum docs.

"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese"
were discovered by a spell-checker.

11 years agoAdd missing parenthesis. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 14:46:09 +0000 (09:46 -0500)]
Add missing parenthesis.  Found by cocoatomo on docs@.

11 years agoFix parameter name in docs for os.makedirs and os.removedirs.
Zachary Ware [Thu, 20 Mar 2014 14:42:01 +0000 (09:42 -0500)]
Fix parameter name in docs for os.makedirs and os.removedirs.

Pointed out by Colin Davis on docs@.

11 years agomerge
Raymond Hettinger [Thu, 20 Mar 2014 13:44:33 +0000 (06:44 -0700)]
merge

11 years agoClean-up docstring
Raymond Hettinger [Thu, 20 Mar 2014 13:42:31 +0000 (06:42 -0700)]
Clean-up docstring

11 years agoCloses #20444: Merged fix from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 13:15:23 +0000 (13:15 +0000)]
Closes #20444: Merged fix from 3.4.

11 years agoIssue #20444: Reduced code duplication.
Vinay Sajip [Thu, 20 Mar 2014 13:14:39 +0000 (13:14 +0000)]
Issue #20444: Reduced code duplication.

11 years agoCloses #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:06:07 +0000 (13:06 +0000)]
Closes #20558: Improved implementation of error handling.

11 years agoIssue #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:03:17 +0000 (13:03 +0000)]
Issue #20558: Improved implementation of error handling.

11 years agoMerged from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 12:43:50 +0000 (12:43 +0000)]
Merged from 3.4.

11 years agoIssue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef...
Vinay Sajip [Thu, 20 Mar 2014 12:42:42 +0000 (12:42 +0000)]
Issue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes.

11 years ago(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
Victor Stinner [Thu, 20 Mar 2014 08:27:11 +0000 (09:27 +0100)]
(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
by multiprocessing.connection

11 years agoIsuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
Victor Stinner [Thu, 20 Mar 2014 08:26:55 +0000 (09:26 +0100)]
Isuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
multiprocessing.connection

11 years ago(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:22:39 +0000 (09:22 +0100)]
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports

11 years agoIssue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:16:38 +0000 (09:16 +0100)]
Issue #20976: pyflakes: Remove unused imports

11 years ago(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
Victor Stinner [Thu, 20 Mar 2014 07:51:24 +0000 (08:51 +0100)]
(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils

11 years agoIssue #20978: pyflakes: fix undefined names
Victor Stinner [Thu, 20 Mar 2014 07:50:52 +0000 (08:50 +0100)]
Issue #20978: pyflakes: fix undefined names

11 years agoIssue #20978: Remove last part of OS/2 support in distutils
Victor Stinner [Thu, 20 Mar 2014 07:50:33 +0000 (08:50 +0100)]
Issue #20978: Remove last part of OS/2 support in distutils

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 01:52:25 +0000 (20:52 -0500)]
merge 3.4

11 years agoadd Nehal Hussain
Benjamin Peterson [Thu, 20 Mar 2014 01:52:17 +0000 (20:52 -0500)]
add Nehal Hussain

11 years ago#14332: provide a better explanation of junk in difflib docs
Andrew Kuchling [Wed, 19 Mar 2014 20:43:06 +0000 (16:43 -0400)]
#14332: provide a better explanation of junk in difflib docs

Initial patch by Alba Magallanes.

11 years ago#13437: link to the source code for a few more modules
Andrew Kuchling [Wed, 19 Mar 2014 20:23:01 +0000 (16:23 -0400)]
#13437: link to the source code for a few more modules

11 years agoMerge with 3.4
Zachary Ware [Wed, 19 Mar 2014 19:47:49 +0000 (14:47 -0500)]
Merge with 3.4

11 years agoUse the correct VS edition names in PCbuild/readme.txt
Zachary Ware [Wed, 19 Mar 2014 19:46:25 +0000 (14:46 -0500)]
Use the correct VS edition names in PCbuild/readme.txt

11 years ago(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:34:12 +0000 (17:34 +0100)]
(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoSkip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:31:20 +0000 (17:31 +0100)]
Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoIssue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
Ethan Furman [Wed, 19 Mar 2014 15:38:52 +0000 (08:38 -0700)]
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception

11 years agoIssue #19009
Kristján Valur Jónsson [Wed, 19 Mar 2014 10:07:26 +0000 (10:07 +0000)]
Issue #19009
Enhance HTTPResponse.readline() performance

11 years agoMerge xxlimited compile warning fix from 3.4
Zachary Ware [Wed, 19 Mar 2014 04:09:00 +0000 (23:09 -0500)]
Merge xxlimited compile warning fix from 3.4

11 years agoAvoid compile warning in xxlimited on 32-bit Windows non-Debug builds.
Zachary Ware [Wed, 19 Mar 2014 04:05:01 +0000 (23:05 -0500)]
Avoid compile warning in xxlimited on 32-bit Windows non-Debug builds.

11 years agoMerge PCbuild/pcbuild.sln cleanup from 3.4
Zachary Ware [Wed, 19 Mar 2014 03:40:23 +0000 (22:40 -0500)]
Merge PCbuild/pcbuild.sln cleanup from 3.4

11 years agoClean up PCbuild/pcbuild.sln a bit:
Zachary Ware [Wed, 19 Mar 2014 03:34:52 +0000 (22:34 -0500)]
Clean up PCbuild/pcbuild.sln a bit:

- Remove configuration settings from removed _sha3.vcxproj
- Don't try to build configurations of _testembed that don't exist
  (namely, PGInstrument and PGUpdate)

11 years agoIgnore files generated by MSVC PGO builds (merge from 3.4).
Zachary Ware [Wed, 19 Mar 2014 03:31:48 +0000 (22:31 -0500)]
Ignore files generated by MSVC PGO builds (merge from 3.4).

11 years agoIgnore files generated by MSVC PGO builds.
Zachary Ware [Wed, 19 Mar 2014 03:28:16 +0000 (22:28 -0500)]
Ignore files generated by MSVC PGO builds.

11 years agoCloses #20966: Fix Tkinter Resources link (merge from 3.4)
Zachary Ware [Tue, 18 Mar 2014 14:20:25 +0000 (09:20 -0500)]
Closes #20966: Fix Tkinter Resources link (merge from 3.4)

11 years agoIssue #20966: Fix Tkinter Resources link
Zachary Ware [Tue, 18 Mar 2014 14:19:18 +0000 (09:19 -0500)]
Issue #20966: Fix Tkinter Resources link

11 years agoDoc: add What's New in Python 3.5 to whatsnew index
Victor Stinner [Tue, 18 Mar 2014 08:01:21 +0000 (09:01 +0100)]
Doc: add What's New in Python 3.5 to whatsnew index

11 years agoRestore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections
Victor Stinner [Tue, 18 Mar 2014 07:59:30 +0000 (08:59 +0100)]
Restore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections

11 years agomerge with 3.4
Georg Brandl [Tue, 18 Mar 2014 06:47:35 +0000 (07:47 +0100)]
merge with 3.4

11 years agoFix option description that is a warning in new Sphinx versions.
Georg Brandl [Tue, 18 Mar 2014 06:44:07 +0000 (07:44 +0100)]
Fix option description that is a warning in new Sphinx versions.

11 years agoIssue #19977: Fix test_capi when LC_CTYPE locale is POSIX
Victor Stinner [Tue, 18 Mar 2014 01:38:12 +0000 (02:38 +0100)]
Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX

11 years agoIssue #19977: Enable test_c_locale_surrogateescape() on Windows
Victor Stinner [Tue, 18 Mar 2014 01:28:10 +0000 (02:28 +0100)]
Issue #19977: Enable test_c_locale_surrogateescape() on Windows

Only test the error handler. The encoding is not ASCII on Windows: it may the
OEM or ANSI code page.

11 years agoIssue #19977, #19036: Always include <locale.h> in pythonrun.c
Victor Stinner [Tue, 18 Mar 2014 01:06:38 +0000 (02:06 +0100)]
Issue #19977, #19036: Always include <locale.h> in pythonrun.c
to get LC_CTYPE constant on Windows.

11 years agoIssue #20574: Remove duplicated test failing on Windows XP
Victor Stinner [Tue, 18 Mar 2014 00:40:22 +0000 (01:40 +0100)]
Issue #20574: Remove duplicated test failing on Windows XP