Xiang Zhang
|
9a4577a4bb
|
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#186)
|
2017-02-20 14:33:02 +08:00 |
|
Victor Stinner
|
3466bde1cc
|
Avoid calling functions with an empty string as format string
Directly pass NULL rather than an empty string.
|
2016-09-05 18:16:01 -07:00 |
|
Serhiy Storchaka
|
17e22959a4
|
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
|
2016-05-07 15:43:59 +03:00 |
|
Serhiy Storchaka
|
21eb48764c
|
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
|
2016-05-07 15:41:09 +03:00 |
|
Serhiy Storchaka
|
ef1585eb9a
|
Issue #25923: Added more const qualifiers to signatures of static and private functions.
|
2015-12-25 20:01:53 +02:00 |
|
Serhiy Storchaka
|
4aa867959f
|
Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of
MemoryError.
|
2015-03-30 09:52:29 +03:00 |
|
Mark Dickinson
|
556e94b8fe
|
Issue #17643: Add __callback__ attribute to weakref.ref.
|
2013-04-13 15:45:44 +01:00 |
|
Antoine Pitrou
|
f93ed3fa67
|
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
|
2012-12-08 21:17:03 +01:00 |
|
Antoine Pitrou
|
62a0d6ea40
|
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
|
2012-12-08 21:15:26 +01:00 |
|
Antoine Pitrou
|
f6a50cfa07
|
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.
|
2012-11-11 19:37:41 +01:00 |
|
Antoine Pitrou
|
e11fecb5a9
|
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.
|
2012-11-11 19:36:51 +01:00 |
|
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
2011-10-14 10:20:37 +02:00 |
|
Martin v. Löwis
|
1ee1b6fe0d
|
Use identifier API for PyObject_GetAttrString.
|
2011-10-10 18:11:30 +02:00 |
|
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
|
Brian Curtin
|
dfc80e3d97
|
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
The macro was introduced in #12724.
|
2011-08-10 20:28:54 -05:00 |
|
Victor Stinner
|
44afe2b35a
|
Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore
|
2011-03-21 18:10:02 +01:00 |
|
Victor Stinner
|
499dfcf29d
|
Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of
PyOS_snprintf().
|
2011-03-21 13:26:24 +01:00 |
|
Brett Cannon
|
b94767ff44
|
Issue #8914: fix various warnings from the Clang static analyzer v254.
|
2011-02-22 20:15:44 +00:00 |
|
Victor Stinner
|
3e2b7171bf
|
Issue #10359: Remove ";" after function definition, invalid in ISO C
|
2010-11-09 09:32:19 +00:00 |
|
Benjamin Peterson
|
8f67d0893f
|
make hashes always the size of pointers; introduce Py_hash_t #9778
|
2010-10-17 20:54:53 +00:00 |
|
Antoine Pitrou
|
f95a1b3c53
|
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
|
2010-05-09 15:52:27 +00:00 |
|
Benjamin Peterson
|
32019774b9
|
fix __bytes__ handling here in py3x
Merged revisions 76395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76395 | benjamin.peterson | 2009-11-18 21:00:02 -0600 (Wed, 18 Nov 2009) | 1 line
#5037 proxy __unicode__ correctly
........
|
2009-11-19 03:08:32 +00:00 |
|
Mark Dickinson
|
e94c679df0
|
Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
|
2009-02-02 20:36:42 +00:00 |
|
Mark Dickinson
|
17c7cd8d02
|
Replace PyNumber_Int with PyNumber_Long.
|
2009-01-17 21:57:11 +00:00 |
|
Mark Dickinson
|
8055afd019
|
Issue #4910, patch 3/3: rename nb_long to nb_reserved
|
2009-01-17 10:04:45 +00:00 |
|