Victor Stinner
59bec36b1c
(Merge 3.2) logging: don't define QueueListener if Python has no thread support
2011-05-02 16:14:16 +02:00
Victor Stinner
cafa2efedb
logging: don't define QueueListener if Python has no thread support
2011-05-02 16:11:28 +02:00
Victor Stinner
fadeeffe5b
(Merge 3.2) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:14:55 +02:00
Victor Stinner
8108e96bc8
(Merge 3.1) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner
a6cd0cf0f5
Issue #11277 : mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
...
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Victor Stinner
d23820b7c9
(Merge 3.2) Issue #9756 : credit the author, Andreas Stührk (Trundle)
2011-05-01 23:48:41 +02:00
Victor Stinner
5cf93c6885
(Merge 3.1) Issue #9756 : credit the author, Andreas Stührk (Trundle)
2011-05-01 23:47:56 +02:00
Victor Stinner
13aaef53be
Issue #9756 : credit the author, Andreas Stührk (Trundle)
2011-05-01 23:46:48 +02:00
Victor Stinner
6a534e7e7b
(Merge 3.2) Issue #9756 : When calling a method descriptor or a slot wrapper
...
descriptor, the check of the object type doesn't read the __class__ attribute
anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
2011-05-01 23:33:06 +02:00
Victor Stinner
d9561318d8
(Merge 3.1) Issue #9756 : When calling a method descriptor or a slot wrapper
...
descriptor, the check of the object type doesn't read the __class__ attribute
anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
2011-05-01 23:31:36 +02:00
Victor Stinner
3249dec024
Issue #9756 : When calling a method descriptor or a slot wrapper descriptor, the
...
check of the object type doesn't read the __class__ attribute anymore. Fix a
crash if a class override its __class__ attribute (e.g. a proxy of the str
type).
2011-05-01 23:19:15 +02:00
Victor Stinner
c90e19dd3f
Close #11958 : Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
...
Patch written by Charles-Francois Natali.
2011-05-01 01:23:03 +02:00
Victor Stinner
a929335961
Issue #8407 , issue #11859 : Add signal.pthread_sigmask() function to fetch
...
and/or change the signal mask of the calling thread.
Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.
Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Łukasz Langa
af2afc8337
Merged mentions of issues #11324 and #11858 .
...
Possibly redundant once 3.2.1 is out.
2011-04-30 09:47:21 +02:00
Łukasz Langa
90759a2a77
Mentioned issues #11324 and #11858 .
2011-04-30 09:36:35 +02:00
Antoine Pitrou
15399c3f09
Issue #11811 : ssl.get_server_certificate() is now IPv6-compatible. Patch
...
by Charles-François Natali.
2011-04-28 19:23:55 +02:00
Antoine Pitrou
9c39f3c4ec
Issue #11811 : Factor out detection of IPv6 support on the current host
...
and make it available as `test.support.IPV6_ENABLED`. Patch by
Charles-François Natali.
2011-04-28 19:18:10 +02:00
Antoine Pitrou
9ea1c8d7d7
Issue #10517 : After fork(), reinitialize the TLS used by the PyGILState_*
...
APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch
by Charles-François Natali.
2011-04-27 19:30:16 +02:00
Antoine Pitrou
0c759febb6
Issue #10517 : After fork(), reinitialize the TLS used by the PyGILState_*
...
APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch
by Charles-François Natali.
2011-04-27 19:28:05 +02:00
Ezio Melotti
9490af2150
#11763 : merge with 3.2.
2011-04-27 10:21:51 +03:00
Ezio Melotti
edd117fd27
#11763 : merge with 3.1.
2011-04-27 10:20:38 +03:00
Ezio Melotti
935a588825
#11763 : don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.
2011-04-27 10:17:34 +03:00
Victor Stinner
3cbf14bfb1
Issue #10914 : Initialize correctly the filesystem codec when creating a new
...
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.
Add fscodec_initialized attribute to the PyInterpreterState structure.
2011-04-27 00:24:21 +02:00
Victor Stinner
793b531756
Issue #10914 : Initialize correctly the filesystem codec when creating a new
...
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.
Add fscodec_initialized attribute to the PyInterpreterState structure.
2011-04-27 00:24:21 +02:00
Victor Stinner
b90db4caf0
Issue #11918 : OS/2 and VMS are no more supported because of the lack of
...
maintainer.
2011-04-26 22:48:24 +02:00
Senthil Kumaran
0145c54213
merge from 3.2
2011-04-26 21:14:26 +08:00
Senthil Kumaran
30fe8188b4
merge from 3.1
2011-04-26 21:10:23 +08:00
Senthil Kumaran
72387f90fd
Update News entry for Issue11236
2011-04-26 21:09:49 +08:00
Ezio Melotti
bf1253b25a
#6780 : merge with 3.2.
2011-04-26 06:45:24 +03:00
Ezio Melotti
f2b3f780a1
#6780 : merge with 3.1.
2011-04-26 06:40:59 +03:00
Ezio Melotti
ba42fd5801
#6780 : fix starts/endswith error message to mention that tuples are accepted too.
2011-04-26 06:09:45 +03:00
Antoine Pitrou
eec60603a8
Issue #10914 : Add a minimal embedding test to test_capi.
2011-04-25 21:23:26 +02:00
Antoine Pitrou
72562d065e
Issue #10914 : add NEWS item.
2011-04-25 21:22:04 +02:00
Antoine Pitrou
f645451d78
Issue #11856 : Speed up parsing of JSON numbers.
2011-04-25 19:16:06 +02:00
Victor Stinner
762f8d1bf2
Issue #11005 , issue #11915 : fix issue number of commit 2c0da1c4f063.
2011-04-24 23:45:23 +02:00
Victor Stinner
c2824d41c3
Issue #11915 : threading.RLock()._release_save() raises a RuntimeError if the
...
lock was not acquired.
2011-04-24 23:41:33 +02:00
Antoine Pitrou
8c52027e2d
Issue #11258 : Speed up ctypes.util.find_library() under Linux by a factor
...
of 5 to 10. Initial patch by Jonas H.
2011-04-23 17:51:04 +02:00
Antoine Pitrou
877509aef4
Issue #11382 : Trivial system calls, such as dup() or pipe(), needn't
...
release the GIL. Patch by Charles-François Natali.
2011-04-23 17:21:13 +02:00
Jesus Cea
c1ceb64e41
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. ( closes #11828 )
2011-04-20 17:59:29 +02:00
Jesus Cea
6159ee3cf5
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. ( closes #11828 )
2011-04-20 17:42:50 +02:00
Jesus Cea
ac4515063c
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. ( closes #11828 )
2011-04-20 17:09:23 +02:00
Victor Stinner
754851f456
Issue #11223 : Add threading._info() function providing informations about the
...
thread implementation.
Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Raymond Hettinger
111474452d
merge
2011-04-19 11:12:47 -07:00
Raymond Hettinger
1cc986e4a7
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
2011-04-19 11:10:43 -07:00
Raymond Hettinger
98c850a398
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
2011-04-19 11:04:44 -07:00
Raymond Hettinger
019a97c77c
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
2011-04-19 10:21:27 -07:00
Raymond Hettinger
d08a2c2576
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
2011-04-19 10:05:03 -07:00
Nadeem Vawda
d7d01cd80c
Merge test_startfile fix from 3.2.
2011-04-19 01:41:28 +02:00
Nadeem Vawda
cc3f029380
Merge test_startfile fix from 3.1.
2011-04-19 01:40:45 +02:00
Nadeem Vawda
58de6ee871
Fix sporadic failure in test_startfile.
...
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:38:47 +02:00