Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - tp_init shouldn't call base class tp_init by default | Jack Jansen | 2006-04-20 | 1 | -2/+3 | |
| | | | | | - tp_new (which was apparently always overridden:-) called base class tp_init in stead of tp_new. | |||||
* | Change a footnote to a parenthetical (in two senses) paragraph | Andrew M. Kuchling | 2006-04-20 | 1 | -5/+8 | |
| | ||||||
* | Argh, make another markup fix | Andrew M. Kuchling | 2006-04-20 | 1 | -1/+1 | |
| | ||||||
* | Markup fix | Andrew M. Kuchling | 2006-04-20 | 1 | -1/+1 | |
| | ||||||
* | Add some items; add "New module" consistently; make contextlib.closing ↵ | Andrew M. Kuchling | 2006-04-20 | 1 | -20/+44 | |
| | | | | example more interesting and more correct (thanks Gustavo!); add a name | |||||
* | Address issues brought up by MvL on python-checkins. | Neal Norwitz | 2006-04-20 | 1 | -4/+4 | |
| | | | | | | | | | 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? | |||||
* | Whitespace, fix indentation | Neal Norwitz | 2006-04-20 | 1 | -2/+1 | |
| | ||||||
* | Document r43622. | Martin v. Löwis | 2006-04-20 | 1 | -0/+4 | |
| | ||||||
* | Correct implementation and documentation of os.confstr. Add a simple test | Skip Montanaro | 2006-04-20 | 3 | -9/+17 | |
| | | | | case. I've yet to figure out how to provoke a None return I can test. | |||||
* | Add news item for pybench addition. | Marc-André Lemburg | 2006-04-19 | 1 | -0/+5 | |
| | ||||||
* | Make s.replace() work with explicit counts exceeding 2Gb. | Thomas Wouters | 2006-04-19 | 1 | -2/+2 | |
| | ||||||
* | Adding pybench 1.3 to the Tools/ directory. | Marc-André Lemburg | 2006-04-19 | 20 | -0/+8164 | |
| | ||||||
* | Teach Python/ceval.c's inlining of 'str += str' about Py_ssize_t sizes; this | Thomas Wouters | 2006-04-19 | 1 | -2/+2 | |
| | | | | was having funny effects when called on >2Gb strings ;P | |||||
* | Use Py_ssize_t to hold the 'width' argument to the ljust, rjust, center and | Thomas Wouters | 2006-04-19 | 1 | -8/+8 | |
| | | | | | | 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. | |||||
* | Write datetime.strptime() item; show use of @contextmanager in defining ↵ | Andrew M. Kuchling | 2006-04-19 | 1 | -18/+48 | |
| | | | | __context__ methods; minor edits; add two names | |||||
* | SF Patch #1062014: AF_UNIX sockets under Linux have a special | Armin Rigo | 2006-04-19 | 3 | -6/+62 | |
| | | | | abstract namespace that is now fully supported. | |||||
* | Added a pycremoval rule. Called by clean, it removes all .pyc and .pyo files. | Brett Cannon | 2006-04-18 | 1 | -2/+3 | |
| | | | | | Handy to have as a separate rule from clean when mucking around with bytecode generation. | |||||
* | Add proper svn magic to ignore .pyc/.pyo files in Lib/setuptools (and | Thomas Wouters | 2006-04-18 | 0 | -0/+0 | |
| | | | | subdirs) like it already exists for the other Lib subdirs. | |||||
* | Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer. | Thomas Heller | 2006-04-18 | 1 | -3/+3 | |
| | ||||||
* | C++ compiler cleanup: the typical few casts, and ... C++ didn't like that | Skip Montanaro | 2006-04-18 | 6 | -37/+42 | |
| | | | | | | 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. | |||||
* | C++ compiler cleanup: a cast here, a cast there... still does not compile ↵ | Skip Montanaro | 2006-04-18 | 1 | -3/+4 | |
| | | | | under C++ though... | |||||
* | C++ compiler cleanup: "typename" is a C++ keyword | Skip Montanaro | 2006-04-18 | 1 | -11/+11 | |
| | ||||||
* | Change those parts of the Python-api that were functions in 2.4, and | Thomas Heller | 2006-04-18 | 2 | -4/+105 | |
| | | | | | | are now macros to exported functions again. Fixes [ 1465834 ] bdist_wininst preinstall script support is broken in 2.5a1. | |||||
* | Whilespace normalization (reindint.py). | Tim Peters | 2006-04-18 | 31 | -314/+53 | |
| | ||||||
* | add info re: pydoc, pkgutil, and setuptools additions | Phillip J. Eby | 2006-04-18 | 1 | -0/+11 | |
| | ||||||
* | fix typo | George Yoshida | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | Split ``get_platform()`` into ``get_supported_platform()`` and | Phillip J. Eby | 2006-04-18 | 3 | -11/+11 | |
| | | | | | ``get_build_platform()`` to work around a Mac versioning problem that caused the behavior of ``compatible_platforms()`` to be platform specific. | |||||
* | Fix refcounting. | Thomas Heller | 2006-04-18 | 1 | -0/+2 | |
| | | | | This makes 'import ctypes; reload(ctypes)' no longer leak reference counts. | |||||
* | Refactor: Move code that uses co_lnotab from ceval to codeobject | Jeremy Hylton | 2006-04-18 | 3 | -117/+162 | |
| | ||||||
* | Typo fix | Andrew M. Kuchling | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | A dictresize() attack. If oldtable == mp->ma_smalltable then pure | Armin Rigo | 2006-04-18 | 1 | -0/+32 | |
| | | | | | Python code can mangle with mp->ma_smalltable while it is being walked over. | |||||
* | add a very old crasher from the 2.1 -> 2.2 round of dictionary fixes. | Michael W. Hudson | 2006-04-18 | 1 | -0/+47 | |
| | ||||||
* | Add item | Andrew M. Kuchling | 2006-04-18 | 1 | -2/+12 | |
| | ||||||
* | C++ compiler cleanup: proper casts | Skip Montanaro | 2006-04-18 | 1 | -2/+2 | |
| | ||||||
* | Comment typo fix | Andrew M. Kuchling | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | Remove types from type_list if they have no objects | Martin v. Löwis | 2006-04-18 | 4 | -9/+47 | |
| | | | | | and unlist_types_without_objects is set. Give dump_counts a FILE* argument. | |||||
* | Whitespace normalization | Neal Norwitz | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | It's probably a good idea to actually *install* setuptools, too. ;) | Phillip J. Eby | 2006-04-18 | 1 | -0/+1 | |
| | ||||||
* | Handle easy_install being run via -m with no __file__ if done from a | Phillip J. Eby | 2006-04-18 | 2 | -2/+2 | |
| | | | | zipfile. | |||||
* | Initial import of setuptools, with integrated tests. | Phillip J. Eby | 2006-04-18 | 39 | -0/+10376 | |
| | ||||||
* | Finally figured out why this module did its imports at the | Tim Peters | 2006-04-18 | 1 | -12/+21 | |
| | | | | | | | | 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. | |||||
* | At least test_threading_local doesn't leak any more. | Tim Peters | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | test_pyclbr goes nuts when a module contains code to try importing a class | Phillip J. Eby | 2006-04-18 | 1 | -0/+3 | |
| | | | | | | 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. | |||||
* | correct function signature | Skip Montanaro | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools | Phillip J. Eby | 2006-04-18 | 2 | -114/+239 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | C++ compiler cleanup: cast... | Skip Montanaro | 2006-04-18 | 1 | -2/+2 | |
| | ||||||
* | C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t | Skip Montanaro | 2006-04-18 | 1 | -1/+9 | |
| | ||||||
* | C++ compiler cleanup: migrate to modsupport.h | Skip Montanaro | 2006-04-18 | 1 | -3/+0 | |
| | ||||||
* | C++ compiler cleanup: cast signed to unsigned | Skip Montanaro | 2006-04-18 | 1 | -1/+1 | |
| | ||||||
* | reset errno before calling confstr - use confstr() doc to simplify checks ↵ | Skip Montanaro | 2006-04-18 | 1 | -7/+9 | |
| | | | | afterwards |