summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - tp_init shouldn't call base class tp_init by defaultJack Jansen2006-04-201-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) paragraphAndrew M. Kuchling2006-04-201-5/+8
|
* Argh, make another markup fixAndrew M. Kuchling2006-04-201-1/+1
|
* Markup fixAndrew M. Kuchling2006-04-201-1/+1
|
* Add some items; add "New module" consistently; make contextlib.closing ↵Andrew M. Kuchling2006-04-201-20/+44
| | | | example more interesting and more correct (thanks Gustavo!); add a name
* Address issues brought up by MvL on python-checkins.Neal Norwitz2006-04-201-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 indentationNeal Norwitz2006-04-201-2/+1
|
* Document r43622.Martin v. Löwis2006-04-201-0/+4
|
* Correct implementation and documentation of os.confstr. Add a simple testSkip Montanaro2006-04-203-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é Lemburg2006-04-191-0/+5
|
* Make s.replace() work with explicit counts exceeding 2Gb.Thomas Wouters2006-04-191-2/+2
|
* Adding pybench 1.3 to the Tools/ directory.Marc-André Lemburg2006-04-1920-0/+8164
|
* Teach Python/ceval.c's inlining of 'str += str' about Py_ssize_t sizes; thisThomas Wouters2006-04-191-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 andThomas Wouters2006-04-191-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. Kuchling2006-04-191-18/+48
| | | | __context__ methods; minor edits; add two names
* SF Patch #1062014: AF_UNIX sockets under Linux have a specialArmin Rigo2006-04-193-6/+62
| | | | abstract namespace that is now fully supported.
* Added a pycremoval rule. Called by clean, it removes all .pyc and .pyo files.Brett Cannon2006-04-181-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 (andThomas Wouters2006-04-180-0/+0
| | | | subdirs) like it already exists for the other Lib subdirs.
* Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.Thomas Heller2006-04-181-3/+3
|
* C++ compiler cleanup: the typical few casts, and ... C++ didn't like thatSkip Montanaro2006-04-186-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 Montanaro2006-04-181-3/+4
| | | | under C++ though...
* C++ compiler cleanup: "typename" is a C++ keywordSkip Montanaro2006-04-181-11/+11
|
* Change those parts of the Python-api that were functions in 2.4, andThomas Heller2006-04-182-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 Peters2006-04-1831-314/+53
|
* add info re: pydoc, pkgutil, and setuptools additionsPhillip J. Eby2006-04-181-0/+11
|
* fix typoGeorge Yoshida2006-04-181-1/+1
|
* Split ``get_platform()`` into ``get_supported_platform()`` andPhillip J. Eby2006-04-183-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 Heller2006-04-181-0/+2
| | | | This makes 'import ctypes; reload(ctypes)' no longer leak reference counts.
* Refactor: Move code that uses co_lnotab from ceval to codeobjectJeremy Hylton2006-04-183-117/+162
|
* Typo fixAndrew M. Kuchling2006-04-181-1/+1
|
* A dictresize() attack. If oldtable == mp->ma_smalltable then pureArmin Rigo2006-04-181-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. Hudson2006-04-181-0/+47
|
* Add itemAndrew M. Kuchling2006-04-181-2/+12
|
* C++ compiler cleanup: proper castsSkip Montanaro2006-04-181-2/+2
|
* Comment typo fixAndrew M. Kuchling2006-04-181-1/+1
|
* Remove types from type_list if they have no objectsMartin v. Löwis2006-04-184-9/+47
| | | | | and unlist_types_without_objects is set. Give dump_counts a FILE* argument.
* Whitespace normalizationNeal Norwitz2006-04-181-1/+1
|
* It's probably a good idea to actually *install* setuptools, too. ;)Phillip J. Eby2006-04-181-0/+1
|
* Handle easy_install being run via -m with no __file__ if done from aPhillip J. Eby2006-04-182-2/+2
| | | | zipfile.
* Initial import of setuptools, with integrated tests.Phillip J. Eby2006-04-1839-0/+10376
|
* Finally figured out why this module did its imports at theTim Peters2006-04-181-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 Peters2006-04-181-1/+1
|
* test_pyclbr goes nuts when a module contains code to try importing a classPhillip J. Eby2006-04-181-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 signatureSkip Montanaro2006-04-181-1/+1
|
* Second phase of refactoring for runpy, pkgutil, pydoc, and setuptoolsPhillip J. Eby2006-04-182-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 Montanaro2006-04-181-2/+2
|
* C++ compiler cleanup: extern "C" a couple declarations, cast int to size_tSkip Montanaro2006-04-181-1/+9
|
* C++ compiler cleanup: migrate to modsupport.hSkip Montanaro2006-04-181-3/+0
|
* C++ compiler cleanup: cast signed to unsignedSkip Montanaro2006-04-181-1/+1
|
* reset errno before calling confstr - use confstr() doc to simplify checks ↵Skip Montanaro2006-04-181-7/+9
| | | | afterwards