]> granicus.if.org Git - python/log
python
13 years agoMerge fix for #10086 from 3.2
Éric Araujo [Wed, 31 Aug 2011 14:52:12 +0000 (16:52 +0200)]
Merge fix for #10086 from 3.2

13 years agoFix test_sysconfig when run from a Python installed under /site (#10086).
Éric Araujo [Wed, 31 Aug 2011 14:48:17 +0000 (16:48 +0200)]
Fix test_sysconfig when run from a Python installed under /site (#10086).

Patch by Hallvard B Furuseth.

13 years agoFix packaging command registry to let Windows machines find bdist_msi
Éric Araujo [Wed, 31 Aug 2011 14:12:31 +0000 (16:12 +0200)]
Fix packaging command registry to let Windows machines find bdist_msi

13 years agoBranch merge
Éric Araujo [Wed, 31 Aug 2011 13:34:34 +0000 (15:34 +0200)]
Branch merge

13 years agoRemove unused variable
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 22:43:55 +0000 (00:43 +0200)]
Remove unused variable

13 years agoTry to fix one of the bigmem tests in test_pickle
Antoine Pitrou [Tue, 30 Aug 2011 21:39:59 +0000 (23:39 +0200)]
Try to fix one of the bigmem tests in test_pickle

13 years agoTry to fix one of the bigmem tests in test_pickle
Antoine Pitrou [Tue, 30 Aug 2011 21:39:34 +0000 (23:39 +0200)]
Try to fix one of the bigmem tests in test_pickle

13 years agoMove help texts near to the function they’re related to
Éric Araujo [Tue, 30 Aug 2011 20:23:52 +0000 (22:23 +0200)]
Move help texts near to the function they’re related to

13 years agoFix typo I introduced in f93acf8844ec
Éric Araujo [Tue, 30 Aug 2011 20:13:21 +0000 (22:13 +0200)]
Fix typo I introduced in f93acf8844ec

13 years agoMerge from 3.2:
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 20:07:20 +0000 (22:07 +0200)]
Merge from 3.2:
- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to file.write()
- Issue #11241: subclasses of ctypes.Array can now be subclassed.

13 years agoIssue #11241: subclasses of ctypes.Array can now be subclassed.
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 20:02:51 +0000 (22:02 +0200)]
Issue #11241: subclasses of ctypes.Array can now be subclassed.

13 years agoIssue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 19:40:20 +0000 (21:40 +0200)]
Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().

13 years agoUpdate list of trove classifiers to match PyPI
Éric Araujo [Tue, 30 Aug 2011 17:05:46 +0000 (19:05 +0200)]
Update list of trove classifiers to match PyPI

13 years agoRemove misleading comment and code.
Antoine Pitrou [Tue, 30 Aug 2011 16:34:47 +0000 (18:34 +0200)]
Remove misleading comment and code.
Windows does set the errno attribute to ENOENT, but the error message
displays the Windows error number (3 -> ERROR_PATH_NOT_FOUND), not the
errno number (2 -> ENOENT).
The Unix errno corresponding to 3 is ESRCH, explaining the confusion,
which can be seen in the following snippet:

>>> shutil.rmtree("foo")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "Z:\default\lib\shutil.py", line 272, in rmtree
    onerror(os.listdir, path, sys.exc_info())
  File "Z:\default\lib\shutil.py", line 270, in rmtree
    names = os.listdir(path)
WindowsError: [Error 3] The system cannot find the path specified:
'foo\\*.*'
>>> e = sys.last_value
>>> e.errno
2
>>> e.winerror
3
>>> errno.errorcode[2]
'ENOENT'

For reference, see PC/errmap.h and
http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx

13 years agoMerge 3.2
Éric Araujo [Tue, 30 Aug 2011 14:21:47 +0000 (16:21 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Tue, 30 Aug 2011 14:21:15 +0000 (16:21 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Tue, 30 Aug 2011 14:05:31 +0000 (16:05 +0200)]
Branch merge

13 years agoMake bdist_* commands respect --skip-build passed to bdist (#10946).
Éric Araujo [Mon, 29 Aug 2011 23:42:50 +0000 (01:42 +0200)]
Make bdist_* commands respect --skip-build passed to bdist (#10946).

There was already a test for this, but it was complicated and had a
subtle bug (custom command objects need to be put in dist.command_obj so
that other command objects may see them) that rendered it moot.

13 years agoRemove obsolete mentions of the compress program and .Z archives.
Éric Araujo [Mon, 29 Aug 2011 23:19:02 +0000 (01:19 +0200)]
Remove obsolete mentions of the compress program and .Z archives.

Packaging uses the shutil.make_archive function copied from distutils,
which does not support compress.  There is no test to check that
“bdist --format whatever” works, so this slipped by.

13 years agoMerge fix for #10946 from 3.2
Éric Araujo [Mon, 29 Aug 2011 23:01:45 +0000 (01:01 +0200)]
Merge fix for #10946 from 3.2

13 years agoRemove display options (--name, etc.) from the Distribution class.
Éric Araujo [Mon, 29 Aug 2011 22:55:02 +0000 (00:55 +0200)]
Remove display options (--name, etc.) from the Distribution class.

These options were used to implement “setup.py --name”,
“setup.py --version”, etc. which are now handled by the pysetup metadata
action or direct parsing of the setup.cfg file.

As a side effect, the Distribution class no longer accepts a 'url' key
in its *attrs* argument: it has to be 'home-page' to be recognized as a
valid metadata field and passed down to the dist.metadata object.

I cleaned up some comments, docstrings and code along the way.

13 years agoCleanup: move code out of a try block
Éric Araujo [Mon, 29 Aug 2011 22:45:59 +0000 (00:45 +0200)]
Cleanup: move code out of a try block

13 years agoIssue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
Antoine Pitrou [Mon, 29 Aug 2011 22:28:40 +0000 (00:28 +0200)]
Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.

13 years agoIssue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
Antoine Pitrou [Mon, 29 Aug 2011 22:27:10 +0000 (00:27 +0200)]
Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.

13 years agoIssue #11564: Avoid crashes when trying to pickle huge objects or containers
Antoine Pitrou [Mon, 29 Aug 2011 21:14:53 +0000 (23:14 +0200)]
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.

13 years agoIssue #11564: Avoid crashes when trying to pickle huge objects or containers
Antoine Pitrou [Mon, 29 Aug 2011 21:09:33 +0000 (23:09 +0200)]
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.

13 years agoPrint all fields when calling “pysetup metadata” without options.
Éric Araujo [Mon, 29 Aug 2011 20:03:46 +0000 (22:03 +0200)]
Print all fields when calling “pysetup metadata” without options.

When called without option (“-f field” or “--all”), “pysetup metadata”
didn’t do anything useful.  Now it prints out all metadata fields.  The
“--all” option is removed.

13 years agoMake bdist_* commands respect --skip-build passed to bdist (#10946)
Éric Araujo [Mon, 29 Aug 2011 19:48:39 +0000 (21:48 +0200)]
Make bdist_* commands respect --skip-build passed to bdist (#10946)

13 years agoCleanup: use sys.version_info instead of convoluted hexversion lshifts
Éric Araujo [Mon, 29 Aug 2011 19:43:48 +0000 (21:43 +0200)]
Cleanup: use sys.version_info instead of convoluted hexversion lshifts

13 years ago3.3 whatsnew: fix markup, add stub for new crypt features
Éric Araujo [Mon, 29 Aug 2011 19:42:47 +0000 (21:42 +0200)]
3.3 whatsnew: fix markup, add stub for new crypt features

13 years agoIssue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
Charles-François Natali [Sun, 28 Aug 2011 16:23:43 +0000 (18:23 +0200)]
Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
the check against negative values, and add a note on this surprising test.
Patch by David Watson.

13 years agoIssue #12287: Fix a stack corruption in ossaudiodev module when the FD is
Charles-François Natali [Sun, 28 Aug 2011 16:10:27 +0000 (18:10 +0200)]
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.

13 years agoIssue #12287: Fix a stack corruption in ossaudiodev module when the FD is
Charles-François Natali [Sun, 28 Aug 2011 15:51:43 +0000 (17:51 +0200)]
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.

13 years agoMerge: #12839: Fix crash in zlib module due to version mismatch.
Nadeem Vawda [Sun, 28 Aug 2011 09:29:35 +0000 (11:29 +0200)]
Merge: #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.

13 years agoIssue #12839: Fix crash in zlib module due to version mismatch.
Nadeem Vawda [Sun, 28 Aug 2011 09:26:46 +0000 (11:26 +0200)]
Issue #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.

13 years agoMake tests faster by reaping threads only at the end
Antoine Pitrou [Sat, 27 Aug 2011 23:24:22 +0000 (01:24 +0200)]
Make tests faster by reaping threads only at the end

13 years agoMake tests faster by reaping threads only at the end
Antoine Pitrou [Sat, 27 Aug 2011 23:23:52 +0000 (01:23 +0200)]
Make tests faster by reaping threads only at the end

13 years agoProvide a better diagnosis on socket errors
Antoine Pitrou [Sat, 27 Aug 2011 23:22:22 +0000 (01:22 +0200)]
Provide a better diagnosis on socket errors

13 years agoProvide a better diagnosis on socket errors
Antoine Pitrou [Sat, 27 Aug 2011 23:20:42 +0000 (01:20 +0200)]
Provide a better diagnosis on socket errors

13 years agoAdd pattern to .hgignore in order to mask PC/generrmap.exe
Antoine Pitrou [Sat, 27 Aug 2011 16:46:50 +0000 (18:46 +0200)]
Add pattern to .hgignore in order to mask PC/generrmap.exe

13 years agoAdd pattern to .hgignore in order to mask PC/generrmap.exe
Antoine Pitrou [Sat, 27 Aug 2011 16:46:17 +0000 (18:46 +0200)]
Add pattern to .hgignore in order to mask PC/generrmap.exe

13 years agoFix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backpor...
Nick Coghlan [Sat, 27 Aug 2011 14:17:31 +0000 (00:17 +1000)]
Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms.

13 years agoFix #12835: prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped socket...
Nick Coghlan [Sat, 27 Aug 2011 14:00:27 +0000 (00:00 +1000)]
Fix #12835: prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped sockets (Patch by David Watson)

13 years agoMerge: Make regrtest complain when -M and -j are used together.
Nadeem Vawda [Sat, 27 Aug 2011 13:24:23 +0000 (15:24 +0200)]
Merge: Make regrtest complain when -M and -j are used together.

-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).

13 years agoMake regrtest complain when -M and -j are used together.
Nadeem Vawda [Sat, 27 Aug 2011 13:22:05 +0000 (15:22 +0200)]
Make regrtest complain when -M and -j are used together.

-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).

13 years agoMerge from 3.2 (change already committed in py3k)
Éric Araujo [Fri, 26 Aug 2011 14:39:26 +0000 (16:39 +0200)]
Merge from 3.2 (change already committed in py3k)

13 years agoRemove outdated pointer to optparse (fixes #11360).
Éric Araujo [Fri, 26 Aug 2011 14:38:40 +0000 (16:38 +0200)]
Remove outdated pointer to optparse (fixes #11360).

The doc already points to argparse.

13 years agoMerge 3.2
Éric Araujo [Fri, 26 Aug 2011 14:31:19 +0000 (16:31 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Fri, 26 Aug 2011 14:30:57 +0000 (16:30 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Fri, 26 Aug 2011 14:30:22 +0000 (16:30 +0200)]
Branch merge

13 years agoSynchronize packaging docs with distutils’ (includes fix for #9302)
Éric Araujo [Thu, 25 Aug 2011 23:23:20 +0000 (01:23 +0200)]
Synchronize packaging docs with distutils’ (includes fix for #9302)

13 years agoMerge from 3.2 (#9302 fix and other changes)
Éric Araujo [Thu, 25 Aug 2011 23:17:56 +0000 (01:17 +0200)]
Merge from 3.2 (#9302 fix and other changes)

13 years agoDocument the "optional" argument of distutils’ Extension class
Éric Araujo [Thu, 25 Aug 2011 22:45:18 +0000 (00:45 +0200)]
Document the "optional" argument of distutils’ Extension class

13 years agoFix type information in distutils API reference (#9302).
Éric Araujo [Thu, 25 Aug 2011 22:44:37 +0000 (00:44 +0200)]
Fix type information in distutils API reference (#9302).

Initial patch by Yue Shuaijie.

13 years agoMake the list of docs contributors sorted again
Éric Araujo [Thu, 25 Aug 2011 22:10:12 +0000 (00:10 +0200)]
Make the list of docs contributors sorted again

13 years agoMinor code simplification
Éric Araujo [Thu, 25 Aug 2011 22:05:11 +0000 (00:05 +0200)]
Minor code simplification

13 years agoTurn two ifs into one in the code I commited a few days ago
Éric Araujo [Thu, 25 Aug 2011 22:03:22 +0000 (00:03 +0200)]
Turn two ifs into one in the code I commited a few days ago

13 years agoIssue #12333: fix test_distutils failures under Solaris and derivatives
Antoine Pitrou [Thu, 25 Aug 2011 16:32:54 +0000 (18:32 +0200)]
Issue #12333: fix test_distutils failures under Solaris and derivatives

13 years agoIssue #12333: fix test_distutils failures under Solaris and derivatives
Antoine Pitrou [Thu, 25 Aug 2011 16:32:02 +0000 (18:32 +0200)]
Issue #12333: fix test_distutils failures under Solaris and derivatives

13 years agoAnother (hopefully last) fix for test_packaging on Windws (#12678)
Éric Araujo [Thu, 25 Aug 2011 16:13:58 +0000 (18:13 +0200)]
Another (hopefully last) fix for test_packaging on Windws (#12678)

13 years agoFollowup to cdc6c1b072a5: I forgot to "hg add" the test files
Antoine Pitrou [Thu, 25 Aug 2011 13:01:15 +0000 (15:01 +0200)]
Followup to cdc6c1b072a5: I forgot to "hg add" the test files

13 years agoIssue #12803: SSLContext.load_cert_chain() now accepts a password argument
Antoine Pitrou [Thu, 25 Aug 2011 12:39:44 +0000 (14:39 +0200)]
Issue #12803: SSLContext.load_cert_chain() now accepts a password argument
to be used if the private key is encrypted.  Patch by Adam Simpkins.

13 years agoMerge 3.2.
Georg Brandl [Thu, 25 Aug 2011 09:52:39 +0000 (11:52 +0200)]
Merge 3.2.

13 years agoClose #12838: fix range() call.
Georg Brandl [Thu, 25 Aug 2011 09:52:26 +0000 (11:52 +0200)]
Close #12838: fix range() call.

13 years agoIssue #12656: Really fix test_asyncore failures on Windows buildbots...
Charles-François Natali [Wed, 24 Aug 2011 23:22:50 +0000 (01:22 +0200)]
Issue #12656: Really fix test_asyncore failures on Windows buildbots...

13 years agoIssue #12656: Fix test_asyncore failures on Windows buildbots.
Charles-François Natali [Wed, 24 Aug 2011 22:50:41 +0000 (00:50 +0200)]
Issue #12656: Fix test_asyncore failures on Windows buildbots.

13 years agoIssue #12656: Add tests for IPv6 and Unix sockets to test_asyncore.
Charles-François Natali [Wed, 24 Aug 2011 21:24:05 +0000 (23:24 +0200)]
Issue #12656: Add tests for IPv6 and Unix sockets to test_asyncore.

13 years agosock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types with
Charles-François Natali [Wed, 24 Aug 2011 19:40:53 +0000 (21:40 +0200)]
sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types with
automatic storage class.

13 years agoIssue12810: Remove check for negative unsigned value in socketmodule.c. Patch
Charles-François Natali [Wed, 24 Aug 2011 18:07:54 +0000 (20:07 +0200)]
Issue12810: Remove check for negative unsigned value in socketmodule.c. Patch
by Joel Stanley.

13 years agoFix test_packaging on Windows (#12678).
Éric Araujo [Wed, 24 Aug 2011 00:15:25 +0000 (02:15 +0200)]
Fix test_packaging on Windows (#12678).

See the distutils commit message for more detail.

13 years agoMerge distutils bug fix from 3.2
Éric Araujo [Tue, 23 Aug 2011 23:58:59 +0000 (01:58 +0200)]
Merge distutils bug fix from 3.2

13 years agoFix distutils tests on Windows (#12678).
Éric Araujo [Tue, 23 Aug 2011 23:29:10 +0000 (01:29 +0200)]
Fix distutils tests on Windows (#12678).

- First, support.fixup_build_ext (already used to set proper
  library_dirs value under Unix shared builds) gains the ability to
  correctly set the debug attribute under Windows debug builds.

- Second, the filename for the extension module gets a _d suffix under
  debug builds.

- Third, the test code properly puts our customized build_ext object
  into an internal dictionary to make sure that the install command will
  later use our object instead of re-creating one.  That’s the downside
  of using low-level APIs in our test code: we have to manually push
  knobs and turn handles that would otherwise be handled behind the
  scenes.

Thanks to Nadeem for the testing.

13 years agoBranch merge
Éric Araujo [Tue, 23 Aug 2011 19:41:03 +0000 (21:41 +0200)]
Branch merge

13 years agoTry to fix packaging tests using build_ext on Windows (#12678)
Éric Araujo [Tue, 23 Aug 2011 19:38:13 +0000 (21:38 +0200)]
Try to fix packaging tests using build_ext on Windows (#12678)

13 years agoMerge
Antoine Pitrou [Tue, 23 Aug 2011 17:49:43 +0000 (19:49 +0200)]
Merge

13 years agoNull merge.
Charles-François Natali [Tue, 23 Aug 2011 17:49:25 +0000 (19:49 +0200)]
Null merge.

13 years agoMerge
Antoine Pitrou [Tue, 23 Aug 2011 17:49:13 +0000 (19:49 +0200)]
Merge

13 years agoIssue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Antoine Pitrou [Tue, 23 Aug 2011 17:48:34 +0000 (19:48 +0200)]
Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Also added some tests.

13 years agoIssue #12821: Fix test_fcntl failures on OpenBSD 5.
Charles-François Natali [Tue, 23 Aug 2011 17:46:46 +0000 (19:46 +0200)]
Issue #12821: Fix test_fcntl failures on OpenBSD 5.

13 years agoIssue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Antoine Pitrou [Tue, 23 Aug 2011 17:46:22 +0000 (19:46 +0200)]
Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Also added some tests.

13 years agoA warning doesn't equate a failed test
Antoine Pitrou [Tue, 23 Aug 2011 17:32:26 +0000 (19:32 +0200)]
A warning doesn't equate a failed test
(this broken -F with e.g. test_multiprocessing)

13 years agoRemove the SSLSocket versions of sendmsg/recvmsg due to lack of proper tests and...
Nick Coghlan [Tue, 23 Aug 2011 12:26:44 +0000 (22:26 +1000)]
Remove the SSLSocket versions of sendmsg/recvmsg due to lack of proper tests and documentation in conjunction with lack of any known use cases (see issue #6560 for details)

13 years agoClose #12826: fix socketmodule.c for OpenBSD, include sys/uio.h
Victor Stinner [Tue, 23 Aug 2011 08:57:32 +0000 (10:57 +0200)]
Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h

Patch written by Remi Pointel.

13 years ago#12191: added entry in What's New (+ small editing on shutil section)
Sandro Tosi [Mon, 22 Aug 2011 22:58:21 +0000 (00:58 +0200)]
#12191: added entry in What's New (+ small editing on shutil section)

13 years ago#6484: refactor a bit the tests.
Ezio Melotti [Mon, 22 Aug 2011 22:39:22 +0000 (01:39 +0300)]
#6484: refactor a bit the tests.

13 years ago#12191: fix build failures, explicitly passing group argument when I want to test it
Sandro Tosi [Mon, 22 Aug 2011 21:55:39 +0000 (23:55 +0200)]
#12191: fix build failures, explicitly passing group argument when I want to test it

13 years agoMerge indentation fix and skip decorator with 3.2.
Ezio Melotti [Mon, 22 Aug 2011 21:40:09 +0000 (00:40 +0300)]
Merge indentation fix and skip decorator with 3.2.

13 years agoFix indentation and add a skip decorator.
Ezio Melotti [Mon, 22 Aug 2011 21:37:08 +0000 (00:37 +0300)]
Fix indentation and add a skip decorator.

13 years ago#12191: add shutil.chown() to change user and/or group owner of a given path also...
Sandro Tosi [Mon, 22 Aug 2011 21:28:27 +0000 (23:28 +0200)]
#12191: add shutil.chown() to change user and/or group owner of a given path also specifying their names.

13 years ago#9200: merge with 3.2.
Ezio Melotti [Mon, 22 Aug 2011 17:31:11 +0000 (20:31 +0300)]
#9200: merge with 3.2.

13 years ago#10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE, Py_UNICODE_IS_...
Ezio Melotti [Mon, 22 Aug 2011 17:03:25 +0000 (20:03 +0300)]
#10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE, Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE, Py_UNICODE_JOIN_SURROGATES.

13 years ago#9200: The str.is* methods now work with strings that contain non-BMP characters...
Ezio Melotti [Mon, 22 Aug 2011 11:08:38 +0000 (14:08 +0300)]
#9200: The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds.

13 years agoFix deprecation warnings in test_socket.
Nadeem Vawda [Mon, 22 Aug 2011 07:46:56 +0000 (09:46 +0200)]
Fix deprecation warnings in test_socket.

13 years agoCredit patch authors in NEWS for #6560
Nick Coghlan [Mon, 22 Aug 2011 06:27:46 +0000 (16:27 +1000)]
Credit patch authors in NEWS for #6560

13 years agoFix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs.
Nick Coghlan [Mon, 22 Aug 2011 06:19:19 +0000 (16:19 +1000)]
Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs.

13 years agoAdd unit tests for the mailcap module. Patch by Gregory Nofi (closes #6484)
Nick Coghlan [Mon, 22 Aug 2011 06:05:44 +0000 (16:05 +1000)]
Add unit tests for the mailcap module. Patch by Gregory Nofi (closes #6484)

13 years agoAttempt to address Windows buildbot failures
Nick Coghlan [Mon, 22 Aug 2011 05:45:19 +0000 (15:45 +1000)]
Attempt to address Windows buildbot failures

13 years agoAdd support for the send/recvmsg API to the socket module. Patch by David Watson...
Nick Coghlan [Mon, 22 Aug 2011 01:55:57 +0000 (11:55 +1000)]
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. (Closes #6560)

13 years agoNull merge; fix already present in default branch.
Nadeem Vawda [Sun, 21 Aug 2011 20:36:27 +0000 (22:36 +0200)]
Null merge; fix already present in default branch.

13 years agoIssue #12678: Fix distutils sdist test on Windows.
Nadeem Vawda [Sun, 21 Aug 2011 20:35:41 +0000 (22:35 +0200)]
Issue #12678: Fix distutils sdist test on Windows.

Patch by Jeremy Kloth.