Stefan Krah
|
5b27c53e36
|
Merge 3.2.
|
2012-08-21 08:25:41 +02:00 |
Stefan Krah
|
7cacd2eb92
|
Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().
|
2012-08-21 08:16:09 +02:00 |
Stefan Krah
|
6adf2433e4
|
Merge 3.2.
|
2012-08-20 11:13:58 +02:00 |
Stefan Krah
|
fd24f9e51e
|
Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().
Found by Coverity.
|
2012-08-20 11:04:24 +02:00 |
Stefan Krah
|
8528c3145e
|
Issue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity.
|
2012-08-19 21:52:43 +02:00 |
Stefan Krah
|
7fda33b56a
|
Mereg 3.2.
|
2012-08-19 11:22:28 +02:00 |
Stefan Krah
|
6b962860e2
|
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.
|
2012-08-19 11:20:41 +02:00 |
Nick Coghlan
|
0e41628d35
|
Merge str docstring fix from 3.2
|
2012-08-16 14:14:30 +10:00 |
Nick Coghlan
|
573b1fd779
|
Fix str docstring
|
2012-08-16 14:13:07 +10:00 |
Antoine Pitrou
|
721738fbee
|
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
|
2012-08-15 23:20:39 +02:00 |
Antoine Pitrou
|
6f430e4963
|
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
|
2012-08-15 23:18:25 +02:00 |
Victor Stinner
|
b3f5501250
|
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Replace _s with ptr to avoid future confusion. Add also non regression tests.
|
2012-08-02 23:05:01 +02:00 |
Richard Oudkerk
|
5562d9dc5d
|
Issue #1692335: Move initial args assignment to BaseException.__new__
to help pickling of naive subclasses.
|
2012-07-28 17:45:28 +01:00 |
Stefan Krah
|
e4c0799d9c
|
Add unused parameter to a METH_NOARGS function.
|
2012-07-28 14:10:02 +02:00 |
Stefan Krah
|
7d12d9df13
|
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
|
2012-07-28 12:25:55 +02:00 |
Martin v. Löwis
|
3bbd2fad4d
|
Issue #15456: Fix code __sizeof__ after #12399 change.
Patch by Serhiy Storchaka.
|
2012-07-26 22:23:23 +02:00 |
Antoine Pitrou
|
b4bbee25b1
|
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.
|
2012-07-21 00:45:14 +02:00 |
Andrew Svetlov
|
a0364764fd
|
Merge 3.2
|
2012-07-20 14:52:54 +03:00 |
Andrew Svetlov
|
ddcb6206bf
|
Issue #15404: Refleak in PyMethodObject repr.
|
2012-07-20 14:51:45 +03:00 |
Meador Inge
|
f4cc2161d5
|
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
|
2012-07-19 13:51:59 -05:00 |
Meador Inge
|
29e49d6394
|
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
|
2012-07-19 13:45:43 -05:00 |
Mark Dickinson
|
01ac8b6ab1
|
Use correct types for ASCII_CHAR_MASK integer constants.
|
2012-07-07 14:08:48 +02:00 |
Antoine Pitrou
|
f87289bb58
|
Issue #15229: An OSError subclass whose __init__ doesn't call back
OSError.__init__ could produce incomplete instances, leading to crashes
when calling str() on them.
|
2012-06-30 23:37:47 +02:00 |
Antoine Pitrou
|
a504a7a7d1
|
Issue #15055: update dictnotes.txt. Patch by Mark Shannon.
|
2012-06-24 21:03:45 +02:00 |
Antoine Pitrou
|
66a3a7ed10
|
Try to fix crash on x86 OpenIndiana buildbot.
|
2012-06-24 00:42:59 +02:00 |
Antoine Pitrou
|
1351ca6e66
|
Replace assert() with a more informative fatal error.
|
2012-06-24 00:30:12 +02:00 |
Antoine Pitrou
|
bb78f57c14
|
Use struct member (ht_type) instead of casting pointers.
|
2012-06-24 00:18:27 +02:00 |
Martin v. Löwis
|
9c56409d33
|
Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
|
2012-06-23 23:20:45 +02:00 |
Mark Dickinson
|
106c4145ff
|
Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy Storchaka.
|
2012-06-23 21:45:14 +01:00 |
Antoine Pitrou
|
99cc629969
|
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
|
2012-06-23 14:42:38 +02:00 |
Antoine Pitrou
|
a4db02c7a3
|
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
|
2012-06-23 14:45:21 +02:00 |
David Malcolm
|
49526f48fc
|
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
|
2012-06-22 14:55:41 -04:00 |
Antoine Pitrou
|
a759d4e9f4
|
Make private function static (from `make smelly`)
|
2012-06-21 17:26:28 +02:00 |
Nick Coghlan
|
5b0dac12b8
|
Issue #13783: PEP 380 cleanup part 2, using the new identifier APIs in the generator implementation
|
2012-06-17 15:45:11 +10:00 |
Nick Coghlan
|
c40bc09942
|
Issue #13783: the PEP 380 implementation no longer expands the public C API
|
2012-06-17 15:15:49 +10:00 |
Antoine Pitrou
|
aaefac76dd
|
Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.
|
2012-06-16 22:48:21 +02:00 |
Victor Stinner
|
f185226244
|
_copy_characters(): move debug code at the top to avoid noisy #ifdef
And don't use assert() anymore if check_maxchar is set: return -1 on error
instead.
|
2012-06-16 16:38:26 +02:00 |
Victor Stinner
|
07621338fb
|
Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exception
|
2012-06-16 04:53:46 +02:00 |
Victor Stinner
|
8a8b3eaabe
|
Fix a compiler warning in _copy_characters() and remove debug code
|
2012-06-16 04:53:25 +02:00 |
Victor Stinner
|
24e403bbee
|
Oops, fix my previous change on _copy_characters()
|
2012-06-16 04:53:00 +02:00 |
Victor Stinner
|
ca439eecea
|
Fix unicode_adjust_maxchar(): catch PyUnicode_New() failure
|
2012-06-16 03:17:34 +02:00 |
Victor Stinner
|
184252ad3f
|
Fix "%f" format of str%args if the result is not an ASCII or latin1 string
|
2012-06-16 02:57:41 +02:00 |
Victor Stinner
|
9a77770add
|
Remove debug code
|
2012-06-16 02:44:43 +02:00 |
Victor Stinner
|
c9d369f1bf
|
Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to)
|
2012-06-16 02:22:37 +02:00 |
Victor Stinner
|
f05e17ece9
|
unicodeobject.c: Remove debug code
|
2012-06-16 01:53:04 +02:00 |
Antoine Pitrou
|
27f6a3b0bf
|
Issue #15026: utf-16 encoding is now significantly faster (up to 10x).
Patch by Serhiy Storchaka.
|
2012-06-15 22:15:23 +02:00 |
Kristján Valur Jónsson
|
55e5dc8371
|
Rearrange code to beat an optimizer bug affecting Release x64 on windows
with VS2010sp1
|
2012-06-06 21:58:08 +00:00 |
Victor Stinner
|
d7b7c7472b
|
Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield
|
2012-06-04 22:52:12 +02:00 |
Barry Warsaw
|
409da157d7
|
Eric Snow's implementation of PEP 421.
Issue 14673: Add sys.implementation
|
2012-06-03 16:18:47 -04:00 |
Kristjan Valur Jonsson
|
85634d7a2e
|
Issue #14909: A number of places were using PyMem_Realloc() apis and
PyObject_GC_Resize() with incorrect error handling. In case of errors,
the original object would be leaked. This checkin fixes those cases.
|
2012-05-31 09:37:31 +00:00 |