https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2d1a50c This commit was manufactured by cvs2svn to create tag 'r24b1'. 15 October 2004, 08:07:21 UTC
6a587c1 release shenanigans 15 October 2004, 08:07:21 UTC
204bd6d Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar. Python 2.3.x candidate. 15 October 2004, 07:45:05 UTC
5e7d51b make sure to check for this limit even if we're running with -O 15 October 2004, 06:15:08 UTC
d37ddeb Bump buildno for 2.4b1 15 October 2004, 05:44:39 UTC
919637a Add _subprocess.c 15 October 2004, 04:27:51 UTC
15b23a0 Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x. 15 October 2004, 04:26:18 UTC
4d03791 SF bug #1046855: httplib index out of range 14 October 2004, 15:23:38 UTC
3079391 Just remove the #include of signal.h. That it was C++-commented out was a mistake of mine in updating patch #975056 (I think). 14 October 2004, 13:27:14 UTC
a024034 Patch 1046644 - improved distutils support for SWIG. 14 October 2004, 10:02:08 UTC
78f58ab bump the version number prior to release 14 October 2004, 05:07:17 UTC
1dbf243 remove_stderr_debug_decorations(): Always try the substitution. Else this test failed under the combination of passing -O to a debug-build Python. Now all 4 of those pass ({debug, release} x {-O, no -O}). 14 October 2004, 04:16:54 UTC
f7c8d93 Use C89 style comment for old compilers 14 October 2004, 03:48:30 UTC
64fa74d Get test to pass on amd64 (opteron). This is pretty hacky, but rangeobject.c has an #ifdef that is reached only when LONG_MAX != INT_MAX 14 October 2004, 03:46:18 UTC
371e4d8 SF bug 1046690: difflib.HtmlDiff doc errors. Easy doc corrections from Dan Gass. Also repaired the LaTeX for optional keyword arguments throughout, which was (incorrectly) nested instead of flat. 14 October 2004, 03:09:48 UTC
4b9059b Require minimally PyXML 0.8.4. 13 October 2004, 19:57:14 UTC
9171f02 Synchronize with PyXML 1.79: 73: Restore support for Python 2.1. 74: Factor the previous change differently 79: Conditionalize usage of PyTuple_Pack. 13 October 2004, 19:50:11 UTC
3e73a01 Replace dynamic try/except with "if 0", to keep py2exe happy. If you want to use pywin32 instead of _subprocess, you have to edit the file. 13 October 2004, 18:19:18 UTC
22dcf66 Patch 983206: distutils obeys LDSHARED env var. Removed the code in Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...) 13 October 2004, 15:54:17 UTC
8a560de Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h detection to configure &c. 13 October 2004, 15:30:56 UTC
e4f8a48 969574 13 October 2004, 14:55:56 UTC
9ceaa72 Patch #975056 - fixes for restartable signals on *BSD. In addition, a few remaining calls to signal() were converted to PyOS_setsig(). 13 October 2004, 14:48:50 UTC
7d42878 Fixed a small bug. doctest didn't handle unicode docstrings containing non-ascii characters. 13 October 2004, 14:15:32 UTC
73cc847 oops. how did _that_ happen? 13 October 2004, 13:22:34 UTC
f2113f0 Backing out the basic dependency checking (from pycon sprint). This support was only a first cut, and doesn't deserve to be in a released version (where we have to support it in an ongoing manner) 13 October 2004, 12:35:28 UTC
9e29fc5 Don't spend quite as much time looking for leaks on Windows, where it's rather expensive to create new processes. 13 October 2004, 07:54:54 UTC
59c0559 normalize case when comparing directory names (problem reported by "Khalid A. B." on python-dev) 13 October 2004, 06:55:40 UTC
7069c31 removed info@pythonware.com reference (should probably remove all traces of _xmlrpclib, but I'll leave that for another day.) 13 October 2004, 06:48:37 UTC
f7e74b7 Add a comment explaining -kb. 13 October 2004, 05:29:39 UTC
3761e8d New helper remove_stderr_debug_decorations(). This test passes in a debug build on Windows now. More applications of the helper may be needed on non-Windows platforms. 13 October 2004, 04:07:12 UTC
29b6b4f Kill several problems at once: test_poll() failed sometimes for me. Turns out the mysterious "expected output" file contained exactly N dots, because test_poll() has a loop that *usually* went around N times, printing one dot on each loop trip. But there's no guarantee of that, because the exact value of N depended on the vagaries of scheduling time.sleep()s across two different processes. So stopped printing dots, and got rid of the expected output file. Add a loop counter instead, and verify that the loop goes around at least a couple of times. Also cut the minimum time needed for this test from 4 seconds to 1. 13 October 2004, 03:43:40 UTC
4052fe5 test_stdout_none(): Don't print "banana" to the screen in the middle of the test. It's testing stdout in a different process, so it has to print something, but I didn't find "banana" to be self-explanatory. 13 October 2004, 03:29:54 UTC
876c432 Windows test_creationflags() test: print msg to stderr informing the tester that a DOS box is expected to flash. Slash the sleep from 2 seconds to a quarter second (why would we want to wait 2 seconds just to stare at a DOS box?). 13 October 2004, 03:21:35 UTC
e8374a5 Folded long lines. 13 October 2004, 03:15:00 UTC
f73cc97 XXX about extreme expense of test_no_leaking() on Windows. I'm not sure what this is trying to do. If it's necessary for it to create > 1000 processes, it should be controlled by a new resource and not run by default on Windows. 13 October 2004, 03:14:40 UTC
7b759da Experience with Zope2's tests showed it's a Bad Idea to make unittest display a test's docstring as "the name" of the test. So changed most test docstrings to comments, and removed the clearly useless ones. Now unittest reports the actual names of the test methods. 12 October 2004, 22:29:54 UTC
3b01a70 Wrap long lines. 12 October 2004, 22:19:32 UTC
e718f61 Whitespace normalization. 12 October 2004, 21:51:32 UTC
4eb5978 Supply the _subprocess module under 7.1. I'm not sure what the status of this should be on non-WIN32 Windows variants. 12 October 2004, 21:48:57 UTC
f3250b0 Before this turns into an unreadable mess, follow PEP 7 by using hard tab indents in C code. 12 October 2004, 21:38:22 UTC
25b38c8 Improvements when running pdb as a script. Bug fixes: * Use fresh copy of globals/locals so the script being debugged can't access the pdb namespace (e.g.: p line_prefix will no longer work). * Remove pdb.py's path from sys.path. Having it in there is normally not a problem, but it could prove irritating when messing with PYTHONPATH or invoking pdb via /usr/bin/pdf. * You can now set a breakpoint on the script being debugged, even if the script doesn't end with a '.py' extension. Also, setting breakpoints with absolute paths now works reliably. Enhancements: * Go directly to the first line of the script. * Enter post-mortem debugging if the script being debugged doesn't catch an exception. * Restart the script being debugged and preserve debugger state when the script being debugged exits. Cleanup: * Moved the __main__ method into a main() function. * Kill the (undocumented, not in __all__) mainmodule/mainpyfile globals, add a mainpyfile attribute to pdb. Thanks Ilya Sandler for the patch! 12 October 2004, 18:12:09 UTC
51ee66e Typo fix 12 October 2004, 16:38:42 UTC
b6ffc27 Finish off PEP 324 section; fix Peter's last name 12 October 2004, 16:36:57 UTC
c9e7d77 Start section for PEP 324 12 October 2004, 15:58:02 UTC
518d393 Fix PEP number 12 October 2004, 15:32:10 UTC
5b3687d Added Peter Astrand's subprocess module. 12 October 2004, 15:26:28 UTC
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
back to top