Guido van Rossum
69ed1011aa
Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from
...
Py_TPFLAGS_DEFAULT when not building the core.
2008-08-19 20:13:02 +00:00
Benjamin Peterson
6b094a4258
fix a little typo
2008-08-19 19:27:53 +00:00
Benjamin Peterson
025d9392a6
fix compile errors
2008-08-17 01:27:30 +00:00
Benjamin Peterson
e0d4c7b5bd
expose PySTEntry.nested so the symtable module will work
2008-08-17 01:09:17 +00:00
Martin v. Löwis
f91d46a17d
Issue #3139 : Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
...
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
2008-08-12 14:49:50 +00:00
Gregory P. Smith
0470bab697
Issue #2620 : Overflow checking when allocating or reallocating memory
...
was not always being done properly in some python types and extension
modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
Barry Warsaw
ecb8c7991d
Post release cleanup
2008-07-18 03:36:18 +00:00
Barry Warsaw
daddf03f77
Bumping to 2.6b2
2008-07-18 03:20:07 +00:00
Nick Coghlan
53663a695e
Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
2008-07-15 14:27:37 +00:00
Alexandre Vassalotti
8d412f36b5
Issue #3274 : Use a less common identifier for the temporary variable
...
in Py_CLEAR().
2008-07-13 20:42:44 +00:00
Amaury Forgeot d'Arc
2252d11c08
#3342 : In tracebacks, printed source lines were not indented since r62555.
...
#3343 : Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
2008-07-11 21:45:06 +00:00
Gregory P. Smith
2fe77060eb
- Issue #2862 : Make int and float freelist management consistent with other
...
freelists. Changes their CompactFreeList apis into ClearFreeList apis and
calls them via gc.collect().
2008-07-06 03:35:58 +00:00
Raymond Hettinger
9c437af4eb
Revert 64424, 64438, and 64439.
2008-06-24 22:46:07 +00:00
Eric Smith
65fe47b931
Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
2008-06-24 00:42:10 +00:00
Raymond Hettinger
e3ae655edf
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
2008-06-20 04:18:15 +00:00
Barry Warsaw
060792cdc3
Post release changes
2008-06-19 02:31:54 +00:00
Barry Warsaw
b5d174037f
Bumping to 2.6b1
2008-06-19 01:48:07 +00:00
Amaury Forgeot d'Arc
a4dd2e20e2
Restore support for Microsoft VC6 compiler.
...
Some functions in the msvcrt module are skipped,
and socket.ioctl is enabled only when using a more recent Platform SDK.
(and yes, there are still companies that use a 10-years old compiler)
2008-06-13 00:42:22 +00:00
Benjamin Peterson
114f7e5fff
#1683 prevent forking from interfering in threading storage
...
This should prevent some test_multiprocessing failures
2008-06-13 00:09:47 +00:00
Gregory P. Smith
fe22a456d5
Correct an incorrect comment about our #include of stddef.h.
...
(see Doug Evans' comment on python-dev 2008-06-10)
2008-06-11 18:00:52 +00:00
Gregory P. Smith
9d53457e59
Merge in release25-maint r60793:
...
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
2008-06-11 07:41:16 +00:00
Gregory P. Smith
e0b9261a2f
swap stringobject.h and bytesobject.h contents to make sense. PyString in
...
stringobject and PyBytes defines in bytesobject.
2008-06-11 03:40:10 +00:00
Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
...
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
2008-06-09 04:58:54 +00:00
Travis E. Oliphant
0144f27602
Remove locking part of new buffer protocol.
2008-06-06 22:39:47 +00:00
Thomas Heller
259a566ac5
Fix preprocessor statement.
2008-06-05 17:29:38 +00:00