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

sort by:
Revision Author Date Message Commit Date
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
c97c119 Check whether disk space is full. 17 April 2006, 10:36:18 UTC
63d1f99 Rename binary again; increase noise; stop trying to actually kill the process. 17 April 2006, 10:31:35 UTC
11e8b3c Rename binaries again; increase noise. 17 April 2006, 10:27:28 UTC
98dbfab Rename binary to avoid conflicts with hanging processes on x86 w2k. 17 April 2006, 10:23:23 UTC
5b3bf0d Try some tracing 17 April 2006, 10:19:25 UTC
2d12372 Add kill_python command. 17 April 2006, 09:46:47 UTC
dfde91a Fix for a bug exposed by r45232: /path/to/uninstalled/python setup.py build_ext now failed with pyconfig.h not found. Prior to r45232 the above command did not look for pyconfig.h, but the bug is really in the look-up code: expecting to find it in os.curdir is a rather fragile idea. 17 April 2006, 09:22:35 UTC
0e2cbab No need to cast a Py_ssize_t, use %z in PyErr_Format 17 April 2006, 05:56:32 UTC
4b16de4 Add a comment to explain why we are calling _cleanup() 17 April 2006, 02:41:25 UTC
00ac0d2 Try to stop the test from leaking and yet still work on windows 17 April 2006, 02:39:37 UTC
c859b5c Remove unused field 17 April 2006, 01:49:28 UTC
7ebd1f8 Add some notes about a couple of poorly behaved tests 17 April 2006, 01:49:14 UTC
0f77da3 test_cmd_line should not leak any more, ensure an empty reflog file exists if no leaks are found 17 April 2006, 01:48:41 UTC
cb0f66f Get test to consistently show no leaks 17 April 2006, 01:48:06 UTC
88c9784 No reason to export get_decomp_record, make static 17 April 2006, 00:36:29 UTC
1a26920 moduleName can be NULL 17 April 2006, 00:33:23 UTC
aa220a7 Whitespace normalization. 16 April 2006, 22:22:36 UTC
c5c9ce9 Add missing SVN eol-style property to text files. 16 April 2006, 22:11:28 UTC
715a4cd Use %zd instead of %i as format character (in call to PyErr_Format) for Py_ssize_t argument. 16 April 2006, 22:04:49 UTC
0db2a98 Patch #1063914: Add clipboard_get. 16 April 2006, 20:55:38 UTC
45bb98e Add item 16 April 2006, 19:53:27 UTC
19ab6c9 Initialize structseq types only once. 16 April 2006, 18:55:50 UTC
d18d5a3 Update instructions for EXTRA_CFLAGS: configure ignores them; they have to be passed to make. 16 April 2006, 18:55:07 UTC
de0a23f Describe contextlib module. (Done for today...) 16 April 2006, 18:45:11 UTC
d058d00 Write most of the 'writing context managers' section. I'd like comments on it, but wait for a few hours before you read it; I'm still revising it and will be tackling contextlib next. Untabify 16 April 2006, 18:20:05 UTC
cb28419 Make test_timeout not fail on systems with no dots in their fqdn. 16 April 2006, 16:26:28 UTC
767833d Make test_warnings play nice with regrtest -R:: now that regrtest doesn't always reload the module (specifically, it doesn't reload if the module has a 'test_main'.) 16 April 2006, 15:43:39 UTC
993633c Specialcase 'xs4all' (.nl/.net/.com/whatever else we have) as well as 'python.org' when deciding what server to use for the timeout tests; getting tired of seeing the test fail on all my boxes ;P This'll still allow the test to fail for hosts in the XS4ALL network that don't have an 'xs4all' hostname, so maybe it should use a fallback scheme instead. 16 April 2006, 15:22:41 UTC
631f513 This test no longer leaks, and test_generators sufficiently tests it to prevent unreported regression. 16 April 2006, 15:11:33 UTC
195e4e6 Fix valgrind problem with invalid memory read 16 April 2006, 03:37:19 UTC
5b03065 Fix memory leak 16 April 2006, 03:28:17 UTC
035b185 err is no longer used 16 April 2006, 00:02:59 UTC
b8f81d4 Add missing DECREF to PyErr_WriteUnraisable(). That function reports exceptions that can't be raised any further, because (for instance) they occur in __del__ methods. The coroutine tests in test_generators was triggering this leak. Remove the leakers' testcase, and add a simpler testcase that explicitly tests this leak to test_generators. test_generators now no longer leaks at all, on my machine. This fix may also solve other leaks, but my full refleakhunting run is still busy, so who knows? 15 April 2006, 23:27:28 UTC
back to top