Victor Stinner
dfb866d127
Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
...
Move other various macros to pymcacro.h
Thanks Rusty Russell for having written these amazing C macros!
2011-09-29 01:12:24 +02:00
Martin v. Löwis
418170c50e
ACKS for PEP 393.
2011-09-28 08:54:17 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Meador Inge
48d49497c5
Issue #13013 : ctypes: Fix a reference leak in PyCArrayType_from_ctype.
...
Thanks to Suman Saha for finding the bug and providing a patch.
2011-09-27 20:52:04 -05:00
Meador Inge
b86ecf4bd1
Issue #13013 : ctypes: Fix a reference leak in PyCArrayType_from_ctype.
...
Thanks to Suman Saha for finding the bug and providing a patch.
2011-09-27 20:45:30 -05:00
Mark Dickinson
0d5f6adbb3
Issue #13012 : Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines.
2011-09-24 09:14:39 +01:00
Mark Dickinson
a61b053e61
Merge #12973 itertools fix.
2011-09-24 08:57:00 +01:00
Mark Dickinson
b2f6bc72a2
Issue #12973 : Fix itertools bug caused by signed integer overflow. Thanks Stefan Krah.
2011-09-24 08:56:09 +01:00
Victor Stinner
a1fe1f8dcf
Merge 3.2: Issue #7732 : Don't open a directory as a file anymore while
...
importing a module. Ignore the direcotry if its name matchs the module name
(e.g. "__init__.py") and raise a ImportError instead.
2011-09-23 18:59:08 +02:00
Victor Stinner
53ffdc53bf
Issue #7732 : Don't open a directory as a file anymore while importing a
...
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
2011-09-23 18:54:40 +02:00
Jesus Cea
41c98a3207
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:56:05 +02:00
Jesus Cea
4507e6456e
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:53:25 +02:00
Meador Inge
1c9f0c93ad
Issue #1172711 : Add 'long long' support to the array module.
...
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-09-20 19:55:51 -05:00
Barry Warsaw
a80b14cc5f
- Issue #13021 : Missing decref on an error path. Thanks to Suman Saha for
...
finding the bug and providing a patch.
2011-09-20 14:58:01 -04:00
Barry Warsaw
916048d780
- Issue #13021 : Missing decref on an error path. Thanks to Suman Saha for
...
finding the bug and providing a patch.
2011-09-20 14:45:44 -04:00
Mark Dickinson
8f53d092f2
Merge issue #12973 list_repeat fix.
2011-09-19 19:19:50 +01:00
Mark Dickinson
c0420fd42a
Issue #12973 : Fix undefined-behaviour-inducing overflow check in list_repeat.
2011-09-19 19:18:37 +01:00
Jesus Cea
a372de8408
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:11:26 +02:00
Jesus Cea
bc566b00ad
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:08:18 +02:00
Ned Deily
86ca04ccc7
Issue #9871 : Prevent IDLE 3 crash when given byte stings
...
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:56:32 -07:00
Ned Deily
79746426c4
Issue #9871 : Prevent IDLE 3 crash when given byte stings
...
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:49:14 -07:00
Amaury Forgeot d'Arc
65604b51e0
Merge 3.2: Issue #12483 : ctypes: Fix a crash when the destruction of a callback
...
object triggers the garbage collector.
2011-09-12 21:09:12 +02:00
Amaury Forgeot d'Arc
bbe46d63ee
Issue #12483 : ctypes: Fix a crash when the destruction of a callback
...
object triggers the garbage collector.
2011-09-12 21:03:36 +02:00
Éric Araujo
faabef548d
Branch merge
2011-09-12 17:34:40 +02:00
Éric Araujo
1d7deafeea
Branch merge
2011-09-12 17:15:26 +02:00
Nadeem Vawda
64d25ddb9c
Issue #12306 : Add ZLIB_RUNTIME_VERSION to the zlib module.
...
While we're at it, also document ZLIB_VERSION.
Patch by Torsten Landschoff.
2011-09-12 00:04:13 +02:00
Benjamin Peterson
c92f6226d7
add ChainMap to __all__ ( closes #12959 )
...
Thanks July Tikhonov.
2011-09-11 12:55:34 -04:00
Éric Araujo
e6db7a3a29
Fix determination of Metadata version in packaging ( #8933 ).
...
Original patch by Filip Gruszczyński.
2011-09-10 05:22:48 +02:00
Éric Araujo
92ffc500d1
Merge fix for #8933 from 3.2
2011-09-10 04:56:44 +02:00
Jesus Cea
9af32ccb71
NEWS
2011-09-10 04:40:13 +02:00
Jesus Cea
aaa899138a
NEWS
2011-09-10 04:37:07 +02:00
Éric Araujo
13e8c8e721
Fix determination of Metadata version ( #8933 ). Patch by Filip Gruszczyński.
2011-09-10 01:51:40 +02:00
Larry Hastings
9e3e70b331
Issue #12904 : os.utime, os.futimes, os.lutimes, and os.futimesat now write
...
atime and mtime with nanosecond precision on modern POSIX platforms.
2011-09-08 19:29:07 -07:00
Victor Stinner
14d098d3ac
Issue #12852 : Set _XOPEN_SOURCE to 700 to get POSIX 2008
...
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).
2011-09-07 22:29:43 +02:00
Victor Stinner
71e44cb97f
Issue #12567 : Add curses.unget_wch() function
...
Push a character so the next get_wch() will return it.
2011-09-06 01:53:03 +02:00
Victor Stinner
d4d8ae5a42
Issue #9561 : packaging now writes egg-info files using UTF-8
...
instead of the locale encoding
2011-09-06 00:11:13 +02:00
Victor Stinner
e01aa53ea6
Merge 3.2: Issue #9561 : distutils now reads and writes egg-info files using UTF-8
...
instead of the locale encoding.
2011-09-05 23:46:05 +02:00
Victor Stinner
a1bea6e10c
Issue #9561 : distutils now reads and writes egg-info files using UTF-8
...
instead of the locale encoding.
2011-09-05 23:44:56 +02:00
Éric Araujo
b22d148065
Branch merge
2011-09-05 17:44:47 +02:00
Éric Araujo
bcf99ac665
Branch merge
2011-09-05 17:44:07 +02:00
Lars Gustäbel
24757851b7
Merge with 3.2: Issue #12841 : Fix tarfile extraction of non-existent uids/gids.
2011-09-05 16:59:44 +02:00
Lars Gustäbel
2e7ddd374b
Issue #12841 : Fix tarfile extraction of non-existent uids/gids.
...
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
2011-09-05 16:58:14 +02:00
Ezio Melotti
6a8c8a80a1
#12888 : merge with 3.2.
2011-09-05 17:15:32 +03:00
Ezio Melotti
d9e0b068af
#12888 : Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten.
2011-09-05 17:11:06 +03:00
Éric Araujo
0df628511a
Branch merge
2011-09-05 01:55:54 +02:00
Éric Araujo
17b288cdab
Branch merge
2011-09-05 01:53:52 +02:00
Georg Brandl
3484a8771c
Merge with release clone.
2011-09-04 08:35:54 +02:00
Georg Brandl
fd164c207f
Merge with 3.2.
2011-09-04 08:12:27 +02:00
Georg Brandl
e3bb2cfb7a
Typo fix.
2011-09-04 08:10:25 +02:00
Benjamin Peterson
9fd5374d4e
merge 3.2 ( #12878 )
2011-09-03 09:32:24 -04:00