summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Repair senseless random.seed docstring (reported on c.l.py).Tim Peters2000-09-161-1/+1
|
* 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
|
* - add a new testNeil Schemenauer2000-09-151-0/+22
| | | | - document some of the tricky tests (hopefully correctly :)
* fix bug #110661 (PR#356) -- accept either & or ; as separator for CGIJeremy Hylton2000-09-153-16/+25
| | | | | | query string also some doc string reformatting and use of string methods instead of older string.splitfields
* Fixed some typos. Removed one obsolete comment.Paul Prescod2000-09-151-3/+2
|
* Fixed bug that disallowed processing instructions before and afterPaul Prescod2000-09-151-4/+5
| | | | document element.
* Fix Bug #114293:Jeremy Hylton2000-09-155-112/+131
| | | | | | | | | | | Strings are unpickled by calling eval on the string's repr. This change makes pickle work like cPickle; it checks if the pickled string is safe to eval and raises ValueError if it is not. test suite modifications: Verify that pickle catches a variety of insecure string pickles Make test_pickle and test_cpickle use exactly the same test suite Add test for pickling recursive object
* Before comparing os.uname() to BeOS check that os.uname actually exists:-)Jack Jansen2000-09-151-1/+1
|
* For current directory use os.curdir, not ".".Jack Jansen2000-09-151-2/+2
|
* Allow am/pm as well as AM/PM (C9X behaviour).Jack Jansen2000-09-151-2/+2
|
* Support \r in source files. Closes bug #101425.Martin v. Löwis2000-09-151-0/+5
|
* Removed some debugging prints: When running user configuration codeFred Drake2000-09-151-4/+0
| | | | | from Tk.readprofile(), do not print anything extra to stdout, just run the code.
* Added 'warn_dir' option so other code can sneak in and disableGreg Ward2000-09-151-3/+6
| | | | the sometimes inappropriate warning about where we're installing data files.
* Adjust to the new sysconfig regime: use 'get_config_vars()' insteadGreg Ward2000-09-151-3/+6
| | | | | | | of globals from sysconfig. Added 'prefix' and 'exec_prefix' to the list of variables that can be expanded in installation directories (preserving the stupid old names of 'sys_prefix' and 'sys_exec_prefix, though).
* Adjust to the new sysconfig regime: use 'get_config_var()' insteadGreg Ward2000-09-151-3/+4
| | | | of globals from sysconfig.
* Revamped 'get_platform()' to try and do something reasonably smart onGreg Ward2000-09-151-4/+42
| | | | POSIX platforms, ie. get a little more detail than 'sys.platform' gives.
* Changed from eager parsing of Makefile (at import time) to lazy: only doGreg Ward2000-09-151-25/+63
| | | | | | | | | | | | | | | all that work when someone asks for a "configuration variable" from the Makefile. Details: - added 'get_config_vars()': responsible for calling one of the '_init_*()' functions to figure things out for this platform, and to provide an interface to the resulting dictionary - added 'get_config_var()' as a simple interface to the dictionary loaded by 'get_config_vars()' - changed the '_init_*()' functions so they load the global dictionary '_config_vars', rather than spewing their findings all over the module namespace - don't delete the '_init_*()' functions when done importing - adjusted 'customize_compiler()' to the new regime
* Fixed so 'parse_makefile()' uses the TextFile class to ensure thatGreg Ward2000-09-151-6/+8
| | | | | comments are stripped and lines are joined according to the backslash convention.
* cope with weird Content-Length values returned from servers byJeremy Hylton2000-09-141-1/+4
| | | | ignoring them; e.g. Zope sometimes returns 13497L
* Remove "," from the list of always_safe characters. It is a reservedJeremy Hylton2000-09-142-8/+62
| | | | | | | | | | character according to RFC 2396. Add some text to quote doc string that explains the quoting rules better. This closes SF Bug #114427. Add _fast_quote operation that uses a dictionary instead of a list when the standard set of safe characters is used.
* Detlef Lannert <lannert@uni-duesseldorf.de>:Fred Drake2000-09-141-2/+2
| | | | | | | | | | | | | mailbox.py (from the CVS tree) doesn't work with qmail Maildirs: Filenames are completed when the directories are scanned, and the directory name is prepended again in the next() method. Another suggestion: Change the print statement in the _test() driver to show two more date characters (probably the length has increased due to the recent Y2K hype ;). Now it shows the complete date, including the seconds -- at least for me. (I've also made the sender field left justified, in case it is ever shorter than the field width).
* Added --force (-f) option to force installation (including bytecodeGreg Ward2000-09-135-4/+20
| | | | compilation).
* Bump version to 0.9.3pre.Greg Ward2000-09-131-1/+1
|
* Fix install directories on Mac OS: now everything goes toGreg Ward2000-09-131-2/+2
| | | | <prefix>:Lib:site-packages.
* Bastian Kleineidam: fix so it cleans up the temporary script-buildingGreg Ward2000-09-121-20/+13
| | | | directory too. Also generally cleaned up the code.
* Deleted ancient file.Guido van Rossum2000-09-111-410/+0
|
* Untabify. When compiling in -tt mode, an inconsistent Tab use errorFred Drake2000-09-111-408/+407
| | | | was raised. This occurred during installation.
* Delete some debugging prints.Greg Ward2000-09-111-2/+0
|
* Added --plat-name option to override sysconfig.get_platform() inGreg Ward2000-09-112-4/+18
| | | | generated filenames.
* Added --python and --fix-python options for better control over whatGreg Ward2000-09-101-16/+33
| | | | | interpreter the .spec file refers to. Cosmetic tweaks.
* The installer now displays info about version of distutilsThomas Heller2000-09-091-263/+278
| | | | | | | | used to create the distribution and the creation date. Takes care of the extra_path argument to the setup function, installs the modules into <prefix>/extra_path and creates a -pth file (like install_lib does).
* The windows installer must also look under the HKEY_CURRENT_USER keyThomas Heller2000-09-091-240/+240
| | | | for python installations, not only under HKEY_LOCAL_MACHINE.
* Do not try to fix bugs while sleeping.Fred Drake2000-09-091-4/+0
| | | | | | | | Paid more attention to the comments on the report; Martin suggested just not having a __del__() method, which makes more sense in this case. So I have removed it. This closes SourceForge bug #113850. Again.
* Kevin Jacobs <jacobs@darwin.cwru.edu>:Fred Drake2000-09-091-1/+2
| | | | | | | | The posixfile __del__ method attempts to close the file (_file_) it contains. However, if the open() method fails, then _file_ is never assigned. This closes SourceForge bug #113850.
* Match Sam Rushing's current version of asyncore.py and asynchat.pyAndrew M. Kuchling2000-09-082-81/+126
| | | | (SF patch 101447, fixing PR#113704)
* Add test cases to make sure we get the right SyntaxError message forFred Drake2000-09-082-0/+59
| | | | various illegal uses of "continue".
* Fix for bug 110629: Generate unique image names by introducing a counterMartin v. Löwis2000-09-081-1/+3
|
* Changes:Thomas Heller2000-09-071-273/+298
| | | | | | | | | | | | | | | | | | | | | | | | | distutils/command/bdist_wininst.py: - the windows installer is again able to compile after installing the files. Note: The default has changed, the packager has to give --no-target-compile/--no-target-optimize to NOT compile on the target system. (Another note: install_lib's --compile --optimize options have the same semantics to switch off the compilation. Shouldn't the names change?) - All references to specific python versions are gone. - A small bug: raise DistutilsPlatformError ("...") instead of raise DistutilsPlatformError, ("...") - When bdist_wininst creates an installer for one specific python version, this is reflected in the name: Distutils-0.9.2.win32-py15.exe instead of Distutils-0.9.2.win32.exe - bdist_wininst, when run as script, reads the wininst.exe file and rewrites itself. Previously this was done by hand. misc/install.c - All the changes needed for compilation - Deleted a lot of debug/dead code
* Older Tk versions don't support mousewheel support. Set event.deltaFredrik Lundh2000-09-071-1/+4
| | | | to zero if that's the case (closes bug #113727)
* Added Unicode objects to the copy mechanism. Since these are immutable,Marc-André Lemburg2000-09-071-0/+2
| | | | they are copied as atomic types.
* Typo fix.Greg Ward2000-09-071-1/+1
|
* Removing this file again to set its status to 'dead'.Guido van Rossum2000-09-071-1570/+0
|
* Bullet-proofing of 'make_release_tree()':Greg Ward2000-09-061-6/+14
| | | | | | - 'mkpath()' the distribution dir in case of empty manifest - warn if empty manifest - detect, warn about, and skip non-regular files in manifest
* Reorganized logic in 'get_file_list()' so it's easier to read, and fixed aGreg Ward2000-09-061-7/+8
| | | | | bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist. Don't hardcode setup.py, use 'self.distribution.script_name'.
* Typo fix.Greg Ward2000-09-062-2/+2
|
* The usual.Guido van Rossum2000-09-055-23/+30
|
* Add new builtin commands "copyright", "license", "credits" whichGuido van Rossum2000-09-051-1/+52
| | | | display the information you would expect them to display.