]> granicus.if.org Git - python/log
python
11 years ago- Issue #18257: Fix readlink usage in python-config. Install the python
doko@ubuntu.com [Thu, 1 Aug 2013 13:32:49 +0000 (15:32 +0200)]
- Issue #18257: Fix readlink usage in python-config.  Install the python
  version again on Darwin.

11 years agoissue9035: Prevent Windows-specific tests from running on non-Windows platforms
Tim Golden [Thu, 1 Aug 2013 12:58:58 +0000 (13:58 +0100)]
issue9035: Prevent Windows-specific tests from running on non-Windows platforms

11 years agoIssue #9035: os.path.ismount now recognises volumes mounted below
Tim Golden [Thu, 1 Aug 2013 11:44:00 +0000 (12:44 +0100)]
Issue #9035: os.path.ismount now recognises volumes mounted below
a drive root on Windows. Original patch by Atsuo Ishimoto.

11 years ago#17616: Improve context manager tests, fix bugs in close method and mode docs.
R David Murray [Thu, 1 Aug 2013 00:48:26 +0000 (20:48 -0400)]
#17616: Improve context manager tests, fix bugs in close method and mode docs.

'mode' docs fix: the file must always be opened in binary in Python3.

Bug in Wave_write.close: when the close method calls the check that the header
exists and it raises an error, the _file attribute never gets set to None, so
the next close tries to close the file again and we get an ignored traceback
in the __del__ method.  The fix is to set _file to None in a finally clause.
This represents a behavior change...in theory a program could be checking for
the error on close and then doing a recovery action on the still open file and
closing it again.  But this change will only go into 3.4, so I think that
behavior change is acceptable given that it would be pretty weird and unlikely
logic to begin with.

11 years agoInitialize utime with 0. It fixes a couple of compiler warnung:
Christian Heimes [Wed, 31 Jul 2013 22:12:06 +0000 (00:12 +0200)]
Initialize utime with 0. It fixes a couple of compiler warnung:
    warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]

11 years agoInitialize utime with 0. It fixes a couple of compiler warnung:
Christian Heimes [Wed, 31 Jul 2013 22:08:16 +0000 (00:08 +0200)]
Initialize utime with 0. It fixes a couple of compiler warnung:
    warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]

11 years agomerge
Christian Heimes [Wed, 31 Jul 2013 21:50:03 +0000 (23:50 +0200)]
merge

11 years agomerge
Christian Heimes [Wed, 31 Jul 2013 21:49:48 +0000 (23:49 +0200)]
merge

11 years agoSilence warning about set but unused variable inside compile_atom() in non-debug...
Christian Heimes [Wed, 31 Jul 2013 21:48:04 +0000 (23:48 +0200)]
Silence warning about set but unused variable inside compile_atom() in non-debug builds

11 years agoSilence warning about set but unused variable inside compile_atom() in non-debug...
Christian Heimes [Wed, 31 Jul 2013 21:47:56 +0000 (23:47 +0200)]
Silence warning about set but unused variable inside compile_atom() in non-debug builds

11 years agoFix whitespace
Antoine Pitrou [Wed, 31 Jul 2013 21:15:37 +0000 (23:15 +0200)]
Fix whitespace

11 years agoIssue #18214: Improve finalization of Python modules to avoid setting their globals...
Antoine Pitrou [Wed, 31 Jul 2013 21:14:08 +0000 (23:14 +0200)]
Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.

11 years agoMerge
Antoine Pitrou [Wed, 31 Jul 2013 19:54:18 +0000 (21:54 +0200)]
Merge

11 years agoIssue #15699: The readline module now uses PEP 3121-style module initialization,...
Antoine Pitrou [Wed, 31 Jul 2013 19:52:53 +0000 (21:52 +0200)]
Issue #15699: The readline module now uses PEP 3121-style module initialization, so as to reclaim allocated resources (Python callbacks) at shutdown.
Original patch by Robin Schreiber.

11 years ago#17616: wave.open now supports the 'with' statement.
R David Murray [Wed, 31 Jul 2013 17:46:08 +0000 (13:46 -0400)]
#17616: wave.open now supports the 'with' statement.

Feature and tests by ClClaudiu.Popa, I added the doc changes.

11 years agoyet another WITH_THREADS typo
Christian Heimes [Wed, 31 Jul 2013 11:32:40 +0000 (13:32 +0200)]
yet another WITH_THREADS typo

11 years agomerge
Christian Heimes [Wed, 31 Jul 2013 09:58:41 +0000 (11:58 +0200)]
merge

11 years agoFix _sha3 module to actually release the GIL around its update function.
Christian Heimes [Wed, 31 Jul 2013 09:58:18 +0000 (11:58 +0200)]
Fix _sha3 module to actually release the GIL around its update function.
gcov is great.

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 31 Jul 2013 02:31:30 +0000 (22:31 -0400)]
Merge with 3.3

11 years agoIssue #18573: More copy-paste fixes to assertWarns entry.
Terry Jan Reedy [Wed, 31 Jul 2013 02:31:06 +0000 (22:31 -0400)]
Issue #18573: More copy-paste fixes to assertWarns entry.

11 years agoTest Py_IncRef() and Py_DecRef() C functions
Christian Heimes [Wed, 31 Jul 2013 00:36:43 +0000 (02:36 +0200)]
Test Py_IncRef() and Py_DecRef() C functions

11 years agoFix use of uninitialized scalar variable, see 3f994367a979
Christian Heimes [Tue, 30 Jul 2013 23:33:50 +0000 (01:33 +0200)]
Fix use of uninitialized scalar variable, see 3f994367a979
CID 1058763

11 years agoIssue #18481: Add C coverage reporting with gcov and lcov. A new make target
Christian Heimes [Tue, 30 Jul 2013 22:55:18 +0000 (00:55 +0200)]
Issue #18481: Add C coverage reporting with gcov and lcov. A new make target
"coverage-report" creates an instrumented Python build, runs unit tests
and creates a HTML. The report can be updated with "make coverage-lcov".

11 years agoIssue #15494: merge from 3.3
Ned Deily [Tue, 30 Jul 2013 21:32:52 +0000 (14:32 -0700)]
Issue #15494: merge from 3.3

11 years agoIssue #15494: Install new test/support directory.
Ned Deily [Tue, 30 Jul 2013 21:30:15 +0000 (14:30 -0700)]
Issue #15494: Install new test/support directory.

11 years agoMerge: #16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
R David Murray [Tue, 30 Jul 2013 19:53:30 +0000 (15:53 -0400)]
Merge: #16273: Fix tutorial discussion of seek/tell (opaque text-mode values).

11 years ago#16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
R David Murray [Tue, 30 Jul 2013 19:51:57 +0000 (15:51 -0400)]
#16273: Fix tutorial discussion of seek/tell (opaque text-mode values).

Patch by Sijin Joseph.

11 years agoMerge: #18601: fix error made when difflib example was converted to use 'with'.
R David Murray [Tue, 30 Jul 2013 19:37:43 +0000 (15:37 -0400)]
Merge: #18601: fix error made when difflib example was converted to use 'with'.

11 years ago#18601: fix error made when difflib example was converted to use 'with'.
R David Murray [Tue, 30 Jul 2013 19:37:11 +0000 (15:37 -0400)]
#18601: fix error made when difflib example was converted to use 'with'.

11 years agofixed examples to work with changed attribute names
Ethan Furman [Tue, 30 Jul 2013 19:24:25 +0000 (12:24 -0700)]
fixed examples to work with changed attribute names

11 years agoFix style
Antoine Pitrou [Tue, 30 Jul 2013 19:01:23 +0000 (21:01 +0200)]
Fix style

11 years agoMerge #18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
R David Murray [Tue, 30 Jul 2013 18:43:10 +0000 (14:43 -0400)]
Merge #18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.

11 years ago#18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
R David Murray [Tue, 30 Jul 2013 18:42:40 +0000 (14:42 -0400)]
#18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.

testcleanup directive is new as of 1.1, and we are currently running
1.0.7.  But using testsetup works just as well, and avoids the
unknown directive error when building the docs.

11 years agoMerge doc fix
Antoine Pitrou [Tue, 30 Jul 2013 18:09:36 +0000 (20:09 +0200)]
Merge doc fix

11 years agoSimplify example of PyErr_Fetch() use
Antoine Pitrou [Tue, 30 Jul 2013 18:09:03 +0000 (20:09 +0200)]
Simplify example of PyErr_Fetch() use

11 years agoIssue #18112: PEP 442 implementation (safe object finalization).
Antoine Pitrou [Tue, 30 Jul 2013 17:59:21 +0000 (19:59 +0200)]
Issue #18112: PEP 442 implementation (safe object finalization).

11 years agoAdd simple test for repr(lock)
Christian Heimes [Tue, 30 Jul 2013 13:54:39 +0000 (15:54 +0200)]
Add simple test for repr(lock)

11 years agoAdd simple test for resource.getpagesize()
Christian Heimes [Tue, 30 Jul 2013 13:44:24 +0000 (15:44 +0200)]
Add simple test for resource.getpagesize()

11 years agoAdd simple test for resource.getpagesize()
Christian Heimes [Tue, 30 Jul 2013 13:44:13 +0000 (15:44 +0200)]
Add simple test for resource.getpagesize()

11 years agoIssue #18599: Fix name attribute of _sha1.sha1() object. It now returns
Christian Heimes [Tue, 30 Jul 2013 13:35:54 +0000 (15:35 +0200)]
Issue #18599: Fix name attribute of _sha1.sha1() object. It now returns
'SHA1' instead of 'SHA'.
Add more tests for hashlib and hash object attributes

11 years agoAdd more tests for hashlib and hash object attributes
Christian Heimes [Tue, 30 Jul 2013 13:33:30 +0000 (15:33 +0200)]
Add more tests for hashlib and hash object attributes

11 years agoIssue #18599: Fix name attribute of _sha1.sha1() object. It now returns
Christian Heimes [Tue, 30 Jul 2013 13:32:57 +0000 (15:32 +0200)]
Issue #18599: Fix name attribute of _sha1.sha1() object. It now returns
'SHA1' instead of 'SHA'.

11 years agoIssue #18593: fix typo in comment
Eli Bendersky [Tue, 30 Jul 2013 13:13:01 +0000 (06:13 -0700)]
Issue #18593: fix typo in comment

11 years agoIssue #18593: fix typo in comment
Eli Bendersky [Tue, 30 Jul 2013 13:12:49 +0000 (06:12 -0700)]
Issue #18593: fix typo in comment

11 years agoMerge with 3.3
Terry Jan Reedy [Tue, 30 Jul 2013 05:37:28 +0000 (01:37 -0400)]
Merge with 3.3

11 years agoMake all idle test case names end with 'Test'.
Terry Jan Reedy [Tue, 30 Jul 2013 05:36:48 +0000 (01:36 -0400)]
Make all idle test case names end with 'Test'.

11 years agoMerge #18584: make doctest examples in email documentation pass.
R David Murray [Mon, 29 Jul 2013 19:56:26 +0000 (15:56 -0400)]
Merge #18584: make doctest examples in email documentation pass.

11 years ago#18584: make doctest examples in email documentation pass.
R David Murray [Mon, 29 Jul 2013 19:49:58 +0000 (15:49 -0400)]
#18584: make doctest examples in email documentation pass.

With the exception of the 'as_string' call in the policy docs.
That one is a separate issue.

Note that when building the docs sphinx is complaining about
.. testcleanup:: being an invalid directive.  I don't know
why this is, as I'm following the sphinx docs...but fortunately
the action is to omit the text in the body, so the generated
documentation is correct.

11 years agoMerge #15415 from 3.3 (again)
Nick Coghlan [Mon, 29 Jul 2013 07:52:21 +0000 (17:52 +1000)]
Merge #15415 from 3.3 (again)

11 years agoThird attempt to fix #15415 on Windows
Nick Coghlan [Mon, 29 Jul 2013 07:51:16 +0000 (17:51 +1000)]
Third attempt to fix #15415 on Windows

With help from jkloth on IRC, so it will hopefully work
this time :)

11 years agoMerge #15415 Windows buildbot change from 3.3
Nick Coghlan [Mon, 29 Jul 2013 05:19:29 +0000 (15:19 +1000)]
Merge #15415 Windows buildbot change from 3.3

11 years agoAttempt to fix #15415 on Windows
Nick Coghlan [Mon, 29 Jul 2013 05:18:09 +0000 (15:18 +1000)]
Attempt to fix #15415 on Windows

11 years agoMerge with 3.3
Terry Jan Reedy [Sun, 28 Jul 2013 20:40:07 +0000 (16:40 -0400)]
Merge with 3.3

11 years agoUpdate gui section of idle test README.
Terry Jan Reedy [Sun, 28 Jul 2013 20:39:44 +0000 (16:39 -0400)]
Update gui section of idle test README.

11 years agoMerge with 3.3
Terry Jan Reedy [Sun, 28 Jul 2013 20:25:52 +0000 (16:25 -0400)]
Merge with 3.3

11 years agoIssue #18441: Remove check from test_text.py in 3.3,4 (already done in 2.7).
Terry Jan Reedy [Sun, 28 Jul 2013 20:25:16 +0000 (16:25 -0400)]
Issue #18441: Remove check from test_text.py in 3.3,4 (already done in 2.7).

11 years agoMerge #15415 from 3.3
Nick Coghlan [Sun, 28 Jul 2013 12:25:25 +0000 (22:25 +1000)]
Merge #15415 from 3.3

11 years agoClose #15415: Factor out temp dir helpers to test.support
Nick Coghlan [Sun, 28 Jul 2013 12:11:50 +0000 (22:11 +1000)]
Close #15415: Factor out temp dir helpers to test.support

Patch by Chris Jerdonek

11 years agoNull merge from 3.3
Nick Coghlan [Sun, 28 Jul 2013 11:40:20 +0000 (21:40 +1000)]
Null merge from 3.3

11 years agoIssue #15494: test.support is now a package rather than a module
Nick Coghlan [Sun, 28 Jul 2013 11:06:50 +0000 (21:06 +1000)]
Issue #15494: test.support is now a package rather than a module

Also including this change in 3.3 to help avoid spurious conflicts
between the two most active branches.

(Initial patch by Indra Talip)

11 years agoClose #15494: test.support is now a package rather than a module
Nick Coghlan [Sun, 28 Jul 2013 10:56:19 +0000 (20:56 +1000)]
Close #15494: test.support is now a package rather than a module

Initial patch by Indra Talip

11 years agoClose #13266: Add inspect.unwrap
Nick Coghlan [Sun, 28 Jul 2013 10:00:01 +0000 (20:00 +1000)]
Close #13266: Add inspect.unwrap

Initial patch by Daniel Urban and Aaron Iles

11 years agoRestore the data block size to 62.
Raymond Hettinger [Sun, 28 Jul 2013 09:39:49 +0000 (02:39 -0700)]
Restore the data block size to 62.

The former block size traded away good fit within cache lines in
order to gain faster division in deque_item().  However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift.  Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.

GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".

11 years agoMerge with 3.3
Terry Jan Reedy [Sun, 28 Jul 2013 04:00:47 +0000 (00:00 -0400)]
Merge with 3.3

11 years agoIssue #18441: Make test.support.requires('gui') skip when it should.
Terry Jan Reedy [Sun, 28 Jul 2013 04:00:20 +0000 (00:00 -0400)]
Issue #18441: Make test.support.requires('gui') skip when it should.

11 years ago(Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
Victor Stinner [Sun, 28 Jul 2013 00:57:02 +0000 (02:57 +0200)]
(Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag

11 years agodoc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
Victor Stinner [Sun, 28 Jul 2013 00:56:50 +0000 (02:56 +0200)]
doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag

11 years agomerge 3.3 (#18565)
Benjamin Peterson [Sat, 27 Jul 2013 21:07:19 +0000 (14:07 -0700)]
merge 3.3 (#18565)

11 years agoadd a test for issue #17669 (closes #18565)
Benjamin Peterson [Sat, 27 Jul 2013 21:06:56 +0000 (14:06 -0700)]
add a test for issue #17669 (closes #18565)

Patch from Phil Connell.

11 years agoMerge with 3.3
Terry Jan Reedy [Sat, 27 Jul 2013 20:15:51 +0000 (16:15 -0400)]
Merge with 3.3

11 years agoIssue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.
Terry Jan Reedy [Sat, 27 Jul 2013 20:15:29 +0000 (16:15 -0400)]
Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.

11 years agoAssertions key off NDEBUG
Raymond Hettinger [Sat, 27 Jul 2013 06:14:22 +0000 (23:14 -0700)]
Assertions key off NDEBUG

11 years agonull merge (fix already applied to default)
Victor Stinner [Sat, 27 Jul 2013 00:41:48 +0000 (02:41 +0200)]
null merge (fix already applied to default)

11 years agoIssue #15893: Remove dead code
Victor Stinner [Sat, 27 Jul 2013 00:41:03 +0000 (02:41 +0200)]
Issue #15893: Remove dead code

11 years agoIssue #15893: Improve error handling in main() and Py_FrozenMain()
Victor Stinner [Sat, 27 Jul 2013 00:39:09 +0000 (02:39 +0200)]
Issue #15893: Improve error handling in main() and Py_FrozenMain()

* handle _PyMem_RawStrdup() failure
* Py_FrozenMain() releases memory on error
* Py_FrozenMain() duplicates the old locale, as done in main()

11 years agoPy_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as
Victor Stinner [Sat, 27 Jul 2013 00:24:52 +0000 (02:24 +0200)]
Py_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as
done in main()

11 years agoIssue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python initialization
Victor Stinner [Fri, 26 Jul 2013 23:13:34 +0000 (01:13 +0200)]
Issue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python initialization

11 years ago(Merge 3.3) Issue #15893: frozenmain.c now handles PyMem_Malloc() failure
Victor Stinner [Fri, 26 Jul 2013 23:05:49 +0000 (01:05 +0200)]
(Merge 3.3) Issue #15893: frozenmain.c now handles PyMem_Malloc() failure

11 years agoIssue #15893: frozenmain.c now handles PyMem_Malloc() failure
Victor Stinner [Fri, 26 Jul 2013 23:04:56 +0000 (01:04 +0200)]
Issue #15893: frozenmain.c now handles PyMem_Malloc() failure

11 years agoIssue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().
Christian Heimes [Fri, 26 Jul 2013 22:33:35 +0000 (00:33 +0200)]
Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().

11 years agoIssue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().
Christian Heimes [Fri, 26 Jul 2013 22:33:13 +0000 (00:33 +0200)]
Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().

11 years ago(Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()
Victor Stinner [Fri, 26 Jul 2013 22:04:42 +0000 (00:04 +0200)]
(Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()

11 years agoParser/asdl_c.py: use Py_CLEAR()
Victor Stinner [Fri, 26 Jul 2013 22:03:47 +0000 (00:03 +0200)]
Parser/asdl_c.py: use Py_CLEAR()

11 years ago(Merge 3.3) According to the PEP 7, C code must "use 4-space indents"
Victor Stinner [Fri, 26 Jul 2013 22:01:35 +0000 (00:01 +0200)]
(Merge 3.3) According to the PEP 7, C code must "use 4-space indents"

Replace 8 spaces with 4.

11 years agoAccording to the PEP 7, C code must "use 4-space indents"
Victor Stinner [Fri, 26 Jul 2013 22:00:36 +0000 (00:00 +0200)]
According to the PEP 7, C code must "use 4-space indents"

Replace 8 spaces with 4.

11 years agoIssue #18561: Skip name in ctypes' _build_callargs() if name is NULL.
Christian Heimes [Fri, 26 Jul 2013 21:04:39 +0000 (23:04 +0200)]
Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.
CID 486199

11 years agoIssue #18561: Skip name in ctypes' _build_callargs() if name is NULL.
Christian Heimes [Fri, 26 Jul 2013 21:04:29 +0000 (23:04 +0200)]
Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.
CID 486199

11 years agoIssue #18560: Fix potential NULL pointer dereference in sum()
Christian Heimes [Fri, 26 Jul 2013 20:50:01 +0000 (22:50 +0200)]
Issue #18560: Fix potential NULL pointer dereference in sum()

11 years agoIssue #18560: Fix potential NULL pointer dereference in sum()
Christian Heimes [Fri, 26 Jul 2013 20:49:26 +0000 (22:49 +0200)]
Issue #18560: Fix potential NULL pointer dereference in sum()

11 years agoIssue #18559: Fix NULL pointer dereference error in _pickle module
Christian Heimes [Fri, 26 Jul 2013 20:45:47 +0000 (22:45 +0200)]
Issue #18559: Fix NULL pointer dereference error in _pickle module

11 years agoIssue #18559: Fix NULL pointer dereference error in _pickle module
Christian Heimes [Fri, 26 Jul 2013 20:45:00 +0000 (22:45 +0200)]
Issue #18559: Fix NULL pointer dereference error in _pickle module

11 years agoIssue #18519: the Python authorizer callback of sqlite3 must not raise Python exceptions
Victor Stinner [Fri, 26 Jul 2013 20:23:33 +0000 (22:23 +0200)]
Issue #18519: the Python authorizer callback of sqlite3 must not raise Python exceptions

The exception is printed if sqlite3.enable_callback_tracebacks(True) has been
called, otherwise the exception is cleared.

11 years agoCoverity: model PyLong_From*() functions
Christian Heimes [Fri, 26 Jul 2013 16:00:12 +0000 (18:00 +0200)]
Coverity: model PyLong_From*() functions

11 years agoHandle yet another potential failure in testcapi
Christian Heimes [Fri, 26 Jul 2013 13:54:13 +0000 (15:54 +0200)]
Handle yet another potential failure in testcapi
CID 1058280

11 years agoHandle yet another potential failure in testcapi
Christian Heimes [Fri, 26 Jul 2013 13:54:07 +0000 (15:54 +0200)]
Handle yet another potential failure in testcapi
CID 1058280

11 years agoCheck return value of PyLong_FromLong(X509_get_version()). It might be NULL if
Christian Heimes [Fri, 26 Jul 2013 13:51:35 +0000 (15:51 +0200)]
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
X509_get_version() grows beyond our small int cache.
CID 1058279

11 years agoCheck return value of PyLong_FromLong(X509_get_version()). It might be NULL if
Christian Heimes [Fri, 26 Jul 2013 13:51:18 +0000 (15:51 +0200)]
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
X509_get_version() grows beyond our small int cache.
CID 1058279

11 years agoremove surplus and wrong Py_DECREF() introduced in 33891989c9cf
Christian Heimes [Fri, 26 Jul 2013 13:26:26 +0000 (15:26 +0200)]
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf

11 years agoremove surplus and wrong Py_DECREF() introduced in 33891989c9cf
Christian Heimes [Fri, 26 Jul 2013 13:26:18 +0000 (15:26 +0200)]
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf

11 years agoFix memory leaks and add checks for failing malloc() calls to testcapi module
Christian Heimes [Fri, 26 Jul 2013 13:07:34 +0000 (15:07 +0200)]
Fix memory leaks and add checks for failing malloc() calls to testcapi module
CID 1058288
Fix declaration-after-statement of d49f65ff4f3c