Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
abf8a56 Don't use mutable values for method defaults. 12 October 2004, 09:12:16 UTC
f3958f1 Add two items 11 October 2004, 19:20:06 UTC
9fc9789 Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the following: On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed directly to the program without shell intervention (as with \function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell (as with \function{os.system()}). 11 October 2004, 18:12:20 UTC
c054a8b This is jiwon's patch to fix: [ 1042238 ] Lib/compiler chokes on certain genexps 11 October 2004, 15:35:53 UTC
29589a0 Open source files in universal newlines mode. 11 October 2004, 15:34:31 UTC
418de1f Added note about the new usegmt argument to email.Utils.formatdate(). 11 October 2004, 14:32:47 UTC
3dd9e46 Added a usegmt flag to email.Utils.formatdate - this allows it to be used to replace rfc822.formatdate for protocols like HTTP (where 'GMT' must be the timezone string). 11 October 2004, 13:53:08 UTC
7f468f2 SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int. 11 October 2004, 02:40:51 UTC
89c0ec9 Revert rev 2.35. It was based on erroneous reasoning -- the current thread's id can't get duplicated, because (of course!) the current thread is still running. The code should work either way, but reverting the gratuitous change should make backporting easier, and gets the bad reasoning out of 2.35's new comments. 10 October 2004, 05:30:40 UTC
8470558 PyInterpreterState_New(), PyThreadState_New(): use malloc/free directly. This appears to finish repairs for SF bug 1041645. This is a critical bugfix. 10 October 2004, 02:47:33 UTC
263091e find_key(): This routine wasn't thread-correct, and accounts for the release-build failures noted in bug 1041645. This is a critical bugfix. I'm not going to backport it, though (no time). 10 October 2004, 01:58:44 UTC
5c14e64 PyGILState_Release(): If we need to delete the TLS entry for this thread, that must be done under protection of the GIL, for reasons explained in new comments. 09 October 2004, 23:55:36 UTC
2294bfc All known bugs are closed, and Python 2.4b1 is coming out soon, so bump email's version number to 3.0b1. 09 October 2004, 23:01:11 UTC
dee0cf1 Fix SF bug # 1030941. In _parsegen(), in the clause where we're capturing_preamble but we found a StartBoundaryNotFoundDefect, we need to consume all lines from the current position to the EOF, which we'll set as the epilogue of the current message. If we're not at EOF when we return from here, the outer message's capturing_preamble assertion will fail. 09 October 2004, 23:00:11 UTC
6bd55ee An example message for SF bug # 1030941. 09 October 2004, 22:57:57 UTC
83f1a1b test_missing_start_boundary(): A test for SF bug # 1030941. 09 October 2004, 22:57:33 UTC
f9becec _PyGILState_Init(), PyGILState_Ensure(): Since PyThread_set_key_value() can fail, check its return value, and die if it does fail. _PyGILState_Init(): Assert that the thread doesn't already have an association for autoTLSkey. If it does, PyThread_set_key_value() will ignore the attempt to (re)set the association, which the code clearly doesn't want. 09 October 2004, 22:47:13 UTC
fda787f Document the results of painful reverse-engineering of the "portable TLS" code. PyThread_set_key_value(): It's clear that this code assumes the passed-in value isn't NULL, so document that it must not be, and assert that it isn't. It remains unclear whether existing callers want the odd semantics actually implemented by this function. 09 October 2004, 22:33:09 UTC
f267b62 Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. 09 October 2004, 21:44:13 UTC
ea7c7af __init__(): Coerce the input_charset to unicode (with ascii encoding) before calling .lower() on it. This fixes the problem described in SF patch # 866982 where in the tr_TR.ISO-8859-9 locale, 'I'.lower() isn't 'i'. unicodes are locale insensitive. 09 October 2004, 21:08:30 UTC
19717fa Style guide & consistency changes. No semantic changes. 09 October 2004, 17:38:29 UTC
4c1f5ec Trim trailing whitespace. 09 October 2004, 17:25:05 UTC
dcb9d94 Simplify delitem() code by calling rotate() directly instead of using arguments passed through tuples. 09 October 2004, 16:02:18 UTC
7126976 Patch #1042969: add closing brace for \token {generator_expression}. Thanks George Yoshida! 09 October 2004, 15:52:04 UTC
dab988d SF patch #1043218 Simplify internal calls and logic for _fix() and _fixexponents(). (Contributed by Facundo Batista.) 09 October 2004, 07:10:44 UTC
7a8ce5a [Bug #1022311] curses module uses y,x ordering of arguments, not x,y 08 October 2004, 18:48:43 UTC
293dc9d [Bug #1041501] Fix example code 08 October 2004, 18:34:47 UTC
cebdd3c [Bug #1031897] Fix order of decorator application 08 October 2004, 18:29:29 UTC
c09acfd Fix bug in _checkquote that raised an exception on empty "arg". 08 October 2004, 04:05:39 UTC
77d110d SF patch #1041364: True/False instead of 1/0 in libstdtypes.tex (Contributed by Gerrit Holl. Reviewed by Jeff Epler.) 08 October 2004, 01:52:15 UTC
7db385e Rewrite rmtree using os.walk to fix bug #1025127: The shutils.rmtree() implementation uses an excessive amount of memory when deleting large directory hierarchies. Before actually deleting any files, it builds up a list of (function, filename) tuples for all the files that it is going to remove. 07 October 2004, 21:10:08 UTC
8da2b01 This is Michiel de Hoon's patch, as attached to the bug report: [ 1030629 ] PyOS_InputHook broken with a couple of utterly inconsequential changes by me. 07 October 2004, 13:46:33 UTC
3afe4f3 Add helpful comment 07 October 2004, 12:30:54 UTC
6f59325 Take out Guido's name and put in the PSF 07 October 2004, 12:27:31 UTC
895f245 Update two URLs 07 October 2004, 12:23:12 UTC
166e625 Add -m to man page 07 October 2004, 12:04:50 UTC
5e3f923 Add item 07 October 2004, 12:00:33 UTC
db29e0f SF patch #1035498: -m option to run a module as a script (Contributed by Nick Coghlan.) 07 October 2004, 06:46:25 UTC
fb09f0e Finalize the freelist of list objects. 07 October 2004, 03:58:07 UTC
ffa5cf9 Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to accept any iterable instead of only a sliceable object. 06 October 2004, 22:48:58 UTC
c5fa992 Armin's patch to prevent overflows. 06 October 2004, 17:51:54 UTC
f7948c2 Convert a listcomp to a gencomp (was already editing code). 06 October 2004, 02:23:14 UTC
4f35c71 Locale data that contains regex metacharacters are now properly escaped. Closes bug #1039270. 06 October 2004, 02:11:37 UTC
579b3e2 Add some items 05 October 2004, 20:23:34 UTC
29978ae The docs claimed a test would pass that actually wouldn't pass. Repaired the example so it does pass. 04 October 2004, 03:34:32 UTC
b9b5f16 Fix a small typo in the docstring for system_methodSignature . Closes bug #1038935. Thanks Malte Helmert for spotting it. 03 October 2004, 23:21:44 UTC
e7d4066 Changes made to maintain 1.5.2 compatibility. 03 October 2004, 19:12:07 UTC
2d5fee0 Version number updated to 0.4.9.5 03 October 2004, 19:10:53 UTC
1dc5b1e Clarified documentation about exc_info keyword parameter 03 October 2004, 19:10:05 UTC
130e37f Read the text files to be compared in universal-newline mode. 03 October 2004, 19:03:19 UTC
ab9b32c Whitespace normalization. 03 October 2004, 18:35:19 UTC
dd3c837 added plistlib news item 03 October 2004, 16:27:09 UTC
1cbf206 SF bug #997050: Document, test, & check for non-string values in ConfigParser. Moved the new string-only restriction added in rev. 1.65 to the SafeConfigParser class, leaving existing ConfigParser & RawConfigParser behavior alone, and documented the conditions under which non-string values work. 03 October 2004, 15:55:09 UTC
68a1abd SF bug #1017864: ConfigParser now correctly handles default keys, processing them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options. 03 October 2004, 15:40:25 UTC
bfe5684 typo 03 October 2004, 09:41:26 UTC
507a485 Print verbose messages to stderr. Fixes #1036752. 03 October 2004, 08:51:35 UTC
fec1ce0 remove rotor module 03 October 2004, 08:29:55 UTC
3dac89e note module removals, update on BitTorrent issue 03 October 2004, 08:26:36 UTC
96b3725 bring modules up to date, correct .DEF file version 03 October 2004, 08:11:30 UTC
1b64359 Fix test for FeedParser results. 03 October 2004, 04:02:43 UTC
8df5921 Blarg, fix the versions. 03 October 2004, 03:58:01 UTC
43790b4 Updates for distutils package. 03 October 2004, 03:57:37 UTC
2ec4854 Add documentation about as_string() mangling From_ lines. 03 October 2004, 03:39:47 UTC
05bef93 as_string(): Indicate that this mangles From_ lines. 03 October 2004, 03:38:07 UTC
bb11386 Big email 3.0 API changes, with updated unit tests and documentation. Briefly (from the NEWS file): - Updates for the email package: + All deprecated APIs that in email 2.x issued warnings have been removed: _encoder argument to the MIMEText constructor, Message.add_payload(), Utils.dump_address_pair(), Utils.decode(), Utils.encode() + New deprecations: Generator.__call__(), Message.get_type(), Message.get_main_type(), Message.get_subtype(), the 'strict' argument to the Parser constructor. These will be removed in email 3.1. + Support for Python earlier than 2.3 has been removed (see PEP 291). + All defect classes have been renamed to end in 'Defect'. + Some FeedParser fixes; also a MultipartInvariantViolationDefect will be added to messages that claim to be multipart but really aren't. + Updates to documentation. 03 October 2004, 03:16:19 UTC
2cdd608 removed 2.2 support 02 October 2004, 14:06:56 UTC
16c3e08 use new readPlist() and writePlist() functions 02 October 2004, 14:06:18 UTC
974d757 Upon insertion, if memory runs out, the deque was left in a corrupted state. deque_item(): a performance bug: the linked list of blocks was followed from the left in most cases, because the test (i < (deque->len >> 1)) was after "i %= BLOCKLEN". deque_clear(): replaced a call to deque_len() with deque->len; not sure what this call was here for, nor if all compilers under the sun would inline it. deque_traverse(): I belive that it could be called by the GC when the deque has leftblock==rightblock==NULL, because it is tracked before the first block is allocated (though closely before). Still, a C extension module subclassing deque could provide its own tp_alloc that could trigger a GC collection after the PyObject_GC_Track()... deque_richcompare(): rewrote to cleanly check for end-of-iterations instead of relying on deque.__iter__().next() to succeed exactly len(deque) times -- an assumption which can break if deques are subclassed. Added a test. I wonder if the length should be explicitely bounded to INT_MAX, with OverflowErrors, as in listobject.c. On 64-bit machines, adding more than INT_MAX in the deque will result in trouble. (Note to anyone/me fixing this: carefully check for overflows if len is close to INT_MAX in the following functions: deque_rotate(), deque_item(), deque_ass_item()) 02 October 2004, 13:59:34 UTC
565ea5a SF bug#1038917 fix typos (Contributed by George Yoshida.) 02 October 2004, 11:02:59 UTC
880430e Replace structure member before decreffing. 02 October 2004, 10:56:43 UTC
4c3d054 Which reminds me, I've had a much improved plistlib.py lying around for ages. The main improvements are: - a much more convenient API: readPlist() and writePlist() - support non-dict top-level objects 02 October 2004, 08:40:47 UTC
d1b3d88 * Bulletproof the method for detecting mutations during iteration. The previous approach was too easily fooled (a rotate() sufficed). * Use it->counter to determine when iteration is complete. The previous approach was too complex. * Strengthen an assertion and add a comment here or there. 02 October 2004, 00:43:13 UTC
77e8bf1 Restore the block length and add a comment. 01 October 2004, 15:25:53 UTC
4ca4c7c Clarify the relationship between indices. 01 October 2004, 15:14:39 UTC
61f05fb * Elaborate on the invariant comments and make them more precise. * Change the centering by one to make it possible to test the module with BLOCKLEN's as low as two. Testing small blocks makes end-point errors surface more readily. 01 October 2004, 06:24:12 UTC
cf8997f Noted the fix to deque gc. 01 October 2004, 02:13:16 UTC
10c7e86 deque_traverse(): If the deque had one block, and its rightindex was BLOCKLEN-1, this assert-failed in a debug build, or went wild with a NULL pointer in a release build. Reported on c.l.py by Stefan Behnel. 01 October 2004, 02:01:04 UTC
d6e0032 Typos in new comments. 01 October 2004, 01:35:54 UTC
d8768d3 Document some reverse-engineered invariants and pragmatic hints. 01 October 2004, 01:32:53 UTC
e644a1b Get references working (except for references to "Extending optparse", which isn't being converted from reST yet). 01 October 2004, 01:16:39 UTC
6f85356 Definition consistency. 01 October 2004, 01:04:50 UTC
1065f75 Trimmed trailing whitespace. 01 October 2004, 01:03:29 UTC
7b46f6b Add tests for syntax errors. 30 September 2004, 22:29:03 UTC
0fe00aa Added 2 notes about the complexities of testing SyntaxErrors. 30 September 2004, 17:18:18 UTC
49c522b Expand scope to include general mapping protocol tests. Many of these tests are redundant, but this will ensure that the mapping protocols all stay in sync. Also, added a test for dictionary subclasses. 30 September 2004, 15:07:29 UTC
59b23e8 Add missing test_dict.py from patch #736962. 30 September 2004, 13:46:00 UTC
5ea7e31 Improve test coverage. 30 September 2004, 07:47:20 UTC
f751fa6 SF bug #1035279: hex() and oct() documentation is incorrect * Updated docs to reflected signed return values. * Fixed a doubled word typo. 30 September 2004, 00:59:08 UTC
fec0c46 Improve error message for augmented assignments to genexps or listcomps. Rather than introduce new logic, took the approach of making the message itself more general. 29 September 2004, 23:54:08 UTC
8ffc141 Fix two erroneous error messages. 29 September 2004, 21:47:10 UTC
975e725 Fix typo in PyDict_Items doc 29 September 2004, 21:39:26 UTC
ff5dc0e Improve test coverage. 29 September 2004, 11:40:50 UTC
bcab2b2 Improve test coverage. 29 September 2004, 08:03:17 UTC
5497fee minor doc tweaks for writexml 28 September 2004, 18:40:42 UTC
67db9a5 typo 28 September 2004, 18:30:03 UTC
06cc973 Replaced a test with an assertion. (Suggested by Michael Hudson.) 28 September 2004, 17:22:12 UTC
01ba799 A number of list examples used 66.6, but I doubt there's any box on which repr(66.6) == "66.6", so doubt that the claimed output has ever been seen. Changed it to 66.25 everywhere, and manually verified that the new claimed output is correct. 28 September 2004, 16:12:50 UTC
7d88a58 Reverted the addition of a NORMALIZE_NUMBERS option, per Tim Peter's request. Tim says that "correct 'fuzzy' comparison of floats cannot be automated." (The motivation behind adding the new option was verifying interactive examples in Python's latex documentation; several such examples use numbers that don't print consistently on different platforms.) 28 September 2004, 05:50:57 UTC
4cda01e * Increase test coverage. * Have groupby() be careful about decreffing structure members. 28 September 2004, 04:45:28 UTC
aec3c9b Added a new NORMALIZE_NUMBERS option, which causes number literals in the expected output to match corresponding number literals in the actual output if their values are equal (to ten digits of precision). 28 September 2004, 04:29:57 UTC
back to top