Mark Dickinson
20d7f6e8f4
Remove the redundant #define: PY_STRUCT_FLOAT_COERCE
2010-03-05 14:50:22 +00:00
Mark Dickinson
1c0c78c61f
Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
...
Also clean up related tests in test_struct.
The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
2010-03-05 14:36:20 +00:00
Gerhard Häring
3bbb67273a
Merged code from pysqlite 2.6.0.
2010-03-05 09:12:37 +00:00
Victor Stinner
7c924ec925
Issue #1054943 : Fix unicodedata.normalize('NFC', text) for the Public Review
...
Issue #29 .
PR #29 was released in february 2004!
2010-03-04 12:09:33 +00:00
Victor Stinner
56a5153e21
Issue #7494 : fix a crash in _lsprof (cProfile) after clearing the profiler,
...
reset also the pointer to the current pointer context.
2010-03-04 00:10:12 +00:00
Victor Stinner
71fb87e64c
Issue #7544 : Preallocate thread memory before creating the thread to avoid a
...
fatal error in low memory condition.
2010-03-03 23:20:25 +00:00
Victor Stinner
2379bb664a
Issue #3299 : fix curses.panel.new_panel() error handler, replace PyObject_DEL()
...
by Py_DECREF() to avoid a crash in pydebug mode.
Use po->wo==NULL to detect than the panel is in the lop list or not.
2010-03-03 21:53:41 +00:00
Victor Stinner
c951d56f9a
Issue #3299 : fix thread.allocate_lock() error handler, replace PyObject_Del()
...
by Py_DECREF() to fix a crash in pydebug mode.
2010-03-03 00:43:44 +00:00
Victor Stinner
3f75cc5cb5
Issue #2973 : Fix gcc warning on the 2nd argument of ASN1_item_d2i() and
...
method->d2i(): OpenSSL API changed in OpenSSL 0.9.6m. Patch written by Daniel
Black.
2010-03-02 22:44:42 +00:00
Benjamin Peterson
41162ebdad
remove CVS id
2010-03-01 23:25:13 +00:00
Florent Xicluna
e7901c5ebb
#7808 : Fix reference leaks in _bsddb and related tests.
2010-03-01 20:45:01 +00:00
Gregory P. Smith
6a65f85e79
Fixes issue #7999 : os.setreuid() and os.setregid() would refuse to accept
...
a -1 parameter on some platforms such as OS X.
2010-03-01 05:43:43 +00:00
Gregory P. Smith
4b862365c8
Fix for r78527. It left out updating forkpty.
2010-03-01 02:31:33 +00:00
Gregory P. Smith
9e5d1327f8
Issue #7242 : On Solaris 9 and earlier calling os.fork() from within a
...
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
2010-03-01 01:22:39 +00:00
Amaury Forgeot d'Arc
adfc80bd81
#4852 : Remove dead code in every thread implementation, unused for many years.
2010-02-23 23:19:39 +00:00
Georg Brandl
ea370a9edd
#6544 : fix refleak in kqueue, occurring in certain error conditions.
2010-02-23 21:48:57 +00:00
Thomas Heller
92bd059c67
ctypes CThunkObject was not registered correctly with the cycle
...
garbage collector, leading to possible leaks when using callback
functions.
2010-02-23 20:11:44 +00:00
Andrew M. Kuchling
4b81bc7fe6
#7706 : add include guards where they're missing; required for Windows CE
2010-02-22 23:12:00 +00:00
Andrew M. Kuchling
72aae73d47
Fix comment typo
2010-02-22 18:38:23 +00:00
Andrew M. Kuchling
38c123651c
#7597 : curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
2010-02-22 16:26:47 +00:00
Mark Dickinson
d5fdc069fa
Silence more 'comparison between signed and unsigned' warnings.
2010-02-14 13:40:30 +00:00
Ronald Oussoren
333fca9b3e
Add guard around the prototype for completion_matches to enable
...
compilition with libedit on OSX 10.5
2010-02-11 13:13:08 +00:00
Antoine Pitrou
d840e5174d
Issue #4772 : Raise a ValueError when an unknown Bluetooth protocol is
...
specified, rather than fall through to AF_PACKET (in the `socket` module).
Also, raise ValueError rather than TypeError when an unknown TIPC address
type is specified. Patch by Brian Curtin.
2010-02-04 20:20:18 +00:00
Antoine Pitrou
526e421b12
Issue #7385 : Fix a crash in MemoryView_FromObject when
...
`PyObject_GetBuffer` fails. Patch by Florent Xicluna.
2010-02-02 22:36:17 +00:00
Antoine Pitrou
f3fa074703
- Issue #6939 : Fix file I/O objects in the io module to keep the original
...
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
2010-01-31 22:26:04 +00:00