cpython/Modules
Georg Brandl 6aa2d1fec7 Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65459 | gregory.p.smith | 2008-08-04 00:13:29 +0000 (Mon, 04 Aug 2008) | 4 lines

  - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword
    argument in python 2.5, this broke code that subclassed Popen to include its
    own poll method.  Fixed my moving _deadstate to an _internal_poll method.
........
  r65472 | andrew.kuchling | 2008-08-04 01:43:43 +0000 (Mon, 04 Aug 2008) | 3 lines

  Bug 3228: Explicitly supply the file mode to avoid creating executable files,
  and add corresponding tests.
  Possible 2.5 backport candidate
........
  r65481 | gregory.p.smith | 2008-08-04 07:33:37 +0000 (Mon, 04 Aug 2008) | 22 lines

  Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls
  key list data structure in the thread startup path.

  This change is a companion to r60148 which already successfully dealt with a
  similar issue on thread shutdown.

  In particular this loop has been observed happening from this call path:
   #0  in find_key ()
   #1  in PyThread_set_key_value ()
   #2  in _PyGILState_NoteThreadState ()
   #3  in PyThreadState_New ()
   #4  in t_bootstrap ()
   #5  in pthread_start_thread ()

  I don't know how this happens but it does, *very* rarely.  On more than
  one hardware platform.  I have not been able to reproduce it manually.
  (A flaky mutex implementation on the system in question is one hypothesis).

  As with r60148, the spinning we managed to observe in the wild was due to a
  single list element pointing back upon itself.
........
  r65518 | mark.dickinson | 2008-08-04 21:30:09 +0000 (Mon, 04 Aug 2008) | 7 lines

  Issue #1481296: (again!) Make conversion of a float NaN to an int or
  long raise ValueError instead of returning 0.  Also, change the error
  message for conversion of an infinity to an integer, replacing 'long' by
  'integer', so that it's appropriate for both long(float('inf')) and
  int(float('inf')).
........
  r65536 | andrew.kuchling | 2008-08-05 01:00:57 +0000 (Tue, 05 Aug 2008) | 1 line

  Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available
........
  r65581 | guido.van.rossum | 2008-08-07 18:51:38 +0000 (Thu, 07 Aug 2008) | 3 lines

  Patch by Ian Charnas from issue 3517.
  Add F_FULLFSYNC if it exists (OS X only so far).
........
  r65609 | antoine.pitrou | 2008-08-09 17:22:25 +0000 (Sat, 09 Aug 2008) | 3 lines

  #3205: bz2 iterator fails silently on MemoryError
........
  r65637 | georg.brandl | 2008-08-11 09:07:59 +0000 (Mon, 11 Aug 2008) | 3 lines

  - Issue #3537: Fix an assertion failure when an empty but presized dict
    object was stored in the freelist.
........
  r65641 | jesse.noller | 2008-08-11 14:28:07 +0000 (Mon, 11 Aug 2008) | 2 lines

  Remove the fqdn call for issue 3270
........
  r65644 | antoine.pitrou | 2008-08-11 17:21:36 +0000 (Mon, 11 Aug 2008) | 3 lines

  #3134: shutil referenced undefined WindowsError symbol
........
  r65645 | jesse.noller | 2008-08-11 19:00:15 +0000 (Mon, 11 Aug 2008) | 2 lines

  Fix the connection refused error part of issue 3419, use errno module instead of a static list of possible connection refused messages.
........
2008-08-12 08:35:52 +00:00
..
_ctypes Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_multiprocessing Merged revisions 65385 via svnmerge from 2008-08-02 03:17:02 +00:00
_sqlite Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
cjkcodecs Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +00:00
_bisectmodule.c Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 via svnmerge from 2008-07-31 16:23:04 +00:00
_bsddb.c #3247 Get rid of Py_FindMethod; use tp_members instead. 2008-07-02 20:50:16 +00:00
_bytesio.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
_codecsmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
_collectionsmodule.c Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 via svnmerge from 2008-07-31 16:23:04 +00:00
_csv.c Merged revisions 64114 via svnmerge from 2008-06-18 00:47:36 +00:00
_curses_panel.c #3247: get rid of Py_FindMethod 2008-07-02 22:38:47 +00:00
_cursesmodule.c #3247: get rid of Py_FindMethod 2008-07-02 22:38:47 +00:00
_dbmmodule.c #3247: get rid of Py_FindMethod 2008-07-02 22:38:47 +00:00
_elementtree.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_fileio.c Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
_functoolsmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
_gdbmmodule.c #3247: get rid of Py_FindMethod 2008-07-02 22:38:47 +00:00
_gestalt.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_hashopenssl.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_heapqmodule.c Remove 2.6 compatibility code: 2008-06-17 21:25:35 +00:00
_json.c Merged revisions 65147 via svnmerge from 2008-07-19 22:26:35 +00:00
_localemodule.c Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-65099,65127-65128,65131,65133-65136,65139,65149-65151,65155,65158-65159,65176-65178,65183-65184,65187-65190,65192,65194 via svnmerge from 2008-07-23 16:10:53 +00:00
_lsprof.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_pickle.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_randommodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
_sre.c Merged revisions 65544 via svnmerge from 2008-08-06 19:29:14 +00:00
_ssl.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_stringio.c Issue 2918: Merge StringIO and cStringIO. 2008-06-11 22:58:36 +00:00
_struct.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_testcapimodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_threadmodule.c #3247 Get rid of Py_FindMethod; use tp_members instead. 2008-07-02 20:50:16 +00:00
_tkinter.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
_weakref.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Merged revisions 65182 via svnmerge from 2008-07-23 16:13:07 +00:00
atexitmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
audioop.c Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
binascii.c Merged revisions 64114 via svnmerge from 2008-06-18 00:47:36 +00:00
bsddb.h Merged revisions 59488-59511 via svnmerge from 2007-12-15 01:27:15 +00:00
bz2module.c Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
cmathmodule.c Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
config.c.in Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
cryptmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
datetimemodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
errnomodule.c Merged revisions 64214 via svnmerge from 2008-06-13 01:09:34 +00:00
fcntlmodule.c Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
fpectlmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
fpetestmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 2008-07-16 12:55:28 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Change command line processing API to use wchar_t. 2008-04-05 20:41:37 +00:00
grpmodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
itertoolsmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
main.c Remove meaning of -ttt, but still accept -t option on cmdline for compatibility. 2008-06-04 13:06:58 +00:00
makesetup Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge from 2008-08-01 08:16:13 +00:00
md5module.c Fix module initialization glitches. 2008-06-11 05:37:58 +00:00
mmapmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
nismodule.c Merged revisions 64685 via svnmerge from 2008-07-02 23:44:19 +00:00
operator.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
ossaudiodev.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
parsermodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
posixmodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
pwdmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
pyexpat.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
python.c Change command line processing API to use wchar_t. 2008-04-05 20:41:37 +00:00
readline.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
resource.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Merged revisions 65182 via svnmerge from 2008-07-23 16:13:07 +00:00
Setup.config.in Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
Setup.dist Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
sha1module.c Fix module initialization glitches. 2008-06-11 05:37:58 +00:00
sha256module.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
sha512module.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
signalmodule.c Merged revisions 64212 via svnmerge from 2008-06-13 00:26:50 +00:00
socketmodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
socketmodule.h Merged revisions 64267-64272 via svnmerge from 2008-06-14 11:59:52 +00:00
spwdmodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
symtablemodule.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
syslogmodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
termios.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
timemodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
tkappinit.c Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
unicodedata_db.h Merged revisions 64226 via svnmerge from 2008-06-13 07:50:45 +00:00
unicodename_db.h Issue #3282: str.isprintable() should return False for undefined Unicode characters. 2008-07-04 15:55:02 +00:00
xxmodule.c Correct a typo that breaks test_distutils 2008-07-02 23:22:30 +00:00
xxsubtype.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
yuv.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuvconvert.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
zipimport.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
zlibmodule.c #3247 Get rid of Py_FindMethod; use tp_members instead. 2008-07-02 20:50:16 +00:00