]> granicus.if.org Git - python/log
python
19 years agoFix nits.
Raymond Hettinger [Wed, 17 Aug 2005 02:19:36 +0000 (02:19 +0000)]
Fix nits.

19 years agoResults of a line-by-line comparison back to dictobject.c.
Raymond Hettinger [Wed, 17 Aug 2005 00:27:42 +0000 (00:27 +0000)]
Results of a line-by-line comparison back to dictobject.c.

* set_merge() cannot assume that the table doesn't resize during iteration.

* convert some unnecessary tests to asserts -- they were necessary in
  dictobject.c because PyDict_Next() is a public function.  The same is
  not true for set_next().

* re-arrange the order of functions to more closely match the order
  in dictobject.c.  This makes it must easier to compare the two
  and ought to simplify any issues of maintaining both.

19 years agoNumerous fix-ups to C API and docs. Added tests for C API.
Raymond Hettinger [Tue, 16 Aug 2005 10:44:15 +0000 (10:44 +0000)]
Numerous fix-ups to C API and docs.  Added tests for C API.

19 years agoDECREF --> XDECREF
Raymond Hettinger [Tue, 16 Aug 2005 03:54:11 +0000 (03:54 +0000)]
DECREF --> XDECREF

19 years agoAdd a C API for sets and frozensets.
Raymond Hettinger [Tue, 16 Aug 2005 03:47:52 +0000 (03:47 +0000)]
Add a C API for sets and frozensets.

19 years agoPort from the Python 2.4 branch, patches for SF bug # 900092,
Barry Warsaw [Mon, 15 Aug 2005 18:14:19 +0000 (18:14 +0000)]
Port from the Python 2.4 branch, patches for SF bug # 900092,
hotshot.stats.load.

19 years agoCorrect definition of ST_GEN_IDX.
Martin v. Löwis [Sun, 14 Aug 2005 21:42:34 +0000 (21:42 +0000)]
Correct definition of ST_GEN_IDX.

19 years agoMore function re-ordering (placing like functions together).
Raymond Hettinger [Sat, 13 Aug 2005 09:28:48 +0000 (09:28 +0000)]
More function re-ordering (placing like functions together).

19 years ago* Bring lookkey() and lookkey_string() closer to dict version.
Raymond Hettinger [Sat, 13 Aug 2005 08:28:03 +0000 (08:28 +0000)]
* Bring lookkey() and lookkey_string() closer to dict version.
* Use set_next() for looping in issubset() and frozenset_hash().
* Re-order the presentation of cmp and hash functions.

19 years agoFix a too-aggressive assert (see SF#1257960). Previously, gen_iternext
Phillip J. Eby [Sat, 13 Aug 2005 03:29:00 +0000 (03:29 +0000)]
Fix a too-aggressive assert (see SF#1257960).  Previously, gen_iternext
was never called during interpreter shutdown GC, so the f_back!=NULL
assertion was correct.  Now that generators get close()d during GC,
the assertion was being triggered because the generator close() was being
called as the top-level frame.  However, nothing actually is broken by
this; it's just that the condition was unexpected in previous Python
versions.

19 years agoTeach the sets module to correctly compute s-=s and s^=s as the empty set.
Raymond Hettinger [Sat, 13 Aug 2005 02:29:58 +0000 (02:29 +0000)]
Teach the sets module to correctly compute s-=s and s^=s as the empty set.

19 years agoFix pystack command.
Neil Schemenauer [Sat, 13 Aug 2005 00:28:41 +0000 (00:28 +0000)]
Fix pystack command.

19 years ago* Fix SF #1257731. Make __contains__(), remove(), and discard() only do
Raymond Hettinger [Fri, 12 Aug 2005 23:58:22 +0000 (23:58 +0000)]
* Fix SF #1257731.  Make __contains__(), remove(), and discard() only do
  a frozenset conversion when the initial search attempt fails with a
  TypeError and the key is some type of set.  Add a testcase.

* Eliminate a duplicate if-stmt.

19 years ago* Fix SF #1257731. Make __contains__(), remove(), and discard() only do
Raymond Hettinger [Fri, 12 Aug 2005 20:48:39 +0000 (20:48 +0000)]
* Fix SF #1257731.  Make __contains__(), remove(), and discard() only do
  a frozenset conversion when the initial search attempt fails with a
  TypeError and the key is some type of set.  Add a testcase.

* Eliminate a duplicate if-stmt.

19 years agoChange the %s format specifier for str objects so that it returns a
Neil Schemenauer [Fri, 12 Aug 2005 17:34:58 +0000 (17:34 +0000)]
Change the %s format specifier for str objects so that it returns a
unicode instance if the argument is not an instance of basestring and
calling __str__ on the argument returns a unicode instance.

19 years agoDocument 'istext' parameter
Andrew M. Kuchling [Fri, 12 Aug 2005 14:02:32 +0000 (14:02 +0000)]
Document 'istext' parameter

19 years ago* Add short-circuit code for in-place operations with self (such as
Raymond Hettinger [Thu, 11 Aug 2005 07:58:45 +0000 (07:58 +0000)]
* Add short-circuit code for in-place operations with self (such as
  s|=s, s&=s, s-=s, or s^=s).  Add related tests.

* Improve names for several variables and functions.

* Provide alternate table access functions (next, contains, add, and discard)
  that work with an entry argument instead of just a key.  This improves
  set-vs-set operations because we already have a hash value for each key
  and can avoid unnecessary calls to PyObject_Hash().  Provides a 5% to 20%
  speed-up for quick hashing elements like strings and integers.  Provides
  much more substantial improvements for slow hashing elements like tuples
  or objects defining a custom __hash__() function.

* Have difference operations resize() when 1/5 of the elements are dummies.
  Formerly, it was 1/6.  The new ratio triggers less frequently and only
  in cases that it can resize quicker and with greater benefit.  The right
  answer is probably either 1/4, 1/5, or 1/6.  Picked the middle value for
  an even trade-off between resize time and the space/time costs of dummy
  entries.

19 years agofix minor markup errors
Fred Drake [Tue, 9 Aug 2005 15:24:05 +0000 (15:24 +0000)]
fix minor markup errors

19 years agoPatch #1180695: Implement nanosecond stat resolution on FreeBSD,
Martin v. Löwis [Tue, 9 Aug 2005 15:00:59 +0000 (15:00 +0000)]
Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.

19 years agoPatch #1239112: Correct LINKCC C++ test. Fixes #1189330.
Martin v. Löwis [Sun, 7 Aug 2005 21:09:30 +0000 (21:09 +0000)]
Patch #1239112: Correct LINKCC C++ test. Fixes #1189330.
Backported to 2.4.

19 years agoPatch #827386: Support absolute source paths in msvccompiler.py.
Martin v. Löwis [Sun, 7 Aug 2005 20:51:04 +0000 (20:51 +0000)]
Patch #827386: Support absolute source paths in msvccompiler.py.
Backported to 2.4.

19 years ago* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.
Raymond Hettinger [Sun, 7 Aug 2005 13:02:53 +0000 (13:02 +0000)]
* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.
* Bring in free list from dictionary code.
* Improve several comments.
* Differencing can leave many dummy entries.  If more than
  1/6 are dummies, then resize them away.
* Factor-out common code with new macro, PyAnySet_CheckExact.

19 years agoWhitespace normalization (ran reindent.py over the whole tree).
Tim Peters [Sun, 7 Aug 2005 03:04:58 +0000 (03:04 +0000)]
Whitespace normalization (ran reindent.py over the whole tree).

19 years agoRemoved XXX block about a test_bsddb3 failure that went away a long time ago.
Tim Peters [Sun, 7 Aug 2005 02:47:59 +0000 (02:47 +0000)]
Removed XXX block about a test_bsddb3 failure that went away a long time ago.

19 years agoUpdate some Python version numbers.
Tim Peters [Sun, 7 Aug 2005 02:47:12 +0000 (02:47 +0000)]
Update some Python version numbers.

19 years ago* Removed checked_error flag which no longer provides any benefit.
Raymond Hettinger [Sat, 6 Aug 2005 18:57:13 +0000 (18:57 +0000)]
* Removed checked_error flag which no longer provides any benefit.
* Have issubset() control its own loop instead of using set_next_internal().

19 years ago* set_new() doesn't need to zero the structure a second time after tp_alloc
Raymond Hettinger [Sat, 6 Aug 2005 18:31:24 +0000 (18:31 +0000)]
* set_new() doesn't need to zero the structure a second time after tp_alloc
  has already done the job.
* Use a macro form of PyErr_Occurred() inside the set_lookkey() function.

19 years agoFactor away a redundant clear() function.
Raymond Hettinger [Sat, 6 Aug 2005 05:43:39 +0000 (05:43 +0000)]
Factor away a redundant clear() function.

19 years agobug [ 1252706 ] poplib list() docstring fix (and docs too)
Georg Brandl [Fri, 5 Aug 2005 21:01:58 +0000 (21:01 +0000)]
bug [ 1252706 ] poplib list() docstring fix (and docs too)

19 years ago* Improve a variable name: entry0 --> table.
Raymond Hettinger [Fri, 5 Aug 2005 17:19:54 +0000 (17:19 +0000)]
* Improve a variable name:  entry0 --> table.
* Give set_lookkey_string() a fast alternate path when no dummy entries
  are present.
* Have set_swap_bodies() reset the hash field to -1 whenever either of
  bodies is not a frozenset.  Maintains the invariant of regular sets
  always having -1 in the hash field; otherwise, any mutation would make
  the hash value invalid.
* Use an entry pointer to simplify the code in frozenset_hash().

19 years ago* Move copyright notice to top and indicate derivation from sets.py and
Raymond Hettinger [Fri, 5 Aug 2005 00:01:15 +0000 (00:01 +0000)]
* Move copyright notice to top and indicate derivation from sets.py and
  dictobject.c.
* Have frozenset_hash() use entry->hash instead of re-computing each
  individual hash with PyObject_Hash(o);
* Finalize the dummy entry before a system exit.

19 years agocom_yield_expr(): Squash new compiler wng about unreferenced local.
Tim Peters [Wed, 3 Aug 2005 18:33:05 +0000 (18:33 +0000)]
com_yield_expr():  Squash new compiler wng about unreferenced local.

19 years agoDisable a few other tests, that can't work if Python is compiled without
Walter Dörwald [Wed, 3 Aug 2005 17:09:04 +0000 (17:09 +0000)]
Disable a few other tests, that can't work if Python is compiled without
Unicode support.

19 years agopatch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.
Georg Brandl [Wed, 3 Aug 2005 07:30:12 +0000 (07:30 +0000)]
patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.

19 years agobug [ 1250306 ] incorrect description of range function
Georg Brandl [Wed, 3 Aug 2005 07:17:33 +0000 (07:17 +0000)]
bug [ 1250306 ] incorrect description of range function

19 years agoAdd example
Andrew M. Kuchling [Tue, 2 Aug 2005 17:20:36 +0000 (17:20 +0000)]
Add example

19 years agoAdd note
Andrew M. Kuchling [Tue, 2 Aug 2005 17:13:21 +0000 (17:13 +0000)]
Add note

19 years ago[ 1243192 ] Incorrect documentation of re.UNICODE
Georg Brandl [Tue, 2 Aug 2005 10:28:08 +0000 (10:28 +0000)]
1243192 ] Incorrect documentation of re.UNICODE

19 years agoModel set.pop() after dict.popitem().
Raymond Hettinger [Tue, 2 Aug 2005 03:45:16 +0000 (03:45 +0000)]
Model set.pop() after dict.popitem().

19 years agoMinor tweak as a side effect of fixing #1243553. The Unicode name for " is
Skip Montanaro [Tue, 2 Aug 2005 02:53:59 +0000 (02:53 +0000)]
Minor tweak as a side effect of fixing #1243553.  The Unicode name for " is
'quotation mark', so I decided to use it instead of 'double-quote'.

19 years agoBring cgi.escape docstring slightly more in line with the library ref
Skip Montanaro [Tue, 2 Aug 2005 02:50:25 +0000 (02:50 +0000)]
Bring cgi.escape docstring slightly more in line with the library ref
manual.  Closes #1243553.

19 years agoPEP 342 implementation. Per Guido's comments, the generator throw()
Phillip J. Eby [Tue, 2 Aug 2005 00:46:46 +0000 (00:46 +0000)]
PEP 342 implementation.  Per Guido's comments, the generator throw()
method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too.

19 years ago* Improve code for the empty frozenset singleton:
Raymond Hettinger [Mon, 1 Aug 2005 21:39:29 +0000 (21:39 +0000)]
* Improve code for the empty frozenset singleton:
  - Handle both frozenset() and frozenset([]).
  - Do not use singleton for frozenset subclasses.
  - Finalize the singleton.
  - Add test cases.
* Factor-out set_update_internal() from set_update().  Simplifies the
  code for several internal callers.
* Factor constant expressions out of loop in set_merge_internal().
* Minor comment touch-ups.

19 years agoFix build on gcc: PySetIter_Type should be static in definition
Hye-Shik Chang [Mon, 1 Aug 2005 05:26:41 +0000 (05:26 +0000)]
Fix build on gcc: PySetIter_Type should be static in definition
part also.

19 years agoImprove variable names.
Raymond Hettinger [Sun, 31 Jul 2005 15:36:06 +0000 (15:36 +0000)]
Improve variable names.

19 years agoFix frozenset() ref count and a comment typo.
Raymond Hettinger [Sun, 31 Jul 2005 13:09:28 +0000 (13:09 +0000)]
Fix frozenset() ref count and a comment typo.

19 years agoComment on the set_swap_bodies() helper function.
Raymond Hettinger [Sun, 31 Jul 2005 01:33:10 +0000 (01:33 +0000)]
Comment on the set_swap_bodies() helper function.

19 years agoRevised the set() and frozenset() implementaion to use its own internal
Raymond Hettinger [Sun, 31 Jul 2005 01:16:36 +0000 (01:16 +0000)]
Revised the set() and frozenset() implementaion to use its own internal
data structure instead of using dictionaries.  Reduces memory consumption
by 1/3 and provides modest speed-ups for most set operations.

19 years agouse a test for PDF support that is more portable across teTeX major versions
Fred Drake [Fri, 29 Jul 2005 17:17:19 +0000 (17:17 +0000)]
use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #1238210)

19 years agoadd support for svn: and svn+ssh: URL schemes to urlparse
Fred Drake [Fri, 29 Jul 2005 15:56:32 +0000 (15:56 +0000)]
add support for svn: and svn+ssh: URL schemes to urlparse

19 years agoDocumentation added about changes in 2.4 to basicConfig(), including documentation...
Vinay Sajip [Fri, 29 Jul 2005 11:52:19 +0000 (11:52 +0000)]
Documentation added about changes in 2.4 to basicConfig(), including documentation of the keyword arguments. A version change note was also added to the basic example.

19 years agoDisable encoding/decoding test, if unicode is disabled.
Walter Dörwald [Thu, 28 Jul 2005 16:49:15 +0000 (16:49 +0000)]
Disable encoding/decoding test, if unicode is disabled.

19 years agoFix a typo. (found by Jong-uk Kim)
Hye-Shik Chang [Thu, 28 Jul 2005 05:57:19 +0000 (05:57 +0000)]
Fix a typo. (found by Jong-uk Kim)

19 years agoThis is barry-scott's patch:
Michael W. Hudson [Wed, 27 Jul 2005 20:24:40 +0000 (20:24 +0000)]
This is barry-scott's patch:

1231069 ] ioctl has problem with -ive request codes

by using the 'I' not the 'i' format code to PyArg_ParseTuple().

Backport candidate?  Maybe...

19 years agoUpdate permissions for Johannes Gijsbers.
Raymond Hettinger [Wed, 27 Jul 2005 17:59:02 +0000 (17:59 +0000)]
Update permissions for Johannes Gijsbers.

19 years agoOuch, move that comment to the right place.
Guido van Rossum [Wed, 27 Jul 2005 00:00:44 +0000 (00:00 +0000)]
Ouch, move that comment to the right place.

19 years agoFix a problem in Tkinter introduced by SF patch #869468 (checked in as
Guido van Rossum [Tue, 26 Jul 2005 23:57:46 +0000 (23:57 +0000)]
Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.

19 years agoUpgrade Windows build to zlib 1.2.3 (a security fix)
Trent Mick [Tue, 26 Jul 2005 02:29:21 +0000 (02:29 +0000)]
Upgrade Windows build to zlib 1.2.3 (a security fix)

19 years agoThat was one too much.
Georg Brandl [Fri, 22 Jul 2005 21:52:25 +0000 (21:52 +0000)]
That was one too much.

19 years agoFix all wrong instances of "it's".
Georg Brandl [Fri, 22 Jul 2005 21:49:32 +0000 (21:49 +0000)]
Fix all wrong instances of "it's".

19 years ago[ 1243081 ] repair typos
Georg Brandl [Fri, 22 Jul 2005 18:39:19 +0000 (18:39 +0000)]
1243081 ] repair typos

19 years agoMake attributes and local variables in the StreamReader str objects instead
Walter Dörwald [Wed, 20 Jul 2005 22:15:39 +0000 (22:15 +0000)]
Make attributes and local variables in the StreamReader str objects instead
of unicode objects, so that codecs that do a str->str decoding won't promote
the result to unicode. This fixes SF bug #1241507.

19 years agoadd information about alternate implementations, noting that documentation
Fred Drake [Wed, 20 Jul 2005 04:33:01 +0000 (04:33 +0000)]
add information about alternate implementations, noting that documentation
for the implementation should be consulted
(thanks to Evelyn Mitchell for suggesting this)

19 years agofix markup nits
Fred Drake [Wed, 20 Jul 2005 03:49:42 +0000 (03:49 +0000)]
fix markup nits

19 years agoFix cleanup DECREF logic in builtin_filter function.
Georg Brandl [Tue, 19 Jul 2005 22:20:20 +0000 (22:20 +0000)]
Fix cleanup DECREF logic in builtin_filter function.

19 years agoadded news entry for previous checkin
Georg Brandl [Mon, 18 Jul 2005 08:53:17 +0000 (08:53 +0000)]
added news entry for previous checkin

19 years ago[ 755617 ] os module: Need a better description of "mode"
Georg Brandl [Mon, 18 Jul 2005 08:16:33 +0000 (08:16 +0000)]
[ 755617 ] os module: Need a better description of "mode"

19 years agobug [ 850238 ] unclear documentation/missing command?
Georg Brandl [Mon, 18 Jul 2005 08:04:17 +0000 (08:04 +0000)]
bug [ 850238 ] unclear documentation/missing command?

19 years agobug [ 957505 ] SocketServer module documentation misleading
Georg Brandl [Mon, 18 Jul 2005 07:38:44 +0000 (07:38 +0000)]
bug [ 957505 ] SocketServer module documentation misleading

19 years agoSF bug #1238681: freed pointer is used in longobject.c:long_pow().
Tim Peters [Sun, 17 Jul 2005 23:45:23 +0000 (23:45 +0000)]
SF bug #1238681:  freed pointer is used in longobject.c:long_pow().

In addition, long_pow() skipped a necessary (albeit extremely unlikely
to trigger) error check when converting an int modulus to long.

Alas, I was unable to write a test case that crashed due to either
cause.

Bugfix candidate.

19 years agoWhitespace normalization.
Tim Peters [Sun, 17 Jul 2005 23:16:17 +0000 (23:16 +0000)]
Whitespace normalization.

19 years agobug [ 1021621 ] use first_name, not first, in code samples
Georg Brandl [Sun, 17 Jul 2005 21:18:25 +0000 (21:18 +0000)]
bug [ 1021621 ] use first_name, not first, in code samples

19 years agobug [ 872769 ] os.access() documentation should stress race conditions
Georg Brandl [Sun, 17 Jul 2005 21:10:11 +0000 (21:10 +0000)]
bug [ 872769 ] os.access() documentation should stress race conditions

19 years ago[ 912943 ] 7.5.6 Thread Objects is too vague
Georg Brandl [Sun, 17 Jul 2005 21:00:26 +0000 (21:00 +0000)]
[ 912943 ] 7.5.6 Thread Objects is too vague

19 years ago- Bug #1015140: disambiguated the term "article id" in nntplib docs and
Georg Brandl [Sun, 17 Jul 2005 20:27:41 +0000 (20:27 +0000)]
- Bug #1015140: disambiguated the term "article id" in nntplib docs and
  docstrings to either "article number" or "message id".

19 years agobug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
Georg Brandl [Sun, 17 Jul 2005 20:05:25 +0000 (20:05 +0000)]
bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated

19 years agouse macro
Skip Montanaro [Sun, 17 Jul 2005 15:34:58 +0000 (15:34 +0000)]
use macro

19 years agoNote that usegmt is new in 2.4. Closes #1239681.
Skip Montanaro [Sun, 17 Jul 2005 11:47:46 +0000 (11:47 +0000)]
Note that usegmt is new in 2.4.  Closes #1239681.

19 years agoAdd support for FreeBSD 7.
Hye-Shik Chang [Sun, 17 Jul 2005 02:36:59 +0000 (02:36 +0000)]
Add support for FreeBSD 7.

19 years agoAdded an option to the scanner to generated marked-up HTML from the input
Jack Jansen [Sun, 17 Jul 2005 00:15:46 +0000 (00:15 +0000)]
Added an option to the scanner to generated marked-up HTML from the input
file. This should make it a lot easier (I hope) to get the regular
expressions right.

19 years agobug [ 1238170 ] threading.Thread uses {} as default argument
Georg Brandl [Fri, 15 Jul 2005 09:13:21 +0000 (09:13 +0000)]
bug [ 1238170 ] threading.Thread uses {} as default argument

19 years agotextwrap now processes text chucks at O(n) speed instead of O(n**2).
Raymond Hettinger [Fri, 15 Jul 2005 06:53:35 +0000 (06:53 +0000)]
textwrap now processes text chucks at O(n) speed instead of O(n**2).
Patch #1209527 (Contributed by Connelly).

19 years agoBrett requests that Flovis's permissions be dropped.
Raymond Hettinger [Thu, 14 Jul 2005 17:34:00 +0000 (17:34 +0000)]
Brett requests that Flovis's permissions be dropped.

19 years agoRFE [ 1216944 ] Add Error Code Dictionary to urllib2
Georg Brandl [Thu, 14 Jul 2005 06:40:47 +0000 (06:40 +0000)]
RFE [ 1216944 ] Add Error Code Dictionary to urllib2

19 years agoApply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file
Walter Dörwald [Tue, 12 Jul 2005 21:53:43 +0000 (21:53 +0000)]
Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.

19 years agoFix for #1236090: FSSpec.as_pathname() crashes.
Jack Jansen [Tue, 12 Jul 2005 21:25:05 +0000 (21:25 +0000)]
Fix for #1236090: FSSpec.as_pathname() crashes.

Turns out patch #1035255 was incomplete, it only patched _Filemodule.c
and not filesupport.py. So regenerating caused as_pathname() to go into
an infinite loop.

19 years agoOops.
Georg Brandl [Tue, 12 Jul 2005 13:20:49 +0000 (13:20 +0000)]
Oops.

19 years agobug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
Georg Brandl [Tue, 12 Jul 2005 13:17:59 +0000 (13:17 +0000)]
bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding"

19 years agoFix:
Michael W. Hudson [Tue, 12 Jul 2005 10:21:19 +0000 (10:21 +0000)]
Fix:

1229429 ] missing Py_DECREF in PyObject_CallMethod

Add a test in test_enumerate, which is a bit random, but suffices
(reversed_new calls PyObject_CallMethod under some circumstances).

19 years agobug [ 1235266 ] debug info file descriptor of tarfile is inconsistent
Georg Brandl [Tue, 12 Jul 2005 07:28:20 +0000 (07:28 +0000)]
bug [ 1235266 ] debug info file descriptor of tarfile is inconsistent

19 years agoSF bug 1185883: PyObject_Realloc can't safely take over a block currently
Tim Peters [Sun, 10 Jul 2005 22:30:55 +0000 (22:30 +0000)]
SF bug 1185883:  PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM.  Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).

Bugfix candidate.  Should be backported to 2.4, but I'm out of time.

19 years agoWhitespace normalization.
Tim Peters [Sun, 10 Jul 2005 20:37:51 +0000 (20:37 +0000)]
Whitespace normalization.

19 years agobug 1234979 addition
Georg Brandl [Sat, 9 Jul 2005 15:26:33 +0000 (15:26 +0000)]
bug 1234979 addition

19 years agobug [ 1234979 ] Lock.acquire treats only 1 as True
Georg Brandl [Fri, 8 Jul 2005 22:26:13 +0000 (22:26 +0000)]
bug [ 1234979 ] Lock.acquire treats only 1 as True

19 years agobug [ 969757 ] function and method objects confounded in Tutorial
Georg Brandl [Fri, 8 Jul 2005 21:36:36 +0000 (21:36 +0000)]
bug [ 969757 ] function and method objects confounded in Tutorial

19 years agoHandle argref so it can be overridden more easily in a subclass.
Jack Jansen [Fri, 8 Jul 2005 15:03:37 +0000 (15:03 +0000)]
Handle argref so it can be overridden more easily in a subclass.

19 years agoNote Floris's last name.
Raymond Hettinger [Fri, 8 Jul 2005 14:47:38 +0000 (14:47 +0000)]
Note Floris's last name.

19 years agoAdd permissions for the Summer of Code project.
Raymond Hettinger [Fri, 8 Jul 2005 14:37:56 +0000 (14:37 +0000)]
Add permissions for the Summer of Code project.

19 years agoFix "upload" command garbling and truncating files on Windows. If it's a
Phillip J. Eby [Thu, 7 Jul 2005 15:36:20 +0000 (15:36 +0000)]
Fix "upload" command garbling and truncating files on Windows.  If it's a
binary file, use 'rb'!

19 years agoLink to #1233049 for building against openssl 0.9.8.
Martin v. Löwis [Wed, 6 Jul 2005 19:34:10 +0000 (19:34 +0000)]
Link to #1233049 for building against openssl 0.9.8.