Sandro Tosi
91f948a734
#12191 : fix build failures, explicitly passing group argument when I want to test it
2011-08-22 23:55:39 +02:00
Ezio Melotti
a3fbde3504
Merge indentation fix and skip decorator with 3.2.
2011-08-23 00:40:09 +03:00
Ezio Melotti
a5c92b4714
Fix indentation and add a skip decorator.
2011-08-23 00:37:08 +03:00
Sandro Tosi
d902a14dd0
#12191 : add shutil.chown() to change user and/or group owner of a given path also specifying their names.
2011-08-22 23:28:27 +02:00
Ezio Melotti
6f2a683a0c
#9200 : merge with 3.2.
2011-08-22 20:31:11 +03:00
Ezio Melotti
8c9375bb59
#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.
2011-08-22 20:03:25 +03:00
Ezio Melotti
93e7afc5d9
#9200 : The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds.
2011-08-22 14:08:38 +03:00
Nadeem Vawda
3d1706fa83
Fix deprecation warnings in test_socket.
2011-08-22 09:46:56 +02:00
Nick Coghlan
5c7f5c6c62
Credit patch authors in NEWS for #6560
2011-08-22 16:27:46 +10:00
Nick Coghlan
c4a287114e
Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs.
2011-08-22 16:19:19 +10:00
Nick Coghlan
029ba2b8cd
Add unit tests for the mailcap module. Patch by Gregory Nofi ( closes #6484 )
2011-08-22 16:05:44 +10:00
Nick Coghlan
4ecf6cfc20
Attempt to address Windows buildbot failures
2011-08-22 15:45:19 +10:00
Nick Coghlan
96fe56abec
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. ( Closes #6560 )
2011-08-22 11:55:57 +10:00
Nadeem Vawda
8983729dc0
Null merge; fix already present in default branch.
2011-08-21 22:36:27 +02:00
Nadeem Vawda
3d3bc81219
Issue #12678 : Fix distutils sdist test on Windows.
...
Patch by Jeremy Kloth.
2011-08-21 22:35:41 +02:00
Éric Araujo
ad457d6d50
Fix test_command_install_dist in shared Python builds
2011-08-21 17:38:56 +02:00
Éric Araujo
2737222b49
Factor out the build_ext fixup for shared Python builds.
...
I need this to fix the failing test_command_install_dist.
2011-08-21 17:38:36 +02:00
Éric Araujo
cd7c3d9d5f
Remove obsolete code
2011-08-21 17:37:36 +02:00
Éric Araujo
006b485511
Merge build_ext fix from 3.2
2011-08-21 17:10:50 +02:00
Éric Araujo
8c973189b5
Fix distutils test_install for shared CPython builds
2011-08-21 17:03:19 +02:00
Éric Araujo
6e3ad8736e
Factor out the build_ext fixup for shared Python builds.
...
I need this to fix the failing test_install.
2011-08-21 17:02:07 +02:00
Nadeem Vawda
7dfb3a1993
Update README section on testing following issue #11651 .
2011-08-21 16:48:54 +02:00
Nadeem Vawda
08aa3c0235
Issue #12804 : Prevent "make test" from using network resources.
2011-08-21 16:41:03 +02:00
Éric Araujo
c5efe65df3
Merge 3.2
2011-08-21 14:30:00 +02:00
Éric Araujo
5fa8e7a559
Add missing name in shutil
2011-08-21 14:29:18 +02:00
Éric Araujo
24d1df79ba
Merge 3.2
2011-08-21 12:54:06 +02:00
Éric Araujo
52b201f0df
Add missing closing paren in docstring (thanks Ezio)
2011-08-21 12:53:37 +02:00
Charles-François Natali
7b911cb621
Issue #12783 : Fix test_posix failures on FreeBSD buildbots, due to
...
sched_setparam() returning EINVAL for processes with SCHED_OTHER scheduling
policy.
2011-08-21 12:41:43 +02:00
Victor Stinner
795eaeb41f
Issue #12326 : update sys.platform doc for Linux
2011-08-21 12:08:11 +02:00
Victor Stinner
e67474725b
Issue #12326 : refactor usage of sys.platform
...
* Use str.startswith(tuple): I didn't know this Python feature, Python rocks!
* Replace sometimes sys.platform.startswith('linux') with
sys.platform == 'linux'
* sys.platform doesn't contain the major version on Cygwin on Mac OS X
(it's just 'cygwin' and 'darwin')
2011-08-21 00:39:18 +02:00
Sandro Tosi
a9931888ed
#5301 : merge with 3.2
2011-08-21 00:16:49 +02:00
Sandro Tosi
83f7d347d5
#5301 : add image/vnd.microsoft.icon (.ico) MIME type
2011-08-21 00:16:18 +02:00
Victor Stinner
7209ff2b31
Issue #12326 : woops, I really mean 'linux', not 'linux2'
...
Copy/paste (from Python 3.2) failure
2011-08-21 00:00:16 +02:00
Victor Stinner
ff3d9399fc
Close #12326 : sys.platform is now always 'linux' on Linux
...
On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
2011-08-20 23:39:26 +02:00
Éric Araujo
87f58d828a
Merge 3.2
2011-08-20 20:02:04 +02:00
Éric Araujo
86333e987e
Branch merge
2011-08-20 20:00:07 +02:00
Éric Araujo
36aa372f55
Branch merge
2011-08-20 19:57:42 +02:00
Éric Araujo
ff531461e0
Branch merge
2011-08-20 19:55:58 +02:00
Éric Araujo
19ffe600e9
Fix sdist test on Windows ( #12678 ). Patch by Jeremy Kloth.
2011-08-20 19:52:07 +02:00
Antoine Pitrou
94e6238e67
Issue #12213 : make it clear that BufferedRWPair shouldn't be called with the
...
same object as reader and writer, and deemphasize it in document order.
2011-08-20 19:50:32 +02:00
Antoine Pitrou
13d2895dbf
Issue #12213 : make it clear that BufferedRWPair shouldn't be called with the
...
same object as reader and writer, and deemphasize it in document order.
2011-08-20 19:48:43 +02:00
Sandro Tosi
2ec723ad87
#12787 : merge with 3.2
2011-08-20 17:06:38 +02:00
Sandro Tosi
9daf98d32a
#12787 : link original MultiCall proposal to webarchive and in a footnote
2011-08-20 17:05:56 +02:00
Antoine Pitrou
e8bb1a0229
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on BufferedRandom streams.
2011-08-20 14:52:04 +02:00
Antoine Pitrou
e05565ec5a
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on BufferedRandom streams.
2011-08-20 14:39:23 +02:00
Antoine Pitrou
8fd544ffa9
Issue #12791 : Break reference cycles early when a generator exits with an exception.
2011-08-20 14:18:25 +02:00
Antoine Pitrou
a370fcf3b2
Issue #12791 : Break reference cycles early when a generator exits with an exception.
2011-08-20 14:15:03 +02:00
Victor Stinner
0c17d0d96e
Issue #12326 : sys.platform is now always 'linux2' on Linux
...
Even if Python is compiled on Linux 3.
2011-08-20 14:01:05 +02:00
Éric Araujo
0a733627f9
Add a simple test for the packaging RECORD file.
...
The existing test_record is not easily extendable to add script files or
extension modules: it collects all files from fake_dists and generates a
RECORD file at runtime. I felt more comfortable adding a new test
written from scratch more self-contained (just one project with
well-defined files) and more stupid (the checksums and sizes are
computed once and hard-coded).
2011-08-20 09:31:25 +02:00
Éric Araujo
ba9b2689be
Minor cleanup
...
- Rename an attribute and create it in initialize_options instead of
finalize_options to match the other install_* classes
- Remove unnecessary method call in tests
2011-08-20 09:19:25 +02:00