doko@ubuntu.com
3b48af018f
- Issue #22176 : Fix build failure on ARM with -Werror=declaration-after-statement
2014-08-10 00:01:04 +02:00
doko@ubuntu.com
6a66f155df
- Issue #22176 : Add src/x86/win32.S for x86 libffi builds.
2014-08-09 23:52:34 +02:00
doko@ubuntu.com
736a913321
- Issue #22176 : Update the ctypes module's libffi to v3.1. This release
...
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
2014-08-09 22:36:35 +02:00
Serhiy Storchaka
4f06d604c4
Issue #22161 : Conformed arguments type checks in ctype to actually supported
...
types. Corrected error messages about bytes arguments.
2014-08-09 09:33:05 +03:00
Serhiy Storchaka
3d4b2d4df2
Issue #21975 : Fixed crash when using uninitialized sqlite3.Row (in particular
...
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
2014-08-06 17:50:39 +03:00
Serhiy Storchaka
74596a887a
Issue #21580 : Now Tkinter correctly handles bytes arguments passed to Tk.
...
In particular this allows to initialize images from binary data.
2014-07-30 18:33:13 +03:00
Richard Oudkerk
e0e65817e5
Issue #21704 : Fix build error for _multiprocessing when semaphores
...
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
2014-07-28 23:01:02 +01:00
Victor Stinner
e254e53c83
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
...
on closed socket. repr(socket.socket) already works fine.
2014-07-26 14:36:55 +02:00
Raymond Hettinger
5a2146a2fd
Issue #22044 : Fixed premature DECREF in call_tzinfo_method.
2014-07-25 14:59:48 -07:00
Victor Stinner
92639cce35
Issue #19884 , readline: calling rl_variable_bind ("enable-meta-key", "off")
...
does crash on Mac OS X which uses libedit instead of readline.
2014-07-24 22:11:38 +02:00
Victor Stinner
a3c80ce8b7
Issue #19884 : readline: Disable the meta modifier key if stdout is not a
...
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
2014-07-24 12:23:56 +02:00
Serhiy Storchaka
b1ebfdddb3
Call PyErr_NoMemory() when PyMem_Malloc() fails.
2014-07-14 12:20:15 +03:00
Victor Stinner
cd75298611
Issue #21781 , _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires
...
size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
2014-07-07 21:52:29 +02:00
Benjamin Peterson
e865128605
properly decref the return value of close()
2014-07-04 17:00:25 -07:00
Victor Stinner
e10920f0d1
Issue #21090 : io.FileIO.readall() does not ignore I/O errors anymore. Before,
...
it ignored I/O errors if at least the first C call read() succeed.
2014-07-02 22:59:31 +02:00
Victor Stinner
f18f87111b
Issue #8677 : make the zlib module "ssize_t clean" for parsing parameters
2014-07-01 16:48:12 +02:00
Victor Stinner
65a3144e54
Closes #21780 : make the unicodedata module "ssize_t clean" for parsing parameters
2014-07-01 16:45:52 +02:00
Victor Stinner
2e57b4e488
Issue #21781 : Make the ssl module "ssize_t clean" for parsing parameters.
...
ssl.RAND_add() now supports strings longer than 2 GB.
2014-07-01 16:37:17 +02:00
Victor Stinner
293f3f526d
Closes #21892 , #21893 : Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C
...
size_t, because %zi/%u is not supported on all platforms.
2014-07-01 08:57:10 +02:00
Berker Peksag
a6ec5ee3c8
Fix typo in socket.getaddrinfo() docstring.
...
Reported by Krishna Kumar Thakur on docs@.
2014-06-30 11:28:40 +03:00
Victor Stinner
297d104248
Issue #21858 : Better handling of Python exceptions in the sqlite3 module.
2014-06-26 23:32:00 +02:00
Raymond Hettinger
97d3555029
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:36:58 -07:00
Serhiy Storchaka
76d3f14e01
PyErr_NormalizeException doesn't like being called with an exception set
...
(issues #21677 , #21310 ).
2014-06-11 07:18:53 +03:00
Serhiy Storchaka
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +03:00
Serhiy Storchaka
8a8f7f9830
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:13:04 +03:00
Victor Stinner
797bcb51d0
Issue #21639 : Fix name of _testcapi test functions
2014-06-02 21:29:07 +02:00
Ned Deily
b166191886
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -07:00
Gregory P. Smith
a26987a0a5
Fix the comment to not refer to the removed end_fd parameter.
2014-06-01 13:46:36 -07:00
Gregory P. Smith
d4dcb70287
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:18:28 -07:00
Serhiy Storchaka
79851d755b
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the tkinter module on 64-bit platforms.
2014-05-30 14:24:03 +03:00
Serhiy Storchaka
47a981337a
Issue #10203 : sqlite3.Row now truly supports sequence protocol. In particulr
...
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2014-05-28 12:58:34 +03:00
Benjamin Peterson
5eb6b39210
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch by Matti Picus.
2014-05-17 14:59:12 -07:00
Serhiy Storchaka
429b59ec69
Issue #20998 : Fixed re.fullmatch() of repeated single character pattern
...
with ignore case. Original patch by Matthew Barnett.
2014-05-14 21:48:17 +03:00
Victor Stinner
e2d66903e8
Issue #21497 : faulthandler functions now raise a better error if sys.stderr is
...
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
2014-05-14 17:15:50 +02:00
Victor Stinner
e1e04ad8aa
Backed out changeset 6ceedbd88b5f
2014-05-14 17:12:27 +02:00
Victor Stinner
b78c448f4b
Issue #21488 : Add support of keyword arguments for codecs.encode and codecs.decode
2014-05-14 17:10:45 +02:00
Benjamin Peterson
23a192d963
use logical rather than bit and
2014-05-11 16:17:02 -07:00
Tim Peters
5fbc7b12f7
Issue #21435 : Segfault in gc with cyclic trash
...
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
2014-05-08 17:42:19 -05:00
Antoine Pitrou
c644e7c39f
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:24:50 +02:00
Larry Hastings
9147a9697a
Issue #21088 : Bugfix for curses.window.addch() regression in 3.4.0.
...
In porting to Argument Clinic, the first two arguments were reversed.
2014-05-04 04:41:18 -07:00
Raymond Hettinger
c9926088dd
Issue 21375: Fix possible Py_ssizet overflow in heapq.
2014-05-03 15:22:07 -07:00
Stefan Krah
8fb74a35da
Issue #21374 : Fix pickling of DecimalTuple.
2014-04-29 18:24:50 +02:00
Antoine Pitrou
26f82efe59
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
doko@ubuntu.com
4a173bc4ed
Fixes for KFreeBSD and the Hurd:
...
- Issue #21274 : Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
- Issue #21276 : posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
- Issue #21275 : Fix a socket test on KFreeBSD.
2014-04-17 19:47:16 +02:00
Andrew Kuchling
764662020b
#15840 : make docs consistent by saying operations on closed files raise ValueError.
...
Patch by Caelyn McAulay.
Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementations have a macro to check for the stream being closed, and
these macros all raised ValueError. If we find any, a new bug should
be opened.
2014-04-15 21:11:36 -04:00
Gregory P. Smith
efeb9da4ae
Add conditional code for android's lack of definition of SYS_getdent64.
...
Fixes issue20307. No Misc/NEWS entry because frankly this is an
esoteric platform for anyone to be figuring out how to cross compile
CPython for.
2014-04-14 13:31:21 -07:00
Benjamin Peterson
70d92a96ab
merge 3.3
2014-04-14 11:48:21 -04:00
Benjamin Peterson
9beee049b0
merge 3.2
2014-04-14 11:46:51 -04:00
Benjamin Peterson
6ef2b36afa
disallow a negative idx parameter
2014-04-14 11:45:21 -04:00
Benjamin Peterson
584f5cbf16
merge 3.3
2014-04-13 22:31:42 -04:00