f75225b | Jack Jansen | 20 April 2006, 21:38:17 UTC | - 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 | Andrew M. Kuchling | 20 April 2006, 13:43:21 UTC | Change a footnote to a parenthetical (in two senses) paragraph | 20 April 2006, 13:43:21 UTC |
af015cf | Andrew M. Kuchling | 20 April 2006, 13:39:40 UTC | Argh, make another markup fix | 20 April 2006, 13:39:40 UTC |
3343218 | Andrew M. Kuchling | 20 April 2006, 13:38:36 UTC | Markup fix | 20 April 2006, 13:38:36 UTC |
63fe9b5 | Andrew M. Kuchling | 20 April 2006, 13:36:06 UTC | 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 | Neal Norwitz | 20 April 2006, 06:56:05 UTC | 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 | Neal Norwitz | 20 April 2006, 06:44:42 UTC | Whitespace, fix indentation | 20 April 2006, 06:44:42 UTC |
c661b88 | Martin v. Löwis | 20 April 2006, 04:54:23 UTC | Document r43622. | 20 April 2006, 04:54:23 UTC |
94785ef | Skip Montanaro | 20 April 2006, 01:29:48 UTC | 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 | Marc-André Lemburg | 19 April 2006, 15:48:59 UTC | Add news item for pybench addition. | 19 April 2006, 15:48:59 UTC |
dc5f808 | Thomas Wouters | 19 April 2006, 15:38:01 UTC | Make s.replace() work with explicit counts exceeding 2Gb. | 19 April 2006, 15:38:01 UTC |
c311f64 | Marc-André Lemburg | 19 April 2006, 15:27:33 UTC | Adding pybench 1.3 to the Tools/ directory. | 19 April 2006, 15:27:33 UTC |
79cdce3 | Thomas Wouters | 19 April 2006, 15:09:44 UTC | 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 | Thomas Wouters | 19 April 2006, 14:50:15 UTC | 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 | Andrew M. Kuchling | 19 April 2006, 12:55:39 UTC | 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 | Armin Rigo | 19 April 2006, 11:50:27 UTC | 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 | Brett Cannon | 18 April 2006, 23:58:52 UTC | 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 | Thomas Wouters | 18 April 2006, 23:04:00 UTC | 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 | Thomas Heller | 18 April 2006, 20:09:27 UTC | Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer. | 18 April 2006, 20:09:27 UTC |
058be9a | Skip Montanaro | 18 April 2006, 19:45:17 UTC | 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 | Skip Montanaro | 18 April 2006, 19:39:48 UTC | C++ compiler cleanup: a cast here, a cast there... still does not compile under C++ though... | 18 April 2006, 19:39:48 UTC |
14f8899 | Skip Montanaro | 18 April 2006, 19:35:04 UTC | C++ compiler cleanup: "typename" is a C++ keyword | 18 April 2006, 19:35:04 UTC |
1b04664 | Thomas Heller | 18 April 2006, 18:51:06 UTC | 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 | Tim Peters | 18 April 2006, 17:32:12 UTC | Whilespace normalization (reindint.py). | 18 April 2006, 17:32:12 UTC |
17a35f9 | Phillip J. Eby | 18 April 2006, 16:45:14 UTC | add info re: pydoc, pkgutil, and setuptools additions | 18 April 2006, 16:45:14 UTC |
e7670a3 | George Yoshida | 18 April 2006, 16:18:15 UTC | fix typo | 18 April 2006, 16:18:15 UTC |
54ddd23 | Phillip J. Eby | 18 April 2006, 15:30:05 UTC | 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 | Thomas Heller | 18 April 2006, 14:57:39 UTC | Fix refcounting. This makes 'import ctypes; reload(ctypes)' no longer leak reference counts. | 18 April 2006, 14:57:39 UTC |
a4ebc13 | Jeremy Hylton | 18 April 2006, 14:47:00 UTC | Refactor: Move code that uses co_lnotab from ceval to codeobject | 18 April 2006, 14:47:00 UTC |
6db6782 | Andrew M. Kuchling | 18 April 2006, 14:04:57 UTC | Typo fix | 18 April 2006, 14:04:57 UTC |
7e97ee6 | Armin Rigo | 18 April 2006, 14:00:01 UTC | 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 | Michael W. Hudson | 18 April 2006, 13:52:32 UTC | add a very old crasher from the 2.1 -> 2.2 round of dictionary fixes. | 18 April 2006, 13:52:32 UTC |
952f196 | Andrew M. Kuchling | 18 April 2006, 12:38:19 UTC | Add item | 18 April 2006, 12:38:19 UTC |
816a162 | Skip Montanaro | 18 April 2006, 11:53:09 UTC | C++ compiler cleanup: proper casts | 18 April 2006, 11:53:09 UTC |
2060d1b | Andrew M. Kuchling | 18 April 2006, 11:49:53 UTC | Comment typo fix | 18 April 2006, 11:49:53 UTC |
45294a9 | Martin v. Löwis | 18 April 2006, 06:24:08 UTC | 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 | Neal Norwitz | 18 April 2006, 04:53:28 UTC | Whitespace normalization | 18 April 2006, 04:53:28 UTC |
cea434c | Phillip J. Eby | 18 April 2006, 04:34:50 UTC | It's probably a good idea to actually *install* setuptools, too. ;) | 18 April 2006, 04:34:50 UTC |
8f925cc | Phillip J. Eby | 18 April 2006, 04:31:46 UTC | Handle easy_install being run via -m with no __file__ if done from a zipfile. | 18 April 2006, 04:31:46 UTC |
069159b | Phillip J. Eby | 18 April 2006, 04:05:34 UTC | Initial import of setuptools, with integrated tests. | 18 April 2006, 04:05:34 UTC |
e247e89 | Tim Peters | 18 April 2006, 03:28:32 UTC | 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 | Tim Peters | 18 April 2006, 03:02:10 UTC | At least test_threading_local doesn't leak any more. | 18 April 2006, 03:02:10 UTC |
742cd24 | Phillip J. Eby | 18 April 2006, 01:39:25 UTC | 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 | Skip Montanaro | 18 April 2006, 01:01:41 UTC | correct function signature | 18 April 2006, 01:01:41 UTC |
ceb3087 | Phillip J. Eby | 18 April 2006, 00:59:55 UTC | 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 | Skip Montanaro | 18 April 2006, 00:57:15 UTC | C++ compiler cleanup: cast... | 18 April 2006, 00:57:15 UTC |
53a6d1d | Skip Montanaro | 18 April 2006, 00:55:46 UTC | C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t | 18 April 2006, 00:55:46 UTC |
7ff54e7 | Skip Montanaro | 18 April 2006, 00:53:48 UTC | C++ compiler cleanup: migrate to modsupport.h | 18 April 2006, 00:53:48 UTC |
a0b6338 | Skip Montanaro | 18 April 2006, 00:53:06 UTC | C++ compiler cleanup: cast signed to unsigned | 18 April 2006, 00:53:06 UTC |
dd527fc | Skip Montanaro | 18 April 2006, 00:49:49 UTC | reset errno before calling confstr - use confstr() doc to simplify checks afterwards | 18 April 2006, 00:49:49 UTC |
429433b | Skip Montanaro | 18 April 2006, 00:35:43 UTC | 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 | Skip Montanaro | 18 April 2006, 00:29:29 UTC | C++ compile cleanup: proper declaration of _Py_BuildValue_SizeT | 18 April 2006, 00:29:29 UTC |
54e964d | Skip Montanaro | 18 April 2006, 00:27:46 UTC | 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 | Tim Peters | 17 April 2006, 21:12:33 UTC | 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 | Phillip J. Eby | 17 April 2006, 20:17:25 UTC | 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 | Martin v. Löwis | 17 April 2006, 19:25:49 UTC | Add reindent target. | 17 April 2006, 19:25:49 UTC |
1a00e18 | Martin v. Löwis | 17 April 2006, 19:18:18 UTC | Reindent. | 17 April 2006, 19:18:18 UTC |
f62eee1 | Martin v. Löwis | 17 April 2006, 17:37:09 UTC | Remove bogus character. | 17 April 2006, 17:37:09 UTC |
70f5f7a | Martin v. Löwis | 17 April 2006, 17:26:42 UTC | Use GetModuleFileNameEx instead of GetProcessImageFileName, as the latter is not available on Windows 2000. | 17 April 2006, 17:26:42 UTC |
bd30f52 | Martin v. Löwis | 17 April 2006, 17:08:37 UTC | Patch #790710: Add breakpoint command lists in pdb. | 17 April 2006, 17:08:37 UTC |
297bf82 | George Yoshida | 17 April 2006, 15:44:59 UTC | fix long option markup | 17 April 2006, 15:44:59 UTC |
59075eb | Ronald Oussoren | 17 April 2006, 14:43:30 UTC | 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 | Andrew M. Kuchling | 17 April 2006, 14:01:36 UTC | Update status of document | 17 April 2006, 14:01:36 UTC |
f7823a3 | Andrew M. Kuchling | 17 April 2006, 14:00:31 UTC | 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 | Ronald Oussoren | 17 April 2006, 13:40:08 UTC | This patches fixes a number of byteorder problems in MacOSX specific code. | 17 April 2006, 13:40:08 UTC |
749d070 | Ronald Oussoren | 17 April 2006, 13:37:15 UTC | Teach platform about darwin/x86 | 17 April 2006, 13:37:15 UTC |
ce8607d | Martin v. Löwis | 17 April 2006, 10:39:39 UTC | Revert to 45478, disable kill_python command for now. | 17 April 2006, 10:39:39 UTC |
c97c119 | Martin v. Löwis | 17 April 2006, 10:36:18 UTC | Check whether disk space is full. | 17 April 2006, 10:36:18 UTC |
63d1f99 | Martin v. Löwis | 17 April 2006, 10:31:35 UTC | Rename binary again; increase noise; stop trying to actually kill the process. | 17 April 2006, 10:31:35 UTC |
11e8b3c | Martin v. Löwis | 17 April 2006, 10:27:28 UTC | Rename binaries again; increase noise. | 17 April 2006, 10:27:28 UTC |
98dbfab | Martin v. Löwis | 17 April 2006, 10:23:23 UTC | Rename binary to avoid conflicts with hanging processes on x86 w2k. | 17 April 2006, 10:23:23 UTC |
5b3bf0d | Martin v. Löwis | 17 April 2006, 10:19:25 UTC | Try some tracing | 17 April 2006, 10:19:25 UTC |
2d12372 | Martin v. Löwis | 17 April 2006, 09:46:47 UTC | Add kill_python command. | 17 April 2006, 09:46:47 UTC |
dfde91a | Armin Rigo | 17 April 2006, 09:22:35 UTC | 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 | Neal Norwitz | 17 April 2006, 05:56:32 UTC | No need to cast a Py_ssize_t, use %z in PyErr_Format | 17 April 2006, 05:56:32 UTC |
4b16de4 | Neal Norwitz | 17 April 2006, 02:41:25 UTC | Add a comment to explain why we are calling _cleanup() | 17 April 2006, 02:41:25 UTC |
00ac0d2 | Neal Norwitz | 17 April 2006, 02:39:37 UTC | Try to stop the test from leaking and yet still work on windows | 17 April 2006, 02:39:37 UTC |
c859b5c | Neal Norwitz | 17 April 2006, 01:49:28 UTC | Remove unused field | 17 April 2006, 01:49:28 UTC |
7ebd1f8 | Neal Norwitz | 17 April 2006, 01:49:14 UTC | Add some notes about a couple of poorly behaved tests | 17 April 2006, 01:49:14 UTC |
0f77da3 | Neal Norwitz | 17 April 2006, 01:48:41 UTC | 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 | Neal Norwitz | 17 April 2006, 01:48:06 UTC | Get test to consistently show no leaks | 17 April 2006, 01:48:06 UTC |
88c9784 | Neal Norwitz | 17 April 2006, 00:36:29 UTC | No reason to export get_decomp_record, make static | 17 April 2006, 00:36:29 UTC |
1a26920 | Neal Norwitz | 17 April 2006, 00:33:23 UTC | moduleName can be NULL | 17 April 2006, 00:33:23 UTC |
aa220a7 | Tim Peters | 16 April 2006, 22:22:36 UTC | Whitespace normalization. | 16 April 2006, 22:22:36 UTC |
c5c9ce9 | Tim Peters | 16 April 2006, 22:11:28 UTC | Add missing SVN eol-style property to text files. | 16 April 2006, 22:11:28 UTC |
715a4cd | Thomas Wouters | 16 April 2006, 22:04:49 UTC | 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 | Martin v. Löwis | 16 April 2006, 20:55:38 UTC | Patch #1063914: Add clipboard_get. | 16 April 2006, 20:55:38 UTC |
45bb98e | Andrew M. Kuchling | 16 April 2006, 19:53:27 UTC | Add item | 16 April 2006, 19:53:27 UTC |
19ab6c9 | Martin v. Löwis | 16 April 2006, 18:55:50 UTC | Initialize structseq types only once. | 16 April 2006, 18:55:50 UTC |
d18d5a3 | Martin v. Löwis | 16 April 2006, 18:55:07 UTC | Update instructions for EXTRA_CFLAGS: configure ignores them; they have to be passed to make. | 16 April 2006, 18:55:07 UTC |
de0a23f | Andrew M. Kuchling | 16 April 2006, 18:45:11 UTC | Describe contextlib module. (Done for today...) | 16 April 2006, 18:45:11 UTC |
d058d00 | Andrew M. Kuchling | 16 April 2006, 18:20:05 UTC | 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 | Thomas Wouters | 16 April 2006, 16:26:28 UTC | Make test_timeout not fail on systems with no dots in their fqdn. | 16 April 2006, 16:26:28 UTC |
767833d | Thomas Wouters | 16 April 2006, 15:43:39 UTC | 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 | Thomas Wouters | 16 April 2006, 15:22:41 UTC | 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 | Thomas Wouters | 16 April 2006, 15:11:33 UTC | This test no longer leaks, and test_generators sufficiently tests it to prevent unreported regression. | 16 April 2006, 15:11:33 UTC |
195e4e6 | Neal Norwitz | 16 April 2006, 03:37:19 UTC | Fix valgrind problem with invalid memory read | 16 April 2006, 03:37:19 UTC |
5b03065 | Neal Norwitz | 16 April 2006, 03:28:17 UTC | Fix memory leak | 16 April 2006, 03:28:17 UTC |
035b185 | Neal Norwitz | 16 April 2006, 00:02:59 UTC | err is no longer used | 16 April 2006, 00:02:59 UTC |
b8f81d4 | Thomas Wouters | 15 April 2006, 23:27:28 UTC | 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 |