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

sort by:
Revision Author Date Message Commit Date
d3c52de warnings was imported at module scope, no need to import again 11 June 2006, 07:26:50 UTC
f992a2b Fix errors found by pychecker 11 June 2006, 07:26:27 UTC
7d5b6e8 f_code can't be NULL based on Frame_New and other code that derefs it. So there doesn't seem to be much point to checking here. 11 June 2006, 05:48:14 UTC
8e6675a Update doc to make it agree with code. Bottom factor out some common code. 11 June 2006, 05:47:14 UTC
a754a22 Add versionadded to doc 11 June 2006, 05:45:47 UTC
3c5431e Wrap some long lines Top/Bottom factor out some common expressions Add a XXX comment about widing offset. 11 June 2006, 05:45:25 UTC
b4fcf8d Fix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL. We know it's not NULL from the ParseTuple and DbObject_Check will verify it's not NULL. 11 June 2006, 05:44:18 UTC
7f54740 Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately, i.e. do *not* expand tabs, but treat them as whitespace that is not equivalent to spaces. Add a couple of test cases. Clarify docs. 11 June 2006, 00:40:49 UTC
0e11595 shuffle() doscstring: Removed warning about sequence length versus generator period. While this was a real weakness of the older WH generator for lists with just a few dozen elements, and so could potentially bite the naive ;-), the Twister should show excellent behavior up to at least 600 elements. Module docstring: reflowed some jarringly short lines. 10 June 2006, 22:51:45 UTC
9a8ae8f Suppress warning on MacOSX about possible use before set of proc. 10 June 2006, 22:38:13 UTC
9af2b44 Handle failure of PyMem_Realloc. 10 June 2006, 22:01:50 UTC
9123edc Don't use C++ comment. 10 June 2006, 21:56:03 UTC
eb6dcf6 Fix the second occurrence of the problematic printf format. 10 June 2006, 21:17:58 UTC
5218ab2 Fix a wrong printf format. 10 June 2006, 21:07:19 UTC
82578c8 New docs for ctypes. 10 June 2006, 20:29:34 UTC
9a7e445 credit for SF patch #1303595 10 June 2006, 20:02:58 UTC
5e30626 SF patch #1303595: improve description of __builtins__, explaining how it varies between __main__ and other modules, and strongly suggest not touching it but using __builtin__ if absolutely necessary 10 June 2006, 20:01:34 UTC
5114826 Upgrade to ctypes version 0.9.9.7. Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields 10 June 2006, 19:55:36 UTC
45f59ab Upgrade to ctypes version 0.9.9.7. Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields 10 June 2006, 19:51:46 UTC
c5221e1 Sync with Optik docs (rev 518): * restore "Extending optparse" section * document ALWAYS_TYPED_ACTIONS (SF #1449311) 10 June 2006, 16:40:01 UTC
86116e2 document the class, not its initializer 10 June 2006, 14:09:11 UTC
0e8bd7e Patch #1495999: Part two of Windows CE changes. - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c 10 June 2006, 12:23:46 UTC
acd0d6d SF bug #1503294. PyThreadState_GET() complains if the tstate is NULL, but only in debug mode. 10 June 2006, 10:57:40 UTC
787fe6d Port cygwin kill_python changes from 2.4 branch. 10 June 2006, 08:14:03 UTC
90e27d3 Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError. Also improve error message on overflow. 10 June 2006, 06:40:50 UTC
6946ea0 Fix bug introduced in rev. 46806 by not having variable declaration at the top of a block. 09 June 2006, 22:45:54 UTC
22565aa An object with __call__ as an attribute, when called, will have that attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute. This can lead to an infinite recursion. Closes bug #532646, again. Will be backported. 09 June 2006, 22:31:23 UTC
b2afe85 Make use of new str.startswith/endswith semantics. Occurences in email and compiler were ignored due to backwards compat requirements. 09 June 2006, 20:43:48 UTC
3ebef99 set eol-style svn property 09 June 2006, 20:01:01 UTC
2ad7bd5 set eol-style svn property 09 June 2006, 19:59:11 UTC
b3f2985 Add some wsgiref text 09 June 2006, 19:56:05 UTC
2007d4e Remove unused variable 09 June 2006, 19:43:25 UTC
e558486 Implementing a happy idea from Georg Brandl: make runtest() try to clean up files and directories the tests often leave behind by mistake. This is the first time in history I don't have a bogus "db_home" directory after running the tests ;-) Also worked on runtest's docstring, to say something about all the arguments, and to document the non-obvious return values. New functions runtest_inner() and cleanup_test_droppings() in support of the above. 09 June 2006, 19:24:44 UTC
a04d118 Describe startswith()/endswiith() change; add reminder about wsgiref 09 June 2006, 19:03:16 UTC
2425081 RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first argument. 09 June 2006, 18:45:48 UTC
932f5af svn:ignore .pyc and .pyo files. 09 June 2006, 18:40:46 UTC
e7ec81f Test file.__exit__. 09 June 2006, 18:29:52 UTC
982c30b Whitespace normalization. 09 June 2006, 17:47:00 UTC
c48b0e6 Fix inconsistency in naming within an enum. 09 June 2006, 17:05:48 UTC
0873b11 Add note about wsgiref 09 June 2006, 16:46:51 UTC
3fed2eb Add note about XMLGenerator bugfix 09 June 2006, 16:44:40 UTC
5cf565d Import wsgiref into the stdlib, as of the external version 0.1-r2181. 09 June 2006, 16:40:18 UTC
dbeaa69 Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005. Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick. 09 June 2006, 16:28:01 UTC
91c64a0 [Bug #1472827] Make saxutils.XMLGenerator handle \r\n\t in attribute values by escaping them properly. 2.4 bugfix candidate. 09 June 2006, 13:15:57 UTC
7dbb1ff Markup fix 09 June 2006, 10:22:35 UTC
c9778a8 Fix grammar and reflow 09 June 2006, 05:54:18 UTC
71dc0a0 Remove the temporary hack to force test_optparse to run immediately after test_file. At least 8 buildbot boxes passed since the underlying problem got fixed, and they all failed before the fix, so there's no point to this anymore. 09 June 2006, 05:12:40 UTC
0556e9b testUnicodeOpen(): I have no idea why, but making this test clean up after itself appears to fix the test failures when test_optparse follows test_file. test_main(): Get rid of TESTFN no matter what. That's also enough to fix the mystery failures. Doesn't hurt to fix them twice :-) 09 June 2006, 04:02:06 UTC
dbb82f6 AutoFileTests.tearDown(): Removed mysterious undocumented try/except. Remove TESTFN. Throughout: used open() instead of file(), and wrapped long lines. 09 June 2006, 03:51:41 UTC
2b63779 To boost morale :-), force test_optparse to run immediately after test_file until we can figure out how to fix it. (See python-dev; at the moment we don't even know which checkin caused the problem.) 09 June 2006, 03:09:42 UTC
520d8dd Whitespace normalization. Since test_file is implicated in mysterious test failures when followed by test_optparse, if I had any brains I'd look at the checkin that last changed test_file ;-) 09 June 2006, 02:11:02 UTC
e878fe6 Update functools section 09 June 2006, 01:10:17 UTC
de3b052 Buffer objects would return the read or write buffer for a wrapped object when the char buffer was requested. Now it actually returns the char buffer if available or raises a TypeError if it isn't (as is raised for the other buffer types if they are not present but requested). Not a backport candidate since it does change semantics of the buffer object (although it could be argued this is enough of a bug to bother backporting). 08 June 2006, 17:00:45 UTC
6ee7d01 Make binascii.hexlify() use s# for its arguments instead of t# to actually match its documentation stating it accepts any read-only buffer. 08 June 2006, 16:23:04 UTC
442b49e Convert test_file to unittest. 08 June 2006, 14:50:53 UTC
98b40ad Bug #1502805: don't alias file.__exit__ to file.close since the latter can return something that's true. 08 June 2006, 14:50:21 UTC
676725d Add functools.update_wrapper() and functools.wraps() as described in PEP 356 08 June 2006, 13:54:49 UTC
98251f8 Argh. "integer" is a very confusing word ;) Actually, checking for INT_MAX and INT_MIN is correct since the format code explicitly handles a C "int". 08 June 2006, 13:31:07 UTC
c9ae4e8 Add news for recent bugfix. 08 June 2006, 12:55:47 UTC
66a0dbb Bug #1502728: Correctly link against librt library on HP-UX. 08 June 2006, 12:54:13 UTC
22ccbbc Bug #1502750: Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds checking. 08 June 2006, 12:45:01 UTC
06c5c8a Typo fix 08 June 2006, 11:56:44 UTC
fd01d79 (arre, arigo) SF bug #1350060 Give a consistent behavior for comparison and hashing of method objects (both user- and built-in methods). Now compares the 'self' recursively. The hash was already asking for the hash of 'self'. 08 June 2006, 10:56:24 UTC
996710f pasted set_lk_detect line in wrong spot in previous commit. fixed. passes tests this time. 08 June 2006, 05:39:54 UTC
dda291c * Turn the deadlock situation described in SF bug #775414 into a DBDeadLockError exception. * add the test case for my previous dbtables commit. 08 June 2006, 05:38:11 UTC
ff7d991 - bsddb: the bsddb.dbtables Modify method now raises the proper error and aborts the db transaction safely when a modifier callback fails. Fixes SF python patch/bug #1408584. Also cleans up the bsddb.dbtables docstrings since thats the only documentation that exists for that unadvertised module. (people really should really just use sqlite3) 08 June 2006, 05:17:08 UTC
f0cab1f Fix a refleak in recvfrom_into 08 June 2006, 05:12:45 UTC
ec0d6f8 Clarify documentation for bf_getcharbuffer. 07 June 2006, 21:48:17 UTC
861acee Fix for foreign functions returning small structures on 64-bit big endian machines. Should fix the remaininf failure in the PPC64 Debian buildbot. Thanks to Matthias Klose for providing access to a machine to debug and test this. 07 June 2006, 20:43:06 UTC
d5474ea Add missing svn:eol-style property to text files. 07 June 2006, 20:40:54 UTC
ae6a5a7 Whitespace normalization. 07 June 2006, 20:40:06 UTC
4b7a6c8 * If BuildApplet.py is used as an applet it starts with a version of sys.exutable that isn't usuable on an #!-line. That results in generated applets that don't actually work. Work around this problem by resetting sys.executable. * argvemulator.py didn't work on intel macs. This patch fixes this (bug #1491468) 07 June 2006, 20:18:44 UTC
750e920 - Patch the correct version of python in the Info.plists at build time, instead of relying on a maintainer to update them before releases. - Remove the now empty Mac/OSX directory 07 June 2006, 19:38:53 UTC
2db3a8f And the last bit: move IDLE one level up and adjust makefiles 07 June 2006, 19:06:01 UTC
32f5d8f Move Mac/OSX/* one level up 07 June 2006, 19:02:03 UTC
0e5b70d mv Mac/OSX/BuildScript one level up 07 June 2006, 18:58:42 UTC
c629be8 Move Mac/OSX/PythonLauncher one level up 07 June 2006, 18:58:01 UTC
8ec9f86 Move Mac/OSX/Tools one level up 07 June 2006, 18:57:44 UTC
e275d3d Mention other placeholders 07 June 2006, 17:04:01 UTC
3b336c7 Add an item; also, escape % 07 June 2006, 17:03:46 UTC
1271f00 Mention other placeholders 07 June 2006, 17:02:52 UTC
12238d7 Add an SQLite introduction, taken from the 'What's New' text 07 June 2006, 13:55:33 UTC
80dc76e SF patch 1501987: Remove randomness from test_exceptions, from ?iga Seilnacht (sorry about the name, but Firefox on my box can't display the first character of the name -- the SF "Unix name" is zseil). This appears to cure the oddball intermittent leaks across runs when running test_exceptions under -R. I'm not sure why, but I'm too sleepy to care ;-) The thrust of the SF patch was to remove randomness in the pickle protocol used. I changed the patch to use range(pickle.HIGHEST_PROTOCOL + 1), to try both pickle and cPickle, and randomly mucked with other test lines to put statements on their own lines. Not a bugfix candidate (this is fiddling new-in-2.5 code). 07 June 2006, 06:57:51 UTC
c27d655 dash_R_cleanup(): Clear filecmp._cache. This accounts for different results across -R runs (at least on Windows) of test_filecmp. 07 June 2006, 01:04:59 UTC
704fbe4 A quick hack to ensure the right key-bindings for IDLE on osx: install patched configuration files during a framework install. 06 June 2006, 19:56:00 UTC
5b78732 * Ensure that "make altinstall" works when the tree was configured with --enable-framework * Also for --enable-framework: allow users to use --prefix to specify the location of the compatibility symlinks (such as /usr/local/bin/python) 06 June 2006, 19:50:24 UTC
b1998bc Use the same big-endian hack as in _ctypes/callproc.c for callback functions. This fixes the callback function tests that return float. 06 June 2006, 19:25:13 UTC
d8714de Add a hack so that foreign functions returning float now do work on 64-bit big endian platforms. 06 June 2006, 18:50:46 UTC
ea229bd Fix coding style guide bug. 06 June 2006, 18:08:16 UTC
12ca69b Fix comment typo 06 June 2006, 17:10:41 UTC
dba6318 On python-dev Thomas Heller said these were committed by mistake in rev 46693, so reverting this part of rev 46693. 06 June 2006, 15:52:35 UTC
bb21b2c BSequence_set_range(): Rev 46688 ("Fix a bunch of parameter strings") changed this function's signature seemingly by mistake, which is causing buildbots to fail test_bsddb3. Restored the pre-46688 signature. 06 June 2006, 15:50:17 UTC
56dab85 Specify argtypes for all test functions. Maybe that helps on strange ;-) architectures 06 June 2006, 15:34:18 UTC
215f13d Normalized a few cases of whitespace in function declarations. Found them using:: find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done (I was doing this all over my own code anyway, because I'd been using spaces in all defs, so I thought I'd make a run on the Python code as well. If you need to do such fixes in your own code, you can use xx-rename or parenregu.el within emacs.) 06 June 2006, 12:46:55 UTC
07347d6 Damn - the sentinel was missing. And fix another silly mistake. 06 June 2006, 11:54:32 UTC
ecc3e67 Convert CFieldObject tp_members to tp_getset, since there is no structmember typecode for Py_ssize_t fields. This should fix some of the errors on the PPC64 debian machine (64-bit, big endian). Assigning to readonly fields now raises AttributeError instead of TypeError, so the testcase has to be changed as well. 06 June 2006, 11:34:33 UTC
dd2a6bf Fix a bunch of parameter strings 06 June 2006, 07:23:01 UTC
e0e797f Remove unused variable (and stop compiler warning) 06 June 2006, 07:22:08 UTC
02f1d0d _PySys_Init(): It's rarely a good idea to size a buffer to the exact maximum size someone guesses is needed. In this case, if we're really worried about extreme integers, then "cp%d" can actually need 14 bytes (2 for "cp" + 1 for \0 at the end + 11 for -(2**31-1)). So reserve 128 bytes instead -- nothing is actually saved by making a stack-local buffer tiny. 06 June 2006, 00:25:07 UTC
3c228b1 - bsddb: the __len__ method of a DB object has been fixed to return correct results. It could previously incorrectly return 0 in some cases. Fixes SF bug 1493322 (pybsddb bug 1184012). 05 June 2006, 23:59:37 UTC
back to top