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

sort by:
Revision Author Date Message Commit Date
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
3b675d2 Change a footnote to a parenthetical (in two senses) paragraph 20 April 2006, 13:43:21 UTC
af015cf Argh, make another markup fix 20 April 2006, 13:39:40 UTC
3343218 Markup fix 20 April 2006, 13:38:36 UTC
63fe9b5 Add some items; add "New module" consistently; make contextlib.closing example more interesting and more correct (thanks Gustavo!); add a name 20 April 2006, 13:36:06 UTC
449b24e Address issues brought up by MvL on python-checkins. I tested this with valgrind on amd64. The man pages I found for diff architectures are inconsistent on this. I'm not entirely sure this change is correct for all architectures either. Perhaps we should just over-allocate and not worry about it? 20 April 2006, 06:56:05 UTC
0d21b1e Whitespace, fix indentation 20 April 2006, 06:44:42 UTC
c661b88 Document r43622. 20 April 2006, 04:54:23 UTC
94785ef Correct implementation and documentation of os.confstr. Add a simple test case. I've yet to figure out how to provoke a None return I can test. 20 April 2006, 01:29:48 UTC
d0b8e83 Add news item for pybench addition. 19 April 2006, 15:48:59 UTC
dc5f808 Make s.replace() work with explicit counts exceeding 2Gb. 19 April 2006, 15:38:01 UTC
c311f64 Adding pybench 1.3 to the Tools/ directory. 19 April 2006, 15:27:33 UTC
79cdce3 Teach Python/ceval.c's inlining of 'str += str' about Py_ssize_t sizes; this was having funny effects when called on >2Gb strings ;P 19 April 2006, 15:09:44 UTC
4abb366 Use Py_ssize_t to hold the 'width' argument to the ljust, rjust, center and zfill stringmethods, so they can create strings larger than 2Gb on 64bit systems (even win64.) The unicode versions of these methods already did this right. 19 April 2006, 14:50:15 UTC
6719131 Write datetime.strptime() item; show use of @contextmanager in defining __context__ methods; minor edits; add two names 19 April 2006, 12:55:39 UTC
a9017c3 SF Patch #1062014: AF_UNIX sockets under Linux have a special abstract namespace that is now fully supported. 19 April 2006, 11:50:27 UTC
ab012af Added a pycremoval rule. Called by clean, it removes all .pyc and .pyo files. Handy to have as a separate rule from clean when mucking around with bytecode generation. 18 April 2006, 23:58:52 UTC
503b73e Add proper svn magic to ignore .pyc/.pyo files in Lib/setuptools (and subdirs) like it already exists for the other Lib subdirs. 18 April 2006, 23:04:00 UTC
b6dfaed Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer. 18 April 2006, 20:09:27 UTC
058be9a C++ compiler cleanup: the typical few casts, and ... C++ didn't like that the StgDictObject's ffi_type member had the same name as its type. I changed that to ffi_type_pointer. Feel free to change it to something else more meaningful, just not ffi_type. 18 April 2006, 19:45:17 UTC
cbe2e49 C++ compiler cleanup: a cast here, a cast there... still does not compile under C++ though... 18 April 2006, 19:39:48 UTC
14f8899 C++ compiler cleanup: "typename" is a C++ keyword 18 April 2006, 19:35:04 UTC
1b04664 Change those parts of the Python-api that were functions in 2.4, and are now macros to exported functions again. Fixes [ 1465834 ] bdist_wininst preinstall script support is broken in 2.5a1. 18 April 2006, 18:51:06 UTC
584b0e0 Whilespace normalization (reindint.py). 18 April 2006, 17:32:12 UTC
17a35f9 add info re: pydoc, pkgutil, and setuptools additions 18 April 2006, 16:45:14 UTC
e7670a3 fix typo 18 April 2006, 16:18:15 UTC
54ddd23 Split ``get_platform()`` into ``get_supported_platform()`` and ``get_build_platform()`` to work around a Mac versioning problem that caused the behavior of ``compatible_platforms()`` to be platform specific. 18 April 2006, 15:30:05 UTC
9d89299 Fix refcounting. This makes 'import ctypes; reload(ctypes)' no longer leak reference counts. 18 April 2006, 14:57:39 UTC
a4ebc13 Refactor: Move code that uses co_lnotab from ceval to codeobject 18 April 2006, 14:47:00 UTC
6db6782 Typo fix 18 April 2006, 14:04:57 UTC
7e97ee6 A dictresize() attack. If oldtable == mp->ma_smalltable then pure Python code can mangle with mp->ma_smalltable while it is being walked over. 18 April 2006, 14:00:01 UTC
15b1f14 add a very old crasher from the 2.1 -> 2.2 round of dictionary fixes. 18 April 2006, 13:52:32 UTC
952f196 Add item 18 April 2006, 12:38:19 UTC
816a162 C++ compiler cleanup: proper casts 18 April 2006, 11:53:09 UTC
2060d1b Comment typo fix 18 April 2006, 11:49:53 UTC
45294a9 Remove types from type_list if they have no objects and unlist_types_without_objects is set. Give dump_counts a FILE* argument. 18 April 2006, 06:24:08 UTC
041669f Whitespace normalization 18 April 2006, 04:53:28 UTC
cea434c It's probably a good idea to actually *install* setuptools, too. ;) 18 April 2006, 04:34:50 UTC
8f925cc Handle easy_install being run via -m with no __file__ if done from a zipfile. 18 April 2006, 04:31:46 UTC
069159b Initial import of setuptools, with integrated tests. 18 April 2006, 04:05:34 UTC
e247e89 Finally figured out why this module did its imports at the bottom of the file. Restored that, and added a comment explaining why this is necessary. Hint: on my box, and yours, it's not :-( Also added an __all__ list. 18 April 2006, 03:28:32 UTC
0969e8a At least test_threading_local doesn't leak any more. 18 April 2006, 03:02:10 UTC
742cd24 test_pyclbr goes nuts when a module contains code to try importing a class and provide a substitute if the import fails, because pyclbr sees the class definition. Changed to ignore such cases' base classes and methods, since they will not match. 18 April 2006, 01:39:25 UTC
9582c14 correct function signature 18 April 2006, 01:01:41 UTC
ceb3087 Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools to share common PEP 302 support code, as described here: http://mail.python.org/pipermail/python-dev/2006-April/063724.html pydoc now supports PEP 302 importers, by way of utility functions in pkgutil, such as 'walk_packages()'. It will properly document modules that are in zip files, and is backward compatible to Python 2.3 (setuptools installs for Python <2.5 will bundle it so pydoc doesn't break when used with eggs.) What has not changed is that pydoc command line options do not support zip paths or other importer paths, and the webserver index does not support sys.meta_path. Those are probably okay as limitations. Tasks remaining: write docs and Misc/NEWS for pkgutil/pydoc changes, and update setuptools to use pkgutil wherever possible, then add it to the stdlib. 18 April 2006, 00:59:55 UTC
b507972 C++ compiler cleanup: cast... 18 April 2006, 00:57:15 UTC
53a6d1d C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t 18 April 2006, 00:55:46 UTC
7ff54e7 C++ compiler cleanup: migrate to modsupport.h 18 April 2006, 00:53:48 UTC
a0b6338 C++ compiler cleanup: cast signed to unsigned 18 April 2006, 00:53:06 UTC
dd527fc reset errno before calling confstr - use confstr() doc to simplify checks afterwards 18 April 2006, 00:49:49 UTC
429433b C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places 18 April 2006, 00:35:43 UTC
3fca463 C++ compile cleanup: proper declaration of _Py_BuildValue_SizeT 18 April 2006, 00:29:29 UTC
54e964d C++ compilation cleanup: Migrate declaration of _PyObject_Call(Function|Method)_SizeT into Include/abstract.h. This gets them under the umbrella of the extern "C" { ... } block in that file. 18 April 2006, 00:27:46 UTC
c7605f2 local.__del__(): This didn't actually do anything, because of too much convolution <0.5 wink>. Simplified to the point that it works, and test_threading_local no longer reports leaks under -R. Thanks to Thomas Wouters for initial analysis. 17 April 2006, 21:12:33 UTC
ab1d245 First phase of refactoring for runpy, pkgutil, pydoc, and setuptools to share common PEP 302 support code, as described here: http://mail.python.org/pipermail/python-dev/2006-April/063724.html This revision strips all the PEP 302 emulation code from runpy, replacing it with published API classes and functions in pkgutil, mostly using setuptools' implementation of common functionality, but adding features from runpy, and doing some refactoring to make the layer pydoc needs easier to implement on top of this. One step down, four to go, although step #4 (adding C versions of the new APIs to 'imp') may not be able to make it in time for alpha 2. We'll see how that goes. 17 April 2006, 20:17:25 UTC
4be4e65 Add reindent target. 17 April 2006, 19:25:49 UTC
1a00e18 Reindent. 17 April 2006, 19:18:18 UTC
f62eee1 Remove bogus character. 17 April 2006, 17:37:09 UTC
70f5f7a Use GetModuleFileNameEx instead of GetProcessImageFileName, as the latter is not available on Windows 2000. 17 April 2006, 17:26:42 UTC
bd30f52 Patch #790710: Add breakpoint command lists in pdb. 17 April 2006, 17:08:37 UTC
297bf82 fix long option markup 17 April 2006, 15:44:59 UTC
59075eb disutils checks if MACOSX_DEPLOYMENT_TARGET is consistent with the value at configure time. The current check is too strict and doesn't allow building extensions that can only run on newer versions of the OS than the version python was build for, that is python build for 10.3 or later and an extension for 10.4. This patch relaxes this check. This turned out to be a reimplementation of patch 1193190. 17 April 2006, 14:43:30 UTC
0d660c0 Update status of document 17 April 2006, 14:01:36 UTC
f7823a3 Remove translated code hidden inside a comment environment; latex2html gets confused and includes half of it anyway 17 April 2006, 14:00:31 UTC
6c10748 This patches fixes a number of byteorder problems in MacOSX specific code. 17 April 2006, 13:40:08 UTC
749d070 Teach platform about darwin/x86 17 April 2006, 13:37:15 UTC
ce8607d Revert to 45478, disable kill_python command for now. 17 April 2006, 10:39:39 UTC
back to top