Commit Graph

3189 Commits

Author SHA1 Message Date
Martin v. Löwis
ed11a5d018 Issue #8767: Restore building with --disable-unicode.
Original patch by Stefano Taschini.
2012-05-20 10:42:17 +02:00
Antoine Pitrou
284fa08eb7 Issue #14761: Fix potential leak on an error case in the import machinery. 2012-05-09 13:24:31 +02:00
Gregory P. Smith
a72aa843b6 Fix compiler warning related to issue #14331. harmless. 2012-04-18 16:41:56 -07:00
Benjamin Peterson
7c0b44ec17 move outside WITH_THREAD conditional 2012-04-13 18:06:36 -04:00
Benjamin Peterson
6688eb536a take linkage def outside of WITH_THREAD conditional (closes #14569) 2012-04-13 11:58:27 -04:00
Benjamin Peterson
b9348e76e4 fix parse_syntax_error to clean up its resources 2012-04-03 00:30:38 -04:00
Kristján Valur Jónsson
50b6778bda Issue #10538. Put a reference to the source object in the Py_buffer when
converting the old buffer for PyArgs_ParseTuple with *s
2012-03-22 16:35:37 +00:00
Benjamin Peterson
219a05094b this should technicaly be identifier 2012-03-22 10:39:16 -04:00
Benjamin Peterson
e90cdaa185 check for NULL 2012-03-22 08:56:15 -04:00
Benjamin Peterson
eff19a13ed check by equality for __future__ not identity (closes #14378) 2012-03-22 08:19:04 -04:00
Gregory P. Smith
fcdf04becc Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.
2012-03-18 16:07:10 -07:00
Matthias Klose
3cef2a931c - rename configure.in to configure.ac
- change references from configure.in to configure.ac
2012-03-14 23:39:33 +01:00
Jason R. Coombs
0e17dfbdcf Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again. 2012-03-08 09:56:00 -05:00
Jason R. Coombs
0737b7281e Fix indentation 2012-01-13 17:59:05 -05:00
Jason R. Coombs
fa93cf8e3e Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727. 2012-01-13 17:37:18 -05:00
Jason R. Coombs
925ff7495b Moved directory detection into an isdir function 2012-01-13 17:12:25 -05:00
Antoine Pitrou
cc3fa88a9c Fix crash at startup with -W options. 2012-02-21 20:42:48 +01:00
Benjamin Peterson
9d7601fcea merge 2.6 2012-02-21 11:24:21 -05:00
Benjamin Peterson
26da920001 ensure no one tries to hash things before the random seed is found 2012-02-21 11:08:50 -05:00
Benjamin Peterson
aee9dfba4a merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Petri Lehtinen
fe6f9d0edc Document absoluteness of sys.executable
Closes #13402.
2012-02-02 21:26:05 +02:00
Antoine Pitrou
6f25d75f25 Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more. 2012-01-25 15:38:32 +01:00
Antoine Pitrou
b744cef654 Fix temporary debug output (so, time_t is 8 bytes on some Windows builds) 2012-01-25 14:57:56 +01:00
Antoine Pitrou
11cc480ed0 Temporary debug for Windows buildbots. 2012-01-25 14:39:21 +01:00