summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Repaired some glitches in the MD5 and SHA docs; copied the descriptions ofTim Peters2000-09-182-10/+31
| | | | | | the MD5 methods into the SHA docs (substituting "sha" for "md5", of course, and changing the stuff that depended on digest size accordingly). Fred, don't trust me!
* sys.setdefaultencoding() should only be called in case the standardMarc-André Lemburg2000-09-181-2/+3
| | | | | | | | default encoding ("ascii") is changed. This safes quite a few cycles during startup since the first call to .setdefaultencoding() will initialize the codec registry and the encodings package. See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").
* satisfy the tabnannyJeremy Hylton2000-09-183-358/+358
|
* Catch up to recent changes in TextFile (spotted by Bastian Kleineidam).Greg Ward2000-09-181-1/+1
|
* Added documentation for new functions.Fred Drake2000-09-171-3/+11
| | | | | | | Deprecated sequenceIncludes(). Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390.
* Add invert() and __invert__() as aliases for inv()/__inv__().Fred Drake2000-09-171-11/+16
| | | | | | | | Add contains() as alias for __contains__(). Make PyArg_ParseTuple() formats include the function name. Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390.
* Fix for SF bug 110688: Instance deallocation neglected to account forTim Peters2000-09-171-12/+28
| | | | | | | | | | that Py_INCREF boosts global _Py_RefTotal when Py_REF_DEBUG is defined but Py_TRACE_REFS isn't. There are, IMO, way too many preprocessor gimmicks in use for refcount debugging (at least 3 distinct true/false symbols, but not all 8 combos are supported by the code, etc etc), and no coherent documentation of this stuff -- 'twas too painful to track this one down.
* Fixed to respect 'define_macros' and 'undef_macros' on Extension object.Greg Ward2000-09-171-1/+5
|
* Added 'expand_makefile_vars()' to (duh) expand make-style variablesGreg Ward2000-09-171-9/+39
| | | | | | | | in a string (gives you something to do with the dictionary returned by 'parse_makefile()'). Pulled the regexes in 'parse_makefile()' out -- they're now globals, as 'expand_makefile_vars()' needs (two of) them. Cosmetic tweaks to 'parse_makefile()'.
* Added 'read_setup_file()' to read old-style Setup files. Could make lifeGreg Ward2000-09-171-2/+110
| | | | | | easier for people porting Makefile.pre.in-based extensions to Distutils. Also loosened argument-checking in Extension constructor to make life easier for 'read_setup_file()'.
* arraymodule: Fix SF bug 113960.Tim Peters2000-09-163-20/+36
| | | | | | | | | | | | | | reverse() didn't work at all due to bad arg check. Fixed that. Added Brad Chapman to ACKS file, as the proud new owner of two implicitly copyrighted lines of Python source code <wink>. Repaired buffer_info's total lack of arg-checking. Replaced memmove by memcpy in reverse() guts, as memmove is often slower and the memory areas are guaranteed disjoint. Replaced poke-and-hope unchecked decl of tmp buffer size by assert-checked larger tmp buffer. Got rid of inconsistent spaces before open paren in docstrings. Added reverse() sanity tests to test_array.py.
* Allow this script to act like a module by only calling main() ifBarry Warsaw2000-09-161-1/+3
| | | | __name__ == '__main__'. Closes SF bug #110844.
* Make the <body> tag match those of the generated HTML; rely on the styleFred Drake2000-09-161-1/+1
| | | | sheet instead of encoding anything there.
* Document \cfuncdesc, \ctypedesc, and \cvardesc.Fred Drake2000-09-161-0/+28
|
* Improve the test output a bit.Guido van Rossum2000-09-161-2/+4
|
* Push more of the display control into the style sheet.Fred Drake2000-09-162-3/+10
|
* Changed so lines that are all comment (or just whitespace + comment)Greg Ward2000-09-161-9/+27
| | | | | | | | | | are completely skipped, rather than being treated as blank lines (and then subject to the 'skip_blanks' flag). This allows us to process old-style Setup files, which rely on hello \\ # boo! there coming out as "hello there".
* Andrew Kuchling:Greg Ward2000-09-161-1/+1
| | | | | Fixed precendence bug that meant setting skip_blanks to false didn't work under some circumstances.
* [change from 2000/08/11, propagating now to distutils copy]Greg Ward2000-09-161-9/+17
| | | | | Factored the guts of 'warn()' out to 'gen_error()', and added the 'error()' method (trivial thanks to the refactoring).
* [change from 2000/04/17, propagating now to distutils copy]Greg Ward2000-09-161-26/+30
| | | | | | | Dropped the 'collapse_ws' option and replaced it with 'collapse_join' -- it's *much* faster (no 're.sub()') and this is the reason I really added 'collapse_ws', ie. to remove leading whitespace from a line being joined to the previous line.
* Use PyOS_setsig() instead of directly calling signal() or sigaction().Guido van Rossum2000-09-161-5/+12
| | | | | | | This fixes the first half of bug #110611: the immediate exit when ^C is hit when readline and threads are configured. Also added a new module variable, readline.library_version.
* Use typedef PyOS_sighandler_t and APIs PyOS_getsig() andGuido van Rossum2000-09-161-25/+12
| | | | | | | PyOS_setsig(), instead of directly calling signal() or sigaction(). This fixes the second half of bug #110611: the mysterious ignoring of the first ^C when readline isn't used.
* Add PyOS_getsig() and PyOS_setsig() -- wrappers around signal() orGuido van Rossum2000-09-161-0/+34
| | | | sigaction() (if HAVE_SIGACTION is defined).
* Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() andGuido van Rossum2000-09-161-0/+6
| | | | PyOS_setsig().
* Document new APIs PyOS_getsig() and PyOS_setsig().Guido van Rossum2000-09-161-0/+15
| | | | | | (Is there no macro to document a typedef?) Fred, please check my latex!
* Rene Liebscher: if we have to run the same sub-command multiple timesGreg Ward2000-09-161-5/+18
| | | | | | (eg. "bdist_dumb", to generate both ZIP and tar archives in the same run), tell all but the last run to keep temp files -- this just gets rid of the need to pseudo-install the same files multiple times.
* Renamed --keep-tree to --keep-temp.Greg Ward2000-09-161-3/+3
|
* Renamed --clean to --no-keep-temp and --noclean to --keep-temp.Greg Ward2000-09-161-6/+6
|
* Renamed --keep-tree option to --keep-temp.Greg Ward2000-09-161-3/+3
|
* Ensure sub-commands of "install" are reinitialized too.Greg Ward2000-09-161-3/+2
| | | | Run "install" the right way, by calling 'run_command()'.
* Remove some debugging output from the last change.Greg Ward2000-09-161-7/+0
|
* In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to theGreg Ward2000-09-161-2/+3
| | | | real implementation in Distribution.
* Generalized 'reinitialize_command()' so it can optionally reinitializeGreg Ward2000-09-161-2/+20
| | | | | | the command's sub-commands as well (off by default). This is essential if we want to be be able to run (eg.) "install" twice in one run, as happens when generating multiple built distributions in one run.
* Added the "sub-command" machinery to formalize the notion of "commandGreg Ward2000-09-161-0/+31
| | | | | | | families" -- eg. install and its brood, build and its brood, and so forth. Specifically: added the 'sub_commands' class attribute (empty list, sub- classes must override it) and a comment describing it, and the 'get_sub_commands()' method.
* Factored the "sub-command" machinery out to Command. Mainly, thisGreg Ward2000-09-161-25/+10
| | | | | meant removing 'get_sub_commands()', and moving the 'sub_commands' class attribute to the end and restructuring it to conform to the new regime.
* Use a really ugly hack that depends on output processing by LaTeX2HTML.Fred Drake2000-09-162-8/+8
| | | | | This replaces the tilde character with the string ";SPMtilde;", which LaTeX2HTML converts to a tilde on output.
* Update URL to unicode.org's FTP site using an HTTP URL to the sameFred Drake2000-09-161-1/+1
| | | | document.
* Update *both* uses of the URL to the zlib home page, and use the versionFred Drake2000-09-161-6/+6
| | | | advertised as the canonical form.
* Update link to the zlib homepage.Fred Drake2000-09-161-4/+4
|
* Update the link to Andrew Kuchling's crypto code.Fred Drake2000-09-161-1/+1
|
* Update link to the FIPS PUB 180-1 (PDF is available, but not PostScript).Fred Drake2000-09-161-2/+2
|
* Update some stale links.Fred Drake2000-09-162-8/+8
|
* Repair senseless random.seed docstring (reported on c.l.py).Tim Peters2000-09-161-1/+1
|
* Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.Tim Peters2000-09-163-3/+6
| | | | FRED, please check my monkey-see-monkey-do Tex fiddling!
* Tweaked the build temp dir names again.Greg Ward2000-09-161-8/+4
|
* Typo fix.Greg Ward2000-09-161-1/+1
|
* Include the Python version in the platform-specific build directories:Greg Ward2000-09-161-2/+4
| | | | | | with the recent change in 'get_platform()', we now have directory names like "build/lib-1.5-linux-i586". Idea and original patch by Rene Liebscher.
* Document the directory separatory for include dir and library dir lists.Greg Ward2000-09-161-2/+3
|
* This will eventually evolve into a package that creates CodeWarrior projects ↵Jack Jansen2000-09-155-0/+845
| | | | from templates (for distutils, and possibly the standard extensions too). For now it generates a correct xml file based on sources/output/expfile, but that is about all.
* - add a new testNeil Schemenauer2000-09-151-0/+22
| | | | - document some of the tricky tests (hopefully correctly :)