cpython/Modules
Victor Stinner 31bf2d5073 Issue #23834: Add sock_call() helper function
The BEGIN_SELECT_LOOP and END_SELECT_LOOP macros of socketmodule.c don't handle
EINTR. Functions using these macros use an inner loop to handle EINTR, but they
don't recompute the timeout.

This changes replaces the two macros with a new sock_call() function which
takes a function as a parameter. sock_call() recomputes the timeout, handle
false positive and handle EINTR.
2015-04-01 21:57:09 +02:00
..
_ctypes Issue #23765: Remove IsBadStringPtr calls in ctypes 2015-03-24 23:28:54 -07:00
_decimal Issue #23641: Cleaned out legacy dunder names from tests and docs. 2015-03-12 22:01:30 +02:00
_io Issue #23752: _Py_fstat() is now responsible to raise the Python exception 2015-03-30 10:09:31 +02:00
_multiprocessing Issue #21704: Fix build error for _multiprocessing when semaphores 2014-07-28 23:01:02 +01:00
_sqlite Issue #13583: sqlite3.Row now supports slice indexing. 2015-03-31 13:33:11 +03:00
cjkcodecs Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat 2015-03-17 17:48:27 +01:00
clinic Issue #22832: Tweaked parameter names for fcntl module to better match 2015-03-20 20:04:21 +02:00
expat merge 3.3 (#19186) 2014-02-04 10:12:18 -05:00
zlib Issue #18527: Upgrade internal copy of zlib to 1.2.8 2013-10-21 12:03:09 +02:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
Setup.config.in Issue #21076: the C signal module has been renamed to _signal 2014-04-04 16:30:04 +02:00
Setup.dist Issue #5309: distutils' build and build_ext commands now accept a ``-j`` 2014-09-26 23:31:59 +02:00
_bisectmodule.c Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. 2013-11-07 18:46:53 +01:00
_bz2module.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
_codecsmodule.c Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and 2015-03-20 09:00:36 +02:00
_collectionsmodule.c Issue 23793: Add deque support for __add__(), __mul__(), and __imul__(). 2015-03-31 08:12:23 -07:00
_cryptmodule.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_csv.c Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. 2015-03-30 09:09:54 +03:00
_curses_panel.c Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure 2013-07-18 02:31:21 +02:00
_cursesmodule.c Removed redundant casts to `char *`. 2014-09-28 11:27:24 +03:00
_datetimemodule.c Issue #22117: Fix rounding of fromtimestamp() methods of datetime.datetime and 2015-03-30 01:10:14 +02:00
_dbmmodule.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_elementtree.c Issue #23450: Fixed possible integer overflows. 2015-02-16 20:52:17 +02:00
_functoolsmodule.c Issue #7830: Flatten nested functools.partial. 2015-03-01 15:08:17 -05:00
_gdbmmodule.c Close #19282: Native context management in dbm 2013-11-17 15:59:51 +10:00
_hashopenssl.c Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8. 2015-01-03 23:21:21 +01:00
_heapqmodule.c Factor common code into internal functions. 2014-06-14 16:43:35 -07:00
_json.c Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat 2015-03-17 17:48:27 +01:00
_localemodule.c Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer 2015-02-16 13:28:22 +02:00
_lsprof.c Issue #21863: cProfile now displays the module name of C extension functions, in addition to their own name. 2014-06-27 23:49:29 -04:00
_lzmamodule.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
_math.c Fix typo. 2014-10-28 22:24:46 +01:00
_math.h
_opcode.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_operator.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04:00
_pickle.c Issue #23611: Serializing more "lookupable" objects (such as unbound methods 2015-03-31 14:07:24 +03:00
_posixsubprocess.c Issue #23836: Use _Py_write_noraise() to retry on EINTR in child_exec() of 2015-04-01 18:35:53 +02:00
_randommodule.c Improve struct cache locality by bring commonly accessed fields close together. 2015-02-20 00:50:04 -08:00
_scproxy.c Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat 2015-03-17 17:48:27 +01:00
_sre.c Issue #14260: The groupindex attribute of regular expression pattern object 2015-03-30 01:01:48 +03:00
_ssl.c Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING 2015-03-30 03:49:14 +02:00
_ssl_data.h Issue #23248: Update ssl error codes from latest OpenSSL git master. 2015-01-18 17:39:32 +01:00
_stat.c Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
_struct.c Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:25:42 +02:00
_testbuffer.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
_testcapimodule.c Issue #22117, issue #23485: Fix _PyTime_AsMilliseconds() and 2015-04-01 17:47:07 +02:00
_testimportmultiple.c
_threadmodule.c PEP 475: on EINTR, retry the function even if the timeout is equals to zero 2015-03-30 21:33:51 +02:00
_tkinter.c Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. 2015-03-23 00:47:45 +02:00
_tracemalloc.c Merge 3.4 (tracemalloc typo) 2015-03-18 16:05:32 +01:00
_weakref.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_winapi.c Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks. 2015-03-02 08:01:10 -08:00
addrinfo.h
ar_beos
arraymodule.c Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer() 2015-02-03 21:43:23 +01:00
atexitmodule.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
audioop.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
binascii.c Issue #13637: Improve exception message of a2b_* functions. 2015-02-15 00:31:00 +02:00
cmathmodule.c Regenerated Argument Clinic checksums. 2015-02-20 12:46:11 +02:00
config.c.in
errnomodule.c
faulthandler.c Issue #23836: Fix the faulthandler module to handle reentrant calls 2015-04-01 18:48:58 +02:00
fcntlmodule.c Issue #22832: Tweaked parameter names for fcntl module to better match 2015-03-20 20:04:21 +02:00
fpectlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpetestmodule.c
gc_weakref.txt
gcmodule.c Issue #22117: The gc module now uses _PyTime_t timestamp 2015-03-27 17:47:53 +01:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c 2015-03-24 12:16:28 +01:00
grpmodule.c merge with 3.4 2014-10-02 08:35:31 +02:00
hashlib.h Closes #18627: merge from 3.3 2013-08-01 22:13:30 -07:00
hashtable.c Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C 2014-07-01 08:57:10 +02:00
hashtable.h Issue #21036: Fix typo in macro name 2014-03-24 22:34:34 +01:00
itertoolsmodule.c Issue #22883: Got rid of outdated references to PyInt and PyString in comments. 2015-02-17 10:14:30 +02:00
ld_so_aix.in
ld_so_beos
main.c Issue #23752: _Py_fstat() is now responsible to raise the Python exception 2015-03-30 10:09:31 +02:00
makesetup Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
makexp_aix
mathmodule.c Issue #23641: Cleaned out legacy dunder names from tests and docs. 2015-03-12 22:01:30 +02:00
md5module.c Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. 2014-07-27 14:20:23 +02:00
mmapmodule.c Issue #23752: _Py_fstat() is now responsible to raise the Python exception 2015-03-30 10:09:31 +02:00
nismodule.c Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat 2015-03-17 17:48:27 +01:00
ossaudiodev.c Issue #23709, #23001: ossaudiodev now uses Py_ssize_t for sizes instead of int 2015-03-20 10:37:34 +01:00
overlapped.c asyncio, _overlapped.ConnectPipe(): release the GIL 2015-01-26 22:43:39 +01:00
parsermodule.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
posixmodule.c Issue #23752: _Py_fstat() is now responsible to raise the Python exception 2015-03-30 10:09:31 +02:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c Issue #20152: Port the pwd module to Argument Clinic. 2014-08-22 14:03:51 -04:00
pyexpat.c Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat 2015-03-17 17:48:27 +01:00
readline.c Issue 22940: fixes to editline support 2014-11-26 13:02:33 -08:00
resource.c Issue #19343: Expose FreeBSD-specific APIs in resource module. Original patch by Koobs. 2013-12-08 14:35:55 +01:00
rotatingtree.c
rotatingtree.h
selectmodule.c Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal 2015-03-31 12:10:33 +02:00
sha1module.c Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. 2014-07-27 14:20:23 +02:00
sha256module.c Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. 2014-07-27 14:20:23 +02:00
sha512module.c Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. 2014-07-27 14:20:23 +02:00
signalmodule.c Issue #23836: Use _Py_write_noraise() to retry on EINTR in trip_signal() of 2015-04-01 18:35:22 +02:00
socketmodule.c Issue #23834: Add sock_call() helper function 2015-04-01 21:57:09 +02:00
socketmodule.h Issue #22117: The socket module uses _PyTime_t timestamp for timeouts 2015-03-28 01:18:54 +01:00
spwdmodule.c Fix a missing #include. 2014-08-22 14:01:56 -04:00
sre.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_constants.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_lib.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
symtablemodule.c merge 3.3 (#19393) 2013-10-26 13:22:08 -04:00
syslogmodule.c Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00
termios.c
testcapi_long.h
timemodule.c PEP 475: on EINTR, retry the function even if the timeout is equals to zero 2015-03-30 21:33:51 +02:00
tkappinit.c Issue #4350: Removed a number of out-of-dated and non-working for a long time 2014-07-23 22:33:50 +03:00
tkinter.h
unicodedata.c merge 3.3 (#23367) 2015-03-02 11:18:40 -05:00
unicodedata_db.h upgrade to unicode 7.0.0 2014-07-06 13:04:20 -07:00
unicodename_db.h upgrade to unicode 7.0.0 2014-07-06 13:04:20 -07:00
winreparse.h Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman 2014-05-05 19:46:17 +01:00
xxlimited.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
xxmodule.c Make indentation consistent 2013-01-01 07:41:51 -08:00
xxsubtype.c
zipimport.c Issue #23696: Chain ZipImportError to the OSError 2015-03-20 10:52:25 +01:00
zlibmodule.c Issue #8677: make the zlib module "ssize_t clean" for parsing parameters 2014-07-01 16:48:12 +02:00

README

Source files for standard library extension modules,
and former extension modules that are now builtin modules.