summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* PyObject_Malloc: make a tiny bit faster for platforms where malloc(0)Tim Peters2002-04-181-2/+9
| | | | | | doesn't return NULL. PyObject_Realloc: better comment for why we don't call PyObject_Malloc(0).
* Remove some long-disabled debugging boilerplate.Tim Peters2002-04-181-26/+0
|
* ceval.c/do_raise(): Tighten the test to disallow raising an instance ofTim Peters2002-04-182-1/+30
| | | | | | | | a str subclass. test_descr.py/string_exceptions(): New sub-test. For 2.3 only. Guido doesn't want this backported.
* Remove more out-of-date comments and clarify explanation of visit().Jeremy Hylton2002-04-181-7/+1
|
* Remove out-of-date explanation in doc strings,Jeremy Hylton2002-04-181-3/+1
| | | | as reported by Eric C. Newton.
* Test for --export-dynamic directly to avoid problems with binutils 2.12.Martin v. Löwis2002-04-182-3/+3
| | | | Will backport to 2.1 and 2.2.
* SF bug 544733: Cygwin test_mmap fix for Python 2.2.1Tim Peters2002-04-181-0/+2
| | | | | | | | Close a file before trying to unlink it, and apparently Cygwin needs writes to an mmap'ed file to get flushed before they're visible. Bugfix candidate, but I think only for the 2.2 line (it's testing features that I think were new in 2.2).
* type_get_doc(): Squash compiler wng about incompatible ptr types.Tim Peters2002-04-181-1/+2
|
* Long-forgotten change: Update first paragraph with actual release dateAndrew M. Kuchling2002-04-181-5/+3
|
* SF bug 542984.Guido van Rossum2002-04-181-0/+20
| | | | | | | | | | | Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
* SF bug 542984.Guido van Rossum2002-04-181-7/+11
| | | | | | | | | | | Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
* Use md5.new() constructorAndrew M. Kuchling2002-04-172-2/+2
|
* Use 2.1's .hexdigest() methodAndrew M. Kuchling2002-04-171-5/+2
|
* Apply diff3.txt from SF patch http://www.python.org/sf/536241Walter Dörwald2002-04-172-0/+41
| | | | | | | | | If a str or unicode method returns the original object, make sure that for str and unicode subclasses the original will not be returned. This should prevent SF bug http://www.python.org/sf/460020 from reappearing.
* Added note about new distutils commands.Marc-André Lemburg2002-04-171-0/+9
|
* Patch #531901 by Mark W. Alexander: adds a new distutils packagerMarc-André Lemburg2002-04-175-4/+976
| | | | | | base class (in bdist_packager) and two subclasses which make use of this base class: bdist_pkgtool (for Solaris) and bdist_sdux (for HP-UX).
* typoSkip Montanaro2002-04-171-1/+1
|
* Add text on tp_as_buffer that refers tothe section that covers the topic.Fred Drake2002-04-171-3/+9
| | | | Additional material is still needed in that section.
* Add a version annotation for the help() function.Fred Drake2002-04-171-0/+1
|
* Adjust markup to worm around tool limitations; the "m" in "model" was beingFred Drake2002-04-171-1/+1
| | | | | dropped in the HTML formatted version. Reported by Mike Coleman.
* Pass the -r option to getpagecounts to generate an entry for the "What'sFred Drake2002-04-171-1/+1
| | | | New" document.
* Remove Emacs turd; not needed with modern Emacs versions.Fred Drake2002-04-171-10/+19
| | | | | | | | Add a -r option; if given with a release number, the "What's New" document is included with the relevant version number. Update the text of the README distributed with the PostScript files to reflect the changes in the user organizations in the Python community.
* Changed last remaining use of "./" to "index.html" when referring to theFred Drake2002-04-171-1/+1
| | | | | | index file for the top-level directory. This makes it easier to use an unpacked version of the documentation via file: URLs. This closes SF bug #541257.
* Start of script to locate C symbols and segregate them into lists ofFred Drake2002-04-161-0/+107
| | | | the documented and undocumented symbols.
* Windows installer: disabled Wise's "delete in-use files" uninstallTim Peters2002-04-162-1/+14
| | | | | | | | option. It was the cause of at least one way UNWISE.EXE could vanish (install a python; uninstall it; install it again; reboot the machine; abracadabra the uinstaller is gone). Bugfix candidate, but I'll backport it myself.
* Added docstrings to the Profile class.Fred Drake2002-04-161-0/+31
| | | | | Avoid adding Python wrappers around the underlying C profiler if possible; the extra layer of calls can lead to confusion in interpreting the logs.
* Update the dependencies.Fred Drake2002-04-161-1/+6
|
* Minor wording change.Fred Drake2002-04-161-1/+1
|
* SF bug 544647.Guido van Rossum2002-04-162-2/+33
| | | | | | | | | PyNumber_InPlaceMultiply insisted on calling sq_inplace_repeat if it existed, even if nb_inplace_multiply also existed and the arguments weren't right for sq_inplace_repeat. Change this to only use sq_inplace_repeat if nb_inplace_multiply isn't defined. Bugfix candidate.
* Whitespace normalization and fold some long lines.Guido van Rossum2002-04-161-20/+19
|
* Add more text from Guido on the type structure fields.Fred Drake2002-04-161-23/+442
| | | | Small additional changes.
* added small clarification to the descriptions of encode() and decode()Skip Montanaro2002-04-161-2/+6
|
* Replace the simpleminded string.find with a re.search looking only forThomas Heller2002-04-161-2/+2
| | | | | | | full words. Before that, something like 'PyObject_Call' was missed because 'PyObject_CallFunction' was found. Passes PyChecker now.
* test_mktime(): Removed. This wasn't really testing anything usefulBarry Warsaw2002-04-161-6/+0
| | | | | | (or platform independent). Closes SF bug #460357. Bug fix candidate.
* Move WITH_UNIVERSAL_NEWLINES template into configure.in.Martin v. Löwis2002-04-163-6/+8
|
* Whitespace normalization, while using non-whitespace literals forBarry Warsaw2002-04-161-26/+26
| | | | intended whitespace.
* Expect test_email_codecs to be skipped -- few users or developers willGuido van Rossum2002-04-161-0/+1
| | | | have the needed optional Japanese codecs installed.
* Apparently 3 of the tests here rely on trailing whitespace and/or hardTim Peters2002-04-161-26/+26
| | | | | tab characters, so reverting the whitespace normalization. Barry, please repair this.
* Remove repeated index entry; adds nothing different.Fred Drake2002-04-161-2/+1
| | | | Closes SF bug #518985.
* Fewer deprecation warnings.Tim Peters2002-04-161-0/+5
|
* resetwarnings(): Remove extra space from docstring guts.Tim Peters2002-04-161-1/+1
|
* Whitespace normalization.Tim Peters2002-04-1623-88/+84
|
* resetwarnings(): change the docstring to reflect what the codeTim Peters2002-04-161-1/+1
| | | | | | | actually does. Note that the description in the Library Reference manual is already accurate. Bugfix candidate.
* Tighten up some warning filters, and break some dependencies on theTim Peters2002-04-169-16/+34
| | | | order in which the tests are normally run.
* OK, don't call resetwarnings().Tim Peters2002-04-161-2/+0
|
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-164-9/+4
| | | | to keep doing that in every test that wants to filter a warning.
* I expect test_univnewlines to be skipped on Windows. I expect thisTim Peters2002-04-151-0/+1
| | | | | because it *is* skipped. I'm not entirely sure it should be skipped, but figuring that out would take actual thought <wink>.
* Reduce the number of test-suite DeprecationWarnings; start addingTim Peters2002-04-153-3/+12
| | | | resetwarnings() calls too.
* Fix grammarNeal Norwitz2002-04-151-2/+2
|
* test_main(): Added this so the test can actually get run under theBarry Warsaw2002-04-152-21/+20
| | | | | regrtest framework. Keep the original standalone-unittest scaffolding (i.e. suite() and __main__).