Commit Graph

32158 Commits

Author SHA1 Message Date
Fred Drake d5ecb513ad fix markup nits 2005-07-20 03:49:42 +00:00
Georg Brandl e35b657efd Fix cleanup DECREF logic in builtin_filter function. 2005-07-19 22:20:20 +00:00
Georg Brandl 150db73c78 added news entry for previous checkin 2005-07-18 08:53:17 +00:00
Georg Brandl 2d8cc618db [ 755617 ] os module: Need a better description of "mode" 2005-07-18 08:16:33 +00:00
Georg Brandl 2982252452 bug [ 850238 ] unclear documentation/missing command? 2005-07-18 08:04:17 +00:00
Georg Brandl ca5feabac2 bug [ 957505 ] SocketServer module documentation misleading 2005-07-18 07:38:44 +00:00
Tim Peters de7990b8af 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.
2005-07-17 23:45:23 +00:00
Tim Peters f5f32b4712 Whitespace normalization. 2005-07-17 23:16:17 +00:00
Georg Brandl c48a740887 bug [ 1021621 ] use first_name, not first, in code samples 2005-07-17 21:18:25 +00:00
Georg Brandl b37b8eca88 bug [ 872769 ] os.access() documentation should stress race conditions 2005-07-17 21:10:11 +00:00
Georg Brandl 75d5106bd0 [ 912943 ] 7.5.6 Thread Objects is too vague 2005-07-17 21:00:26 +00:00
Georg Brandl 5dbda75a02 - Bug #1015140: disambiguated the term "article id" in nntplib docs and
docstrings to either "article number" or "message id".
2005-07-17 20:27:41 +00:00
Georg Brandl 0e03272350 bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated 2005-07-17 20:05:25 +00:00
Skip Montanaro 7a7b350375 use macro 2005-07-17 15:34:58 +00:00
Skip Montanaro bbf74f9d7b Note that usegmt is new in 2.4. Closes #1239681. 2005-07-17 11:47:46 +00:00
Hye-Shik Chang 4e422817eb Add support for FreeBSD 7. 2005-07-17 02:36:59 +00:00
Jack Jansen 149787e7c5 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.
2005-07-17 00:15:46 +00:00
Georg Brandl a4a8b820aa bug [ 1238170 ] threading.Thread uses {} as default argument 2005-07-15 09:13:21 +00:00
Raymond Hettinger 8bfa8935ea textwrap now processes text chucks at O(n) speed instead of O(n**2).
Patch #1209527 (Contributed by Connelly).
2005-07-15 06:53:35 +00:00
Raymond Hettinger d5d469d3d1 Brett requests that Flovis's permissions be dropped. 2005-07-14 17:34:00 +00:00
Georg Brandl 5c5fe2f445 RFE [ 1216944 ] Add Error Code Dictionary to urllib2 2005-07-14 06:40:47 +00:00
Walter Dörwald c1f5fff2b7 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.
2005-07-12 21:53:43 +00:00
Jack Jansen d7b76e9f69 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.
2005-07-12 21:25:05 +00:00
Georg Brandl b9ab7a584d Oops. 2005-07-12 13:20:49 +00:00
Georg Brandl 9abfa90a6d bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding" 2005-07-12 13:17:59 +00:00
Michael W. Hudson 0edc7a03e2 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).
2005-07-12 10:21:19 +00:00
Georg Brandl 208eec2cad bug [ 1235266 ] debug info file descriptor of tarfile is inconsistent 2005-07-12 07:28:20 +00:00
Tim Peters ecc6e6a54e 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.
2005-07-10 22:30:55 +00:00
Tim Peters 7d66b00f29 Whitespace normalization. 2005-07-10 20:37:51 +00:00
Georg Brandl 9a3240e8e6 bug 1234979 addition 2005-07-09 15:26:33 +00:00
Georg Brandl af410b510d bug [ 1234979 ] Lock.acquire treats only 1 as True 2005-07-08 22:26:13 +00:00
Georg Brandl 8b687cf683 bug [ 969757 ] function and method objects confounded in Tutorial 2005-07-08 21:36:36 +00:00
Jack Jansen 6d394d9b68 Handle argref so it can be overridden more easily in a subclass. 2005-07-08 15:03:37 +00:00
Raymond Hettinger fafc1aeccc Note Floris's last name. 2005-07-08 14:47:38 +00:00
Raymond Hettinger 6e447d0cd3 Add permissions for the Summer of Code project. 2005-07-08 14:37:56 +00:00
Phillip J. Eby 5cb784629f Fix "upload" command garbling and truncating files on Windows. If it's a
binary file, use 'rb'!
2005-07-07 15:36:20 +00:00
Martin v. Löwis 4c3259cbb9 Link to #1233049 for building against openssl 0.9.8. 2005-07-06 19:34:10 +00:00
Michael W. Hudson b89638148b Fix bug
[ 1232517 ] OverflowError in time.utime() causes strange traceback

A needed error check was missing.

(Actually, this error check may only have become necessary in fairly
recent Python, not sure).

Backport candidate.
2005-07-05 15:21:58 +00:00
Jack Jansen 0257424a2a Allow for (optional) const declaration. 2005-07-05 10:00:57 +00:00
Raymond Hettinger 82cb9a235d Add test for hash commutativity. 2005-07-05 05:34:43 +00:00
Piers Lauder 2dfc168bc3 fixed tag generation to avoid null tags 2005-07-05 04:20:07 +00:00
Georg Brandl 9e43acf2f3 bug #1177468: don't cache /dev/urandom file descriptor in os.urandom 2005-07-04 17:16:07 +00:00
Georg Brandl 290f3829d7 Revert patch for 1162912. 2005-07-04 14:17:47 +00:00
Jack Jansen 918a9e2f63 Updated (and regenerated) for name change in tp_init method arguments:
they are now _self, _args and _kwds.
2005-07-03 20:59:44 +00:00
Jack Jansen a6af76cbe4 Factored out the code that creates argument lists and formats for PyArg_Parse
and Py_BuildValue.
2005-07-03 20:58:08 +00:00
Jack Jansen 7b8f0a1843 Sigh, changed the argument names in the tp_init function: to make them be
more in line with other methods "self" and "args" had to be renamed "_self"
and "_args". Did "_kwds" too, for consistency.
2005-07-03 20:57:26 +00:00
Georg Brandl f73b4b0077 bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage 2005-07-03 20:21:40 +00:00
Georg Brandl 9a65d583ac Add doctest for examples in libweakref.tex to test_weakref. 2005-07-02 19:07:30 +00:00
Georg Brandl f0af0e7a46 patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror) 2005-07-02 18:37:41 +00:00
Georg Brandl 376e6227b4 bug [ 1228904 ] weakref example broken 2005-07-02 10:44:32 +00:00