https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
3556b2d 2.5a2 27 April 2006, 02:13:13 UTC
c7d0032 2.5a2 27 April 2006, 02:11:24 UTC
4b8ec63 add missing word 27 April 2006, 00:20:14 UTC
dbb8c41 - update version numbers in file names again, until we have a better way - elaborate instructions for Cygwin support (closes SF #839709) 27 April 2006, 00:02:24 UTC
0999433 one more place to use the current Python version 26 April 2006, 23:40:32 UTC
f4795c8 Fix build on MIPS for libffi. I haven't tested this yet because I don't have an access on MIPS machines. Will be tested by buildbot. :) 26 April 2006, 19:20:26 UTC
b5ccd14 Some more test-size-estimate fixes: test_append and test_insert trigger a list resize, which overallocates. 26 April 2006, 19:14:46 UTC
cda404b Add tests for += and *= on strings, and fix the memory-use estimate for the list.extend tests (they were estimating half the actual use.) 26 April 2006, 18:46:01 UTC
79b0f85 Use GS- and bufferoverlowU.lib where appropriate, for AMD64. 26 April 2006, 17:19:44 UTC
6873249 Whitespace normalization. 26 April 2006, 17:11:16 UTC
abd0888 The result of SF patch #1471578: big-memory tests for strings, lists and tuples. Lots to be added, still, but this will give big-memory people something to play with in 2.5 alpha 2, and hopefully get more people to write these tests. 26 April 2006, 15:53:30 UTC
9818924 Add labels to all sections 26 April 2006, 12:23:39 UTC
7e5abb9 [Bug #1475080] Fix example 26 April 2006, 12:21:06 UTC
790c3c1 Fix an error in the last contextlib.closing example 26 April 2006, 11:50:04 UTC
9cc3b1c Fix this test on Solaris. There can be embedded \r, so don't just replace the one at the end. 26 April 2006, 06:26:12 UTC
57a0361 Patch from Aldo Cortesi (OpenBSD buildbot owner). After the patch (45590) to add extra debug stats to the gc module, Python was crashing on OpenBSD due to: Fatal Python error: Interpreter not initialized (version mismatch?) This seems to occur due to calling collect() when initialized (in pythonrun.c) is set to 0. Now, the import will occur in the init function which shouldn't suffer this problem. 26 April 2006, 05:34:03 UTC
a5f1fd0 minor adjustment suggested by Peter Gephardt 26 April 2006, 05:19:39 UTC
2afbf96 markup fixes, cleanup 26 April 2006, 05:15:41 UTC
d845e53 Rev 45706 renamed stuff in contextlib.py, but didn't rename uses of it in test_with.py. As a result, test_with has been skipped (due to failing imports) on all buildbot boxes since. Alas, that's not a test failure -- you have to pay attention to the 1 skip unexpected on PLATFORM: test_with kinds of output at the ends of test runs to notice that this got broken. It's likely that more renaming in test_with.py would be desirable. 26 April 2006, 01:15:53 UTC
8f56d02 Implement MvL's improvement on __context__ in Condition; this can just call __context__ on the underlying lock. (The same change for Semaphore does *not* work!) 25 April 2006, 20:12:45 UTC
4e1777d Fix compiler warnings on Darwin. Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702 25 April 2006, 18:26:08 UTC
1ddba60 Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution. 25 April 2006, 15:29:46 UTC
0452049 Fix SF bug #1476111: SystemError in socket sendto. The AF_INET6 and AF_PACKET cases in getsockaddrarg were missing their own checks for tuple-ness of the address argument, which means a confusing SystemError was raised by PyArg_ParseTuple instead. 25 April 2006, 15:08:10 UTC
3bbbc49 minor tweak 25 April 2006, 14:09:58 UTC
6dbff33 SF bug/patch #1433877: string parameter to ioctl not null terminated The new char-array used in ioctl calls wasn't explicitly NUL-terminated; quite probably the cause for the test_pty failures on Solaris that we circumvented earlier. (I wasn't able to reproduce it with this patch, but it has been somewhat elusive to start with.) 25 April 2006, 13:53:23 UTC
d798a18 Rework context terminology 25 April 2006, 12:47:25 UTC
b33842a Add two items; easy_install is now off the table, though pkgutil still is 25 April 2006, 12:31:38 UTC
34a70c6 Fix markup glitch in unittest docs. Will backport. 25 April 2006, 12:28:56 UTC
e708cf5 Fix latex typo 25 April 2006, 11:05:56 UTC
a7e820a Move the PEP 343 documentation and implementation closer to the terminology in the alpha 1 documentation. - "context manager" reverts to its alpha 1 definition - the term "context specifier" goes away entirely - contextlib.GeneratorContextManager is renamed GeneratorContext There are still a number of changes relative to alpha 1: - the expression in the with statement is explicitly called the "context expression" in the language reference - the terms 'with statement context', 'context object' or 'with statement context' are used in several places instead of a bare 'context'. The aim of this is to avoid ambiguity in relation to the runtime context set up when the block is executed, and the context objects that already exist in various application domains (such as decimal.Context) - contextlib.contextmanager is renamed to contextfactory This best reflects the nature of the function resulting from the use of that decorator - decimal.ContextManager is renamed to WithStatementContext Simple dropping the 'Manager' part wasn't possible due to the fact that decimal.Context already exists and means something different. WithStatementContext is ugly but workable. A technically unrelated change snuck into this commit: contextlib.closing now avoids the overhead of creating a generator, since it's trivial to implement that particular context manager directly. 25 April 2006, 10:56:51 UTC
327ea38 Revert previous change, SKIP had a versionadded elsewhere 25 April 2006, 05:49:42 UTC
cfba5f8 Restore Walters name 25 April 2006, 05:05:03 UTC
85c767a versionadded for SKIP 25 April 2006, 05:04:35 UTC
711bf30 Patch #1475231: add a new SKIP doctest option, thanks to Edward Loper. 25 April 2006, 03:31:36 UTC
e96b229 Put break at correct level so *all* root HKEYs acutally get checked for an installed VC6. Otherwise only the first such tree gets checked and this warning doesn't get displayed. 25 April 2006, 00:34:50 UTC
be635cd Whitespace normalization. 24 April 2006, 22:45:13 UTC
0a07ab9 Revert addition of setuptools 24 April 2006, 20:53:13 UTC
0a7ed8c Edits, using the new term 'context specifier' in a few places 24 April 2006, 14:30:47 UTC
a6c67b5 Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers. 24 April 2006, 11:37:13 UTC
03f76cf More reliable version of new command line tests that just checks the exit codes 24 April 2006, 05:52:15 UTC
314dadb Back out new command line tests (broke buildbot) 24 April 2006, 05:24:26 UTC
0e01962 Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .) 24 April 2006, 04:59:28 UTC
da2268f Fix contextlib.nested to cope with exit methods raising and handling exceptions 24 April 2006, 04:37:15 UTC
27ec1a7 Add unit tests for the -m and -c command line switches 24 April 2006, 04:32:47 UTC
877cf23 Change PEP 343 related documentation to use the term context specifier instead of context object 24 April 2006, 04:17:02 UTC
c195d8a Note changes made to PEP 343 related documentation 24 April 2006, 03:04:43 UTC
8dc73d2 Bug #1337990: clarified that `doctest` does not support examples requiring both expected output and an exception. I'll backport to 2.4 next. 24 April 2006, 02:03:16 UTC
d4c2177 Add two items 23 April 2006, 21:51:10 UTC
edb575e Edits to the PEP 343 section 23 April 2006, 21:01:04 UTC
7b1559a correct example 23 April 2006, 19:32:14 UTC
9ab2f45 it's always helpful if the example works... 23 April 2006, 19:30:50 UTC
56a3706 minor tweak 23 April 2006, 19:26:33 UTC
47767c3 first cut at trace module doc 23 April 2006, 19:14:27 UTC
81b7e57 Whitespace normalization. 23 April 2006, 18:13:45 UTC
4383230 Backdated NEWS entry to record the implementation of PEP 338 for alpha 1 23 April 2006, 17:04:07 UTC
09b1bc3 Take 2 on mentioning the with statement, this time without inadvertently killing the Unicode examples 23 April 2006, 16:35:19 UTC
e0ea50b Add a (very) brief mention of the with statement to the end of chapter 8 23 April 2006, 16:05:04 UTC
fee3dfc Update with statement documentation to use same terminology as 2.5a1 implementation 23 April 2006, 15:39:16 UTC
3e99c0a Updated the sqlite3 module to the external pysqlite 2.2.2 version. 23 April 2006, 15:24:26 UTC
5ef9d9f Update contextlib documentation to use the same terminology as the module implementation 23 April 2006, 15:14:37 UTC
84faa85 Add a Context Types section to parallel the Iterator Types section (uses the same terminology as the 2.5a1 implementation) 23 April 2006, 15:13:32 UTC
32fd16e Patch 1471761 - test for broken poll at runtime This patch checks if poll is broken when the select module is loaded instead of doing so at configure-time. This functionality is only active on Mac OS X. 23 April 2006, 12:36:23 UTC
d06b6f2 Patch 1471925 - Weak linking support for OSX This patch causes several symbols in the socket and posix module to be weakly linked on OSX and disables usage of ftime on OSX. These changes make it possible to use a binary build on OSX 10.4 on a 10.3 system. 23 April 2006, 11:59:25 UTC
a1d3b10 wrap SyntaxError with \exception{} 23 April 2006, 09:27:10 UTC
ab05edc Update optparse to Optik 1.5.1. 23 April 2006, 03:47:58 UTC
cdd4328 Remove $CJKCodecs$ RCS tags. The CJKCodecs isn't maintained outside anymore. 22 April 2006, 15:48:15 UTC
51a23fe - add versionadded tag - make arbitrary arguments come last 22 April 2006, 15:27:14 UTC
449be38 Port to Python 2.5. Drop .DEF file. Change output file names to .pyd. 22 April 2006, 15:19:54 UTC
3c134a2 Typo fixes 22 April 2006, 15:10:49 UTC
6685128 Fix more ssize_t issues. 22 April 2006, 11:40:03 UTC
26fd960 Fix more ssize_t problems. 22 April 2006, 11:15:41 UTC
8694a6d Add libctypes as a dep 22 April 2006, 06:07:46 UTC
6d7cd7d Whitespace normalization. 22 April 2006, 05:52:59 UTC
1da4a94 Add Gregory K. Johnson's revised version of mailbox.py (funded by the 2005 Summer of Code). The revision adds a number of new mailbox classes that support adding and removing messages; these classes also support mailbox locking and default to using email.Message instead of rfc822.Message. The old mailbox classes are largely left alone for backward compatibility. The exception is the Maildir class, which was present in the old module and now inherits from the new classes. The Maildir class's interface is pretty simple, though, so I think it'll be compatible with existing code. (The change to the NEWS file also adds a missing word to a different news item, which unfortunately required rewrapping the line.) 22 April 2006, 02:32:43 UTC
81efcf6 Make copy of test_mailbox.py. We'll still want to check the backward compatibility classes in the new mailbox.py that I'll be committing in a few minutes. One change has been made: the tests use len(mbox) instead of len(mbox.boxes). The 'boxes' attribute was never documented and contains some internal state that seems unlikely to have been useful. 22 April 2006, 02:06:03 UTC
6ce35a9 Fix comment typo 22 April 2006, 01:58:40 UTC
3ccdb6a Typo fixes 22 April 2006, 01:51:41 UTC
a93ee47 Guido wrote contextlib, not me, but thanks anyway. ;) 21 April 2006, 21:53:37 UTC
21fbd57 SF bug #1473760 TempFile can hang on Windows. Python 2.4 changed ntpath.abspath to do an import inside the function. As a result, due to Python's import lock, anything calling abspath on Windows (directly, or indirectly like tempfile.TemporaryFile) hung when it was called from a thread spawned as a side effect of importing a module. This is a depressingly frequent problem, and deserves a more general fix. I'm settling for a micro-fix here because this specific one accounts for a report of Zope Corp's ZEO hanging on Windows, and it was an odd way to change abspath to begin with (ntpath needs a different implementation depending on whether we're actually running on Windows, and the _obvious_ way to arrange for that is not to bury a possibly-failing import _inside_ the function). Note that if/when other micro-fixes of this kind get made, the new Lib/test/threaded_import_hangers.py is a convenient place to add tests for them. 21 April 2006, 21:18:10 UTC
9f7e58a Documentation for ctypes. I think that 'generic operating system services' is the best category. Note that the Doc/lib/libctypes.latex file is generated from reST sources. You are welcome to make typo fixes, and I'll try to keep the reST sources in sync, but markup changes would be lost - they should be fixed in the tool that creates the latex file. The conversion script is external/ctypes/docs/manual/mkpydoc.py. 21 April 2006, 18:29:17 UTC
6ff67ef Merge in changes from ctypes 0.9.9.6 upstream version. 21 April 2006, 16:51:04 UTC
4b75a7c Merge in changes from ctypes 0.9.9.6 upstream version. 21 April 2006, 16:48:56 UTC
f9cc594 Whitespace normalization. 21 April 2006, 16:34:54 UTC
cd84b92 Correct the grammar 21 April 2006, 16:34:17 UTC
db8955b Backport p3yk r45619: Add empty __init__ methods for stateful multibytecodec instances. This resolves a problem found by Thomas Wouters: http://mail.python.org/pipermail/python-dev/2006-April/064051.html 21 April 2006, 16:28:34 UTC
0d84028 Fix a markup. This generated a ugly code, "P>". 21 April 2006, 16:21:12 UTC
568f1d0 Py_ssize_t issue; repr()'ing a very large string would result in a teensy string, because of a cast to int. 21 April 2006, 13:54:43 UTC
07b3508 Upgrade to vsextcomp 0.8 (and thus the SDK for W2k3SP1) 21 April 2006, 13:48:26 UTC
e78eeb1 Add item 21 April 2006, 13:26:42 UTC
fb08e73 Add \label to make better HTML filenames 21 April 2006, 13:08:02 UTC
42c6e2f Add two items; typographical improvement for the 'with' statement; minor edits 21 April 2006, 13:01:45 UTC
ba67a8a Typo, grammar fixes. This file could use another proofreading pass. 21 April 2006, 12:58:30 UTC
3a7b58e Add TODO item 21 April 2006, 12:57:58 UTC
b0a1e6b Add explanatory message 21 April 2006, 12:57:35 UTC
84a7ee7 Typo fixes 21 April 2006, 12:38:41 UTC
4e90810 Fix variable/format-char discrepancy in new-style class __getitem__, __delitem__, __setslice__ and __delslice__ hooks. This caused test_weakref and test_userlist to fail in the p3yk branch (where UserList, like all classes, is new-style) on amd64 systems, with open-ended slices: the sys.maxint value for empty-endpoint was transformed into -1. 21 April 2006, 11:26:56 UTC
64ed043 Package setuptools 21 April 2006, 10:00:46 UTC
262fb92 Allow pstats.Stats creator to specify an alternate to stdout. 21 April 2006, 02:31:07 UTC
c34b931 This is a long-ago patch I submitted to SF (1100924) to time the gc passes. Barry approved it awhile ago. Been sitting in my sandbox for awhile as well. 21 April 2006, 01:33:40 UTC
f75225b - tp_init shouldn't call base class tp_init by default - tp_new (which was apparently always overridden:-) called base class tp_init in stead of tp_new. 20 April 2006, 21:38:17 UTC
back to top