Serhiy Storchaka
fb7c38040e
Fixed compilation error introduced in 3f7519f633ed (issue #22518 ).
2014-10-04 14:51:44 +03:00
Serhiy Storchaka
d524922bdc
Issue #22518 : Fixed integer overflow issues in "backslashreplace" and
...
"xmlcharrefreplace" error handlers.
2014-10-04 14:14:41 +03:00
Serhiy Storchaka
7d96a09aca
Fixed reference leak in the "backslashreplace" error handler.
2014-09-23 19:58:57 +03:00
Benjamin Peterson
57057a6624
PEP 466: backport persistent urandom fd ( closes #21305 )
...
Patch from Alex Gaynor.
2014-08-28 12:30:00 -04:00
Serhiy Storchaka
c95f51a953
Issue #22193 : Added private function _PySys_GetSizeOf() needed to implement
...
some __sizeof__() methods.
2014-08-14 22:20:23 +03:00
Benjamin Peterson
b6f0d0531b
remove casts
2014-08-09 19:39:55 -07:00
Benjamin Peterson
d2903bd682
restore runtime exec test ( #21591 )
2014-08-09 19:39:36 -07:00
Dirkjan Ochtman
9b1d670361
Issue #21591 : Handle exec backwards compatibility in the AST builder.
...
Instead of deferring until runtime. This makes sure we hit the right
conditions in dealing with unqualified exec statements.
Reviewed by Victor Stinner. Test follows in a later commit.
2014-07-29 17:21:39 +02:00
Benjamin Peterson
0fb88f7c51
correct ref counting of default_action ( closes #22017 )
2014-07-20 13:04:11 -07:00
Benjamin Peterson
ee5729dbf9
add missing 'because' ( closes #22008 )
...
Patch from A Kaptur.
2014-07-18 16:25:13 -07:00
Benjamin Peterson
3232384e1e
revert tstate_delete_common, since it's pretty much wrong
2014-06-17 00:34:14 -07:00
Benjamin Peterson
81669697aa
avoid a deadlock with the interpreter head lock and the GIL during finalization
2014-06-16 23:07:49 -07:00
Benjamin Peterson
1c78e6d96f
check if the thread is finalizing after retaking the GIL
2014-06-16 22:59:07 -07:00
Benjamin Peterson
c0bc4eff50
avoid crashes and lockups from daemon threads during interpreter shutdown ( #1856 )
2014-06-16 19:39:18 -07:00
Terry Jan Reedy
9f2dcd227c
Issue #19362 : Tweek len() doc and docstring to expand the indicated range of
...
arguments. Original patch by Gareth Rees.
2014-06-16 03:05:30 -04:00
Serhiy Storchaka
79fa98af9e
Issue #19656 : Running Python with the -3 option now also warns about
...
non-ascii bytes literals.
2014-06-01 22:13:39 +03:00
Antoine Pitrou
ab4a69158b
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Serhiy Storchaka
98a9722e4a
Issue #20437 : Fixed 43 potential bugs when deleting objects references.
2014-02-09 13:14:04 +02:00
Benjamin Peterson
8363f77795
fix error check
2014-01-16 16:56:22 -05:00
Benjamin Peterson
1aeb8cfcfd
update copyright year
2013-12-31 22:02:22 -06:00
Serhiy Storchaka
15df36bb14
Issue #16404 : Add checks for return value of PyInt_FromLong() in
...
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:09:45 +02:00
Serhiy Storchaka
0585418b0d
Fixed leak in sys.flags initialization.
2013-12-17 14:59:29 +02:00
Mark Dickinson
c2f8c81af0
Issue #19638 : Raise ValueError instead of crashing when converting billion character strings to float.
2013-11-26 16:38:25 +00:00
Christian Heimes
51c4d72d43
Issue #18603 : Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
...
Python executable and not removed by the linker's optimizer.
2013-10-22 10:22:29 +02:00
Georg Brandl
c0edadee84
Closes #15213 : update comment for _PyOS_URandom
2013-10-06 18:43:19 +02:00
Ezio Melotti
08350fb639
#18839 : document that sys.exit() will not accept a non-integer numeric value as exit status.
2013-08-26 14:00:39 +03:00
Serhiy Storchaka
a9885e93ee
Issue #13461 : Fix a crash in the TextIOWrapper.tell method and in the "replace"
...
error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
2013-08-20 20:08:53 +03:00
Antoine Pitrou
f48a67b317
Issue #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
2013-08-16 20:44:38 +02:00
Serhiy Storchaka
e822b034e7
Issue #15866 : The xmlcharrefreplace error handler no more produces two XML
...
entities for a non-BMP character on narrow build.
2013-08-06 16:56:26 +03:00
Serhiy Storchaka
fe2e839565
Fix reference leaks introduced by the patch for issue #5308 .
2013-07-11 19:14:07 +03:00
R David Murray
f7c8584545
#18424 : PEP8ify the tense of the sum docstring.
2013-07-10 16:23:15 -04:00
Antoine Pitrou
7e9cec04ab
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
2013-06-18 22:17:48 +02:00
Antoine Pitrou
022db598ac
Issue #17645 : convert an assert() into a proper exception in _Py_Mangle().
2013-04-06 21:21:04 +02:00
Ezio Melotti
94bf697b01
#17178 : update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
2013-02-15 23:35:14 +02:00
Serhiy Storchaka
34fe1b7a3d
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:07:43 +02:00
Benjamin Peterson
6b78bffa20
remove unnecessary clearing of list
2013-01-19 14:58:38 -05:00
Benjamin Peterson
1f7df8f207
merge heads
2012-12-31 21:40:42 -06:00
Benjamin Peterson
b25d611f8d
bring Python into 2013
2012-12-31 21:37:21 -06:00
Mark Dickinson
9fade768c8
Issue #13863 : fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
2012-12-24 16:33:18 +00:00
Trent Nelson
25a48610a8
Make PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)
2012-12-13 07:22:16 +00:00
Jesus Cea
7ddd9c21da
Closes #16588 : Silence unused-but-set warnings in Python/thread_pthread.h
2012-12-05 14:41:11 +01:00
Mark Dickinson
b1cc6aa2df
Issue #9011 : AST creation no longer modifies CST for negated numeric literals.
2012-11-25 17:11:33 +00:00
Ezio Melotti
ec6486d52d
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
2012-11-23 18:46:11 +02:00
Ezio Melotti
db5947f0f3
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:46:38 +02:00
Hynek Schlawack
b271b3e188
Issue #15001 : fix segfault on "del sys.modules['__main__']"
...
Patch by Victor Stinner.
2012-11-07 09:41:28 +01:00
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.
2012-11-05 00:03:21 +02:00
Nick Coghlan
b48c028ca7
Issue #6074 : Restore the long-broken support for running with read-only source files on Windows
2012-10-19 21:58:18 +10:00
Chris Jerdonek
ad4b000179
Issue #14783 : Backport changes from 3.2.
2012-10-07 20:37:54 -07:00
Christian Heimes
dfaf90da9c
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
2012-09-12 17:58:10 +02:00
Christian Heimes
65a0141e14
Partly revert ad3824a90261 and add comment about reference ownership
2012-09-12 17:52:46 +02:00