Raymond Hettinger
f90ba8a9a2
Avoid codec spelling issues by just using the utf-8 default.
2011-05-05 11:35:50 -07:00
Antoine Pitrou
c4d7864e0e
Use shared testing facilities in test_threading
2011-05-05 20:17:32 +02:00
R David Murray
66a18fd801
#11873 : Improve test regex so random directory names don't cause test to fail
2011-05-05 11:52:44 -04:00
Nick Coghlan
fdc2c5596e
Remove trailing whitespace
2011-05-06 00:02:12 +10:00
Nick Coghlan
0ded3e307b
Issue #11647 : allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
2011-05-05 23:49:25 +10:00
Ezio Melotti
f77b74dd1b
#11997 : merge with 3.1.
2011-05-05 14:21:18 +03:00
Ezio Melotti
d92ab0806d
#11997 : fix typo in init.rst.
2011-05-05 14:19:48 +03:00
R David Murray
3ef4419dc3
Merge #8158 : add missing 'description' description to optparse docstring.
2011-05-04 21:07:33 -04:00
R David Murray
fc5ed800d8
#8158 : add missing 'description' description to optparse docstring.
2011-05-04 21:06:57 -04:00
Daniel Stutzbach
eda70b81d3
#11335 : Fix memory leak after key function failure in sort
2011-05-04 12:46:28 -07:00
Antoine Pitrou
0d5e52d346
Issue #1856 : Avoid crashes and lockups when daemon threads run while the
...
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
2011-05-04 20:02:30 +02:00
Ezio Melotti
e548f5a001
#11985 : merge with 3.1.
2011-05-04 18:39:29 +03:00
Ezio Melotti
f16898bc80
#11985 : update docstring of platform.python_implementation.
2011-05-04 18:37:50 +03:00
Brian Curtin
03b8d4e47b
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin
308053ee11
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Raymond Hettinger
003be52932
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
2011-05-03 11:01:32 -07:00
Ezio Melotti
5098d44354
#11985 : merge with 3.1.
2011-05-03 20:43:48 +03:00
Ezio Melotti
b351bcca23
#11985 : document the return value of platform.python_implementation for PyPy.
2011-05-03 20:41:48 +03:00
Antoine Pitrou
b87a56a519
Fix typo in name of private function
2011-05-03 16:34:42 +02:00
Raymond Hettinger
a5ac2ce982
Backport 3.3 fixes and cleans ups.
2011-05-02 11:02:13 -07:00
Raymond Hettinger
81b9656989
Backport code cleanup for namedtuples.
2011-05-02 09:50:15 -07:00
Victor Stinner
cafa2efedb
logging: don't define QueueListener if Python has no thread support
2011-05-02 16:11:28 +02:00
R David Murray
b912c5a004
I was right, hardconding the localhost IP doesn't work in linux-vserver.
2011-05-02 08:47:24 -04:00
Éric Araujo
38cfe89665
Merge 3.1
2011-05-02 13:12:23 +02:00
Éric Araujo
cd6756d2ae
Branch merge
2011-05-02 13:10:36 +02:00
Éric Araujo
b79c234e1a
Add missing colon
2011-05-02 13:10:18 +02:00
Benjamin Peterson
c704378987
merge 3.1
2011-05-01 20:24:40 -05:00
Raymond Hettinger
9b2fd32cc5
Fix spelling.
2011-05-01 18:14:49 -07: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
Benjamin Peterson
cee01bf18f
merge 3.1
2011-05-01 17:39:40 -05:00
Benjamin Peterson
10116d40d8
note abcs of int and float ( closes #11977 )
2011-05-01 17:38:17 -05: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
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
Georg Brandl
da623ed9f4
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
2011-05-01 22:37:23 +02:00
R David Murray
e97f14c1bb
Merge #11971 : fix man page; it's -OO not -O0
...
Patch by Lars Michelsen.
2011-05-01 11:14:31 -04:00
R David Murray
9c4f09d0f4
#11971 : fix man page; it's -OO not -O0
...
Patch by Lars Michelsen.
2011-05-01 11:13:56 -04:00
Éric Araujo
3bba57d596
Fix wording
2011-05-01 02:14:48 +02:00
R David Murray
361a7df323
Merge #11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:29:08 -04:00
R David Murray
bb754b503c
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:26:32 -04:00
R David Murray
7461298c9c
#11883 : replace incorrect call to sendmail with correct call to send_message
2011-04-30 17:19:53 -04:00
R David Murray
b751d6195f
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d
#11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:35:29 -04:00
Benjamin Peterson
f97aed1a25
merge 3.1
2011-04-30 13:15:18 -05:00
Benjamin Peterson
4c020885d9
fix function name in example ( closes #11966 )
2011-04-30 13:14:56 -05:00
Brian Curtin
73365dd887
whitespace...
2011-04-29 22:18:33 -05:00
Brian Curtin
e6242d77bd
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:17:51 -05:00
Senthil Kumaran
f108f8258e
Wrap the testskip decorator for the proper test to resolve bb failure.
2011-04-30 06:06:28 +08:00