https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
7960bf9 And delete a useless comment. 08 November 2004, 22:31:09 UTC
d7bbbbc _OutputRedirectingPdb.trace_dispatch(): Return the base class's trace_dispatch() result in a more obvious, and more robust way. 08 November 2004, 22:30:28 UTC
50c6bdb test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton showing that doctest's pdb.set_trace() support was dramatically broken. doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace function instead of (implicitly) None. Else interaction with pdb was bizarre, noticing only 'call' events. Amazingly, the existing set_trace() tests didn't care. 08 November 2004, 22:07:37 UTC
e0b855f test for fixedness of bug #1057835. (thanks to Raymond for the prod). 08 November 2004, 16:46:02 UTC
05522ad Fix bug [ 1057835 ] compiler.transformer, "from module import *" 08 November 2004, 12:17:34 UTC
481b09b SF #1062190. Removed an assertion that rendered trace.py unnecessarily inflexibile. 08 November 2004, 06:36:42 UTC
fb1ffb0 SF bug 1061968: threads: segfault or Py_FatalError at exit PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread shutdown race bug 225673. Repaired by (once again) ensuring the GIL is held whenever deleting a thread state. Alas, there's no useful test case for this shy bug. Four years ago, only Guido could provoke it, on his box, and today only Armin can provoke it on his box. I've never been able to provoke it (but not for lack of trying!). This is a critical fix for 2.3.5 too, since the fix for 1010677 got backported there already and so also reintroduced 225673. I don't intend to backport this fix. For whoever (if anyone) does, there are other thread fixes in 2.4 that need backporting too, and I bet they need to happen first for this patch to apply cleanly. 08 November 2004, 04:30:21 UTC
d6eb352 Stop printing listdir bytestring output, as the precise list of strings returned depends on the filesystem encoding. 07 November 2004, 20:01:56 UTC
cd24699 Try a different filename if the Latin-1 file name cannot be represented in the file system. Fixes #989338. 07 November 2004, 19:57:35 UTC
4de9374 Patch #1062033 / bug #1027771: clarify what happens when calling insertBefore() with refChild=None. 07 November 2004, 19:55:18 UTC
4f18caa Patch #1062018 / bug #1038693: comment out dead link in tkinter docs. 07 November 2004, 19:36:48 UTC
8de645a Patch #1061931 / bug #971872: factor out part of spillproperties, so properties are also documented if help(Class.<property>) is called instead of help(Class). 07 November 2004, 19:16:05 UTC
3546188 Added more documentation about the executable argument. Fixes #1056441. 07 November 2004, 16:38:08 UTC
def9d2a Fix for SF bug 988120 via patch 1061941. If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount. 07 November 2004, 16:13:49 UTC
f164322 Patch #1061924: add documentation for BaseRotatingHandler and correct reference to non-existent function 'setRollover()'. 07 November 2004, 16:11:35 UTC
eaaa771 Clarify that it's not necessary to subclass from TestCase to create a test case. As Jeremy put it: "subclassing is an implementation technique, not a type declaration". 07 November 2004, 16:02:07 UTC
d7b6ad4 Patch #1061904 / bug #878275: give a nicer error message when someone accidentally derives from TestSuite instead of TestCase. 07 November 2004, 15:46:25 UTC
c1d6536 When using shell=True on Windows, don't display a shell window by default. Fixes #1057061. 07 November 2004, 14:30:34 UTC
80961f3 Fix apparently trivial buffer overflow (SF bug 1060396). memset() wrote one past the end of the buffer, which was likely to be unused padding or a yet-to-be-initialized local variable. This routine is already tested by test_socket. 07 November 2004, 14:24:25 UTC
f8e74b1 If close() fails in file_dealloc, then print an error message to stderr. close() can fail if the user is out-of-quota, for example. Fixes #959379. 07 November 2004, 14:15:28 UTC
4f802ac Patch #1061857: add documentation for previously undocumented TimedRotatingFileHandler class. Thanks Jeroen Vloothuis! 07 November 2004, 14:14:27 UTC
16b0479 SF patch 1025636: Check for NULL returns in compile.c:com_import_stmt There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though. 07 November 2004, 14:04:00 UTC
84a6c20 Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made the debugger enter inside pdb.set_trace. Patch #1061767: make pdb.set_trace enter enter at the stack frame calling pdb.set_trace(). 07 November 2004, 11:35:30 UTC
e174ae9 Bump version for 2.4c1 07 November 2004, 10:08:29 UTC
72f0801 SF bug #1061457: spelling error in win installer 07 November 2004, 07:08:25 UTC
700d9b9 SF patch #1061780: use a new -m option in pdb and profile invocations Doc patch submitted by Ilya Sandler. 07 November 2004, 06:18:37 UTC
00afb07 Whitespace normalization. 07 November 2004, 04:52:29 UTC
c601e0f Move the AC_MSG_RESULT function call for checking for pthread options up into the 'if' statement that performed the test. Not all platforms run the test and on those tests configure outputted a rogue 'no' line. 07 November 2004, 01:24:12 UTC
7d28e96 Add comment about removal of CoreServices/CoreFoundation compilation against the core on OS X (also specifically mention removal of PyMac_GetAppletScriptFile() ). 07 November 2004, 01:19:00 UTC
90cf212 Essentially SF patch 1061679: add missing __all__ to pickletools.py. Harmless. 06 November 2004, 23:45:48 UTC
b12efd3 Comment cleanup. 06 November 2004, 19:56:45 UTC
eef2d3b regenerated configure from configure.in 06 November 2004, 04:45:33 UTC
8a92dd5 Don't choke on modes like rb or wb. 06 November 2004, 00:31:51 UTC
93d9d5f get_boundary(): Fix for SF bug #1060941. RFC 2046 says boundaries may begin -- but not end -- with whitespace. I will backport to Python 2.3. 06 November 2004, 00:04:52 UTC
932874d test_boundary_with_leading_space(): Test case for SF bug #1060941. RFC 2046 says boundaries may begin -- but not end -- with whitespace. I will backport to Python 2.3. 06 November 2004, 00:04:20 UTC
bb4e859 SF bug #1060825: Error in difflib docs 05 November 2004, 16:38:08 UTC
ec6eb36 SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core (Contributed by Bob Ippolito.) This patch trims down the Python core on Darwin by making it independent of CoreFoundation and CoreServices. It does this by: Changed linker flags in configure/configure.in Removed the unused PyMac_GetAppletScriptFile Moved the implementation of PyMac_StrError to the MacOS module Moved the implementation of PyMac_GetFullPathname to the Carbon.File module 05 November 2004, 07:02:59 UTC
e0bdaef - remove some bogus <meta> tags from the document head - clean up some of the generated markup 05 November 2004, 06:42:22 UTC
0384be3 generate the "type" attribute on the favicon link 05 November 2004, 05:06:08 UTC
6e2e90d switch remaining icon references to the PNG icons 05 November 2004, 04:51:05 UTC
8aebe19 add encouragement to contribute without learning LaTeX (closes SF bug #948517) 05 November 2004, 04:23:25 UTC
5c0ebdc - make the default image type PNG, to match mkhowto - add a command-line option to control the image type 05 November 2004, 04:05:06 UTC
2cf5e19 Point out some platform vagaries in stat() and utime(). Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to backport this. 04 November 2004, 21:27:48 UTC
80adba6 Mistakes in the "sequence types" page: * explanation for example with lists of lists made confusing use of the word "contains" to mean "is built out of". * wrong formula for slices with step. Is it ok to use LaTeX formulas (which become images in the html document)? This version needs one because it's based on a fraction. Just writing "\code{(j-i)/k}" here would be ambiguous because it looks like a rounding-down-to-the-previous-integer division, which is not what we need here. Of course we could write "\code{float(j-i)/k}" but it just looks confusing. 04 November 2004, 11:29:09 UTC
99e5ce5 markup nit 04 November 2004, 05:45:44 UTC
b0c6630 post-release 04 November 2004, 05:23:17 UTC
599bd5e Fix bug 1052242. Also includes rewrite of test case using unittest and avoiding use of popen. 04 November 2004, 04:31:30 UTC
ed30629 fix markup in "title" attribute for \citetitle{} (closes SF patch #1054715; backporting to release23-maint branch) 04 November 2004, 03:23:04 UTC
7348bad This commit was manufactured by cvs2svn to create tag 'r24b2'. 03 November 2004, 06:21:37 UTC
9f41f3a release shenanigans 03 November 2004, 06:21:37 UTC
7b2563b Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does. Fixes #1049003. 02 November 2004, 22:59:56 UTC
6450190 Bump buildno for 2.4b2. 02 November 2004, 22:28:07 UTC
eac00ed fix accidental commit 02 November 2004, 19:20:43 UTC
7fabaf8 clarify discussion of iteration in the section on the "for" statement (SF bug #829073) 02 November 2004, 19:18:20 UTC
303e30e clarify discussion of iteration in the section on the "for" statement (SF bug #829073) 02 November 2004, 19:18:20 UTC
9a40851 clarify trailing comma in function argument list (SF bug #798652) 02 November 2004, 18:57:33 UTC
e808c23 - show how to use file.write() with a non-string value (closes SF bug #621057) - add missing whitespace around assignment operator 02 November 2004, 18:24:26 UTC
22b3b47 release bit 02 November 2004, 13:03:54 UTC
5dec096 Maintain peepholer's cumlc invariant by updating the running total everytime a LOAD_CONSTANT is encountered, created, or overwritten. Added two tests to cover cases affected by the patch. 02 November 2004, 04:20:10 UTC
7d112df Bump-up block size. 02 November 2004, 02:11:35 UTC
f7010be * Bumped up the sleep() delay to four seconds so this test will run reliably on WinME with FAT32. * Native speaker rewrite of the comment block. * Removed unnecessary backslashes from the multi-line function defintions. 01 November 2004, 22:27:14 UTC
bb9c739 Add error checks for the bz2, cStringIO and operator modules. Add function names to various PyArg_ParseTuple calls in bz2module.c. 01 November 2004, 17:10:19 UTC
bc1d1b8 gc_list_move(): Make this truly equivalent to remove+append. While nothing in gc currently cares, the original coding could screw up if, e.g., you tried to move a node to the list it's already in, and the node was already the last in its list. 01 November 2004, 16:39:57 UTC
099ecfb Simplify and future proof NOP counting in the peepholer. No longer assumes that the input is NOP free. 01 November 2004, 15:19:11 UTC
4a8d851 Bug #1057993: Use sleep() always instead of os.utime() possibly broken in some platforms. 01 November 2004, 08:26:09 UTC
87d6fc5 SF bug #1030118, this should have named the email.Utils module as the one containing these functions. (I will backport to Python 2.3) 01 November 2004, 03:59:24 UTC
8c72eae SF patch #1056967, changes the semantics of Template.safe_substitute() to not raise a ValueError for dangling delimiters (the delimiter itself is returned). 01 November 2004, 03:52:43 UTC
4590c00 test_on_error(): Rewrite so it works on WinXP too. Unsure about 95/98/ME. 01 November 2004, 02:40:52 UTC
e2d5918 gc list function cleanup. Introduced gc_list_move(), which captures the common gc_list_remove() + gc_list_append() sequence. In fact, no uses of gc_list_append() remained (they were all in a gc_list_move() sequence), so commented that one out. gc_list_merge(): assert that `from` != `to`; that was an implicit precondition, now verified in a debug build. Others: added comments about their purpose. 01 November 2004, 01:39:08 UTC
cc2a866 handle_weakrefs(): Simplification -- there's no need to make a second pass over the unreachable weakrefs-with-callbacks to unreachable objects. 31 October 2004, 22:12:43 UTC
63e2090 Bug #1057535: add link in time module to calendar.timegm(). 31 October 2004, 12:19:34 UTC
ef5ffc4 Bug #1048941: shutil.rmtree error handling was always broken Rewrite rmtree again, this time without os.walk(). Error handling had been broken since Python 2.3, and the os.walk() version inherited this. 31 October 2004, 12:05:31 UTC
57341c3 SF patch #1056231: typo in comment (unicodeobject.h) 31 October 2004, 05:46:59 UTC
ead8b7a SF 1055820: weakref callback vs gc vs threads In cyclic gc, clear weakrefs to unreachable objects before allowing any Python code (weakref callbacks or __del__ methods) to run. This is a critical bugfix, affecting all versions of Python since weakrefs were introduced. I'll backport to 2.3. 30 October 2004, 23:09:22 UTC
d7bcf4d Fixed a comment and added another one. 30 October 2004, 21:08:59 UTC
effb393 Adopt some peepholer suggestions from Armin Rigo: * Use simpler, faster two pass algorithm for markblocks(). * Free the blocks variable if not NULL and exiting without change. * Verify that the rest of the compiler has not set an exception. * Make the test for tuple of constants less restrictive. * Embellish the comment for chained conditional jumps. 30 October 2004, 08:55:08 UTC
0c1b253 add xml:id attributes wherever we generate the IDs (old patch saved up) 29 October 2004, 19:47:52 UTC
048840c style consistency: - always include a space after the "#" that starts a comment - easier to read imports 29 October 2004, 14:35:42 UTC
006483b Added network logging example 29 October 2004, 12:30:28 UTC
89a3946 Wrote down the invariants of some common objects whose structure is exposed in header files. Fixed a few comments in these headers. As we might have expected, writing down invariants systematically exposed a (minor) bug. In this case, function objects have a writeable func_code attribute, which could be set to code objects with the wrong number of free variables. Calling the resulting function segfaulted the interpreter. Added a corresponding test. 28 October 2004, 16:32:00 UTC
063e1e8 Trigger a few error cases in Modules/_codecsmodule.c. 28 October 2004, 13:04:26 UTC
14adbe7 Fix bug of implementation of algorithm for calculating the date from year, week of the year, and day of the week. Was not taking into consideration properly the issue of when %U is used for the week of the year but the year starts on Monday. Closes bug #1045381 again. 28 October 2004, 04:49:21 UTC
79d9bfa Fix [1055540 ] bdist_wininst broken for pure Python distributions 27 October 2004, 21:54:33 UTC
17931de SF patch #1053375. (Contributed by Facundo Batista.) Code simplification by eliminating the unnecessary and error-prone convolutions for the previously weird sign convention in _WorkRep(). Makes the code more understandable, more reliable, and a bit faster. 27 October 2004, 06:21:46 UTC
7afa64e Add a comment explains why we should modify mtime here. 27 October 2004, 03:12:05 UTC
1816d79 Removed newly redundant embedded import. 27 October 2004, 02:44:10 UTC
10d59f3 Whitespace normalization. 27 October 2004, 02:43:25 UTC
f1af9c0 Paper over bug 1054615 by passing sane values to os.utime(). The underlying bug still exists, but also existed in 2.3.4: import.c's load_source_module() returns NULL if PyOS_GetLastModificationTime() returns -1, but PyOS_GetLastModificationTime() doesn't set any exception when it returns -1, and neither does load_source_module() when it gets back -1. This leads to "SystemError: NULL result without error in PyObject_Call" on an import that fails in this way. 27 October 2004, 02:33:15 UTC
48aa84b Update optparse module and test suite to Optik 1.5a2. 27 October 2004, 02:20:04 UTC
99b5548 Very few little improvements. 26 October 2004, 23:38:46 UTC
cb91900 In paragraph 1, changed Python software to this software ("Python") 26 October 2004, 14:38:48 UTC
fc93e17 - Added tests for the string load/dump function. - Added a chunk of plist data as generated by Cocoa's NSDictionary and verify we output the same (including formatting) - Changed the "literal" plist code to match the raw test data 26 October 2004, 11:02:08 UTC
1f74ef0 Made <data> output match Apple's exactly. To do that I had to add a custom version of base64.encodestring() so I could control the line length of the base64 output. 26 October 2004, 10:30:55 UTC
8b8dece also escape '>', to closer match Apple's plist output 26 October 2004, 10:11:00 UTC
3376149 Patch #1044395: Allow configure option --enable-shared in FreeBSD. (Submitted by James William Pye, Patch revised by Jiwon Seo) 26 October 2004, 09:53:46 UTC
182ac85 SF #737473: Show up-to-date source code in tracebacks always. And add an optional argument 'filename' to linecache.checkcache() to enable checking caches per-file. 26 October 2004, 09:16:42 UTC
23109ef SF bug #1053819: Segfault in tuple_of_constants Peepholer could be fooled into misidentifying a tuple_of_constants. Added code to count consecutive occurrences of LOAD_CONST. Use the count to weed out the misidentified cases. Added a unittest. 26 October 2004, 08:59:14 UTC
368c0b2 Deprecating Dict class; going through a few hoops to get the warnings right. 26 October 2004, 07:38:16 UTC
7c94487 - Removed Date class. We don't really need it for b/w compatibility since a) the functionality depended on PyXML before and b) hardly worked to begin with. - Instead, output and require upon input datetime.datetime objects. 26 October 2004, 07:20:26 UTC
c6fdd1b - added two more convenience functions: readPlistFromString() and writePlistToString() - use these two in the resource functions. - Tweaked module doc string. 26 October 2004, 06:50:50 UTC
back to top