summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
|\ \ \ | |/ / | | | | | | types. Corrected error messages about bytes arguments.
| * | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
| | | | | | | | | | | | types. Corrected error messages about bytes arguments.
* | | Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵Antoine Pitrou2014-08-061-0/+16
| | | | | | | | | | | | type) can now be weakref'ed. Patch by Wei Wu.
* | | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
|\ \ \ | |/ / | | | | | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
| * | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
| | | | | | | | | | | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
* | | Closes #22136: Fix MSVC compiler warnings introduced by #22085Zachary Ware2014-08-051-7/+7
| | |
* | | Issue #22127: fix typo.Martin v. Löwis2014-08-051-1/+1
| | |
* | | Issue #22127: Bypass IDNA for pure-ASCII host names (in particular for ↵Martin v. Löwis2014-08-051-10/+75
| | | | | | | | | | | | numeric IPs).
* | | Issue #22120: For functions using an unsigned integer return converter,Larry Hastings2014-08-052-8/+8
| | | | | | | | | | | | | | | Argument Clinic now generates a cast to that type for the comparison to -1 in the generated code. (This supresses a compilation warning.)
* | | More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.Larry Hastings2014-08-051-2/+2
| | |
* | | Fix for AMD FreeBSD 9 buildbot (hopefully), broken by my last checkin.Larry Hastings2014-08-051-1/+0
| | |
* | | Issue #20170: Convert posixmodule to use Argument Clinic.Larry Hastings2014-08-051-2929/+8298
| | |
* | | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, renameVictor Stinner2014-08-012-10/+10
| | | | | | | | | | | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions.
* | | timemodule.c: Replace PyExc_IOError with PyExc_OSErrorVictor Stinner2014-07-311-5/+5
| | |
* | | Issue #22085: Dropped support of Tk 8.3 in Tkinter.Serhiy Storchaka2014-07-301-26/+13
| | |
* | | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
|\ \ \ | |/ / | | | | | | In particular this allows to initialize images from binary data.
| * | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
| | | | | | | | | | | | In particular this allows to initialize images from binary data.
* | | Issue #22003: When initialized from a bytes object, io.BytesIO() nowAntoine Pitrou2014-07-291-51/+151
| | | | | | | | | | | | | | | | | | | | | defers making a copy until it is mutated, improving performance and memory use on some use cases. Patch by David Wilson.
* | | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.Victor Stinner2014-07-291-18/+165
| | | | | | | | | | | | A side effect is that Python depends to the WinSock library.
* | | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get andVictor Stinner2014-07-291-0/+54
| | | | | | | | | | | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows.
* | | Issue #21704: Merge.Richard Oudkerk2014-07-281-0/+2
|\ \ \ | |/ /
| * | Issue #21704: Fix build error for _multiprocessing when semaphoresRichard Oudkerk2014-07-281-0/+2
| | | | | | | | | | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
* | | Issue #22076: Minor grammar fix.Berker Peksag2014-07-271-2/+2
| | | | | | | | | | | | Patch by Martin Matusiak.
* | | Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic.Martin v. Löwis2014-07-274-158/+696
| | | | | | | | | | | | Patch by Vajrasky Kok.
* | | (Merge 3.4) Fix repr(_socket.socket) on Windows 64-bit: don't fail withVictor Stinner2014-07-261-2/+9
|\ \ \ | |/ / | | | | | | OverflowError on closed socket. repr(socket.socket) already works fine.
| * | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-261-2/+9
| | | | | | | | | | | | on closed socket. repr(socket.socket) already works fine.
* | | mergeRaymond Hettinger2014-07-251-7/+7
|\ \ \ | |/ /
| * | Issue #22044: Fixed premature DECREF in call_tzinfo_method.Raymond Hettinger2014-07-251-7/+7
| | |
* | | Issue #18093: Factor out the programs that embed the runtimeNick Coghlan2014-07-254-361/+2
| | |
* | | Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/Victor Stinner2014-07-241-136/+19
| | |
* | | (Merge 3.4) Issue #19884, readline: calling rl_variable_bindVictor Stinner2014-07-241-1/+5
|\ \ \ | |/ / | | | | | | | | | ("enable-meta-key", "off") does crash on Mac OS X which uses libedit instead of readline.
| * | Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")Victor Stinner2014-07-241-1/+5
| | | | | | | | | | | | does crash on Mac OS X which uses libedit instead of readline.
* | | tetsVictor Stinner2014-07-241-19/+136
| | |
* | | (Merge 3.4) Issue #19884: readline: Disable the meta modifier key if stdout isVictor Stinner2014-07-241-0/+11
|\ \ \ | |/ / | | | | | | | | | | | | 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.
| * | Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-241-0/+11
| | | | | | | | | | | | | | | | | | 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.
* | | Issue #22042: Avoid dangerous C cast in socket.setblocking()Victor Stinner2014-07-231-2/+5
| | | | | | | | | | | | Avoid cast from (int*) to (u_long*), even if sizeof(int) == sizeof(u_long).
* | | Issue #4350: Removed a number of out-of-dated and non-working for a long timeSerhiy Storchaka2014-07-231-19/+0
| | | | | | | | | | | | Tkinter methods.
* | | Issue #22018: signal.set_wakeup_fd() now raises an OSError instead of aVictor Stinner2014-07-211-3/+11
| | | | | | | | | | | | ValueError on fstat() failure.
* | | Issue #22018: Add _testcapi.raise_signal()Victor Stinner2014-07-212-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | - Use _testcapi.raise_signal() in test_signal - close also os.pipe() file descriptors in some test_signal tests where they were not closed properly - Remove faulthandler._sigill() and faulthandler._sigbus(): reuse _testcapi.raise_signal() in test_faulthandler
* | | Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
|\ \ \ | |/ /
| * | Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
| | |
* | | Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead ofVictor Stinner2014-07-111-6/+13
| | | | | | | | | | | | | | | | | | :c:type:`int` for the size to support reading more than 2 GB at once. On Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS may read less bytes than the number of requested bytes.
* | | Fix compilation failure (followup to #21803)Antoine Pitrou2014-07-071-3/+3
| | |
* | | (Merge 3.4) Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" formatVictor Stinner2014-07-071-1/+1
|\ \ \ | |/ / | | | | | | requires size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
| * | Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requiresVictor Stinner2014-07-071-1/+1
| | | | | | | | | | | | size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
| * | properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
| | |
* | | upgrade to unicode 7.0.0Benjamin Peterson2014-07-062-22467/+25009
| | |
* | | properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
| | |
* | | (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errorsVictor Stinner2014-07-021-2/+2
|\ \ \ | |/ / | | | | | | | | | anymore. Before, it ignored I/O errors if at least the first C call read() succeed.
| * | Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,Victor Stinner2014-07-021-2/+2
| | | | | | | | | | | | it ignored I/O errors if at least the first C call read() succeed.