Mark Dickinson
9fade768c8
Issue #13863 : fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
13 years ago
Trent Nelson
25a48610a8
Make PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)
13 years ago
Jesus Cea
7ddd9c21da
Closes #16588 : Silence unused-but-set warnings in Python/thread_pthread.h
13 years ago
Mark Dickinson
b1cc6aa2df
Issue #9011 : AST creation no longer modifies CST for negated numeric literals.
13 years ago
Ezio Melotti
ec6486d52d
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
13 years ago
Ezio Melotti
db5947f0f3
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
13 years ago
Hynek Schlawack
b271b3e188
Issue #15001 : fix segfault on "del sys.modules['__main__']"
Patch by Victor Stinner.
13 years ago
Ezio Melotti
c18cc0edff
#5057 : the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
13 years ago
Nick Coghlan
b48c028ca7
Issue #6074 : Restore the long-broken support for running with read-only source files on Windows
13 years ago
Chris Jerdonek
ad4b000179
Issue #14783 : Backport changes from 3.2.
14 years ago
Christian Heimes
dfaf90da9c
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
14 years ago
Christian Heimes
65a0141e14
Partly revert ad3824a90261 and add comment about reference ownership
14 years ago
Christian Heimes
d8edcb6505
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
14 years ago
Christian Heimes
8c1bce00d2
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
14 years ago
Antoine Pitrou
e299cae230
Issue #15340 : Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
14 years ago
Antoine Pitrou
58098a77e6
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
14 years ago
Stefan Krah
a8857af37b
Issue #15741 : Fix potential NULL dereference. Found by Coverity.
14 years ago
Antoine Pitrou
c5bef75c77
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
14 years ago
Matthias Klose
92636bf243
- Issue #15647 : Make isdir static for windows and posix
14 years ago
Raymond Hettinger
dee8af225b
Fix whitespace
14 years ago
R David Murray
59488d233b
Closes #9254 : backport __import__ docstring/doc mentions of importlib.
Patch by Éric Araujo.
14 years ago
Meador Inge
0e3755e58a
remove unused variable
14 years ago
Meador Inge
b8a569065e
Issue #15368 : fixing variable typo.
14 years ago
Meador Inge
6642d1f97d
Issue #15368 : make bytecode generation deterministic.
14 years ago
Martin v. Löwis
ed11a5d018
Issue #8767 : Restore building with --disable-unicode.
Original patch by Stefano Taschini.
14 years ago
Antoine Pitrou
284fa08eb7
Issue #14761 : Fix potential leak on an error case in the import machinery.
14 years ago
Gregory P. Smith
a72aa843b6
Fix compiler warning related to issue #14331 . harmless.
14 years ago
Benjamin Peterson
7c0b44ec17
move outside WITH_THREAD conditional
14 years ago
Benjamin Peterson
6688eb536a
take linkage def outside of WITH_THREAD conditional ( closes #14569 )
14 years ago
Benjamin Peterson
b9348e76e4
fix parse_syntax_error to clean up its resources
14 years ago
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
14 years ago
Benjamin Peterson
219a05094b
this should technicaly be identifier
14 years ago
Benjamin Peterson
e90cdaa185
check for NULL
14 years ago
Benjamin Peterson
eff19a13ed
check by equality for __future__ not identity ( closes #14378 )
14 years ago
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.
14 years ago
Matthias Klose
3cef2a931c
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
14 years ago
Jason R. Coombs
0e17dfbdcf
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
14 years ago
Barry Warsaw
74f4bd53e0
Bump some more copyright years (as per PEP 101), since this is the first
release of 2.6 for 2012.
14 years ago
Antoine Pitrou
776af4002b
Fix crash at startup with -W options.
14 years ago
Antoine Pitrou
cc3fa88a9c
Fix crash at startup with -W options.
14 years ago
Benjamin Peterson
26da920001
ensure no one tries to hash things before the random seed is found
14 years ago
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.
14 years ago
Petri Lehtinen
fe6f9d0edc
Document absoluteness of sys.executable
Closes #13402 .
14 years ago
Antoine Pitrou
6f25d75f25
Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more.
14 years ago
Antoine Pitrou
b744cef654
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
14 years ago
Antoine Pitrou
11cc480ed0
Temporary debug for Windows buildbots.
14 years ago
Antoine Pitrou
0e5fd59a27
Make guard more dynamic (apparently the size of a filesystem timestamp may vary under Windows).
14 years ago
Antoine Pitrou
d1c818a9c0
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
14 years ago
Jason R. Coombs
0737b7281e
Fix indentation
14 years ago
Jason R. Coombs
fa93cf8e3e
Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727.
14 years ago