summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow spaces in section names.Fred Drake2000-09-271-18/+33
| | | | | | | | | | | | | | | Do not expose the __name__ when reporting the list of options available for a section since that is for internal use. This closes SourceForge bug #115357. Additionally, define InterpolationDepthError and MAX_INTERPOLATION_DEPTH. The exception is raised by get*() when value interpolation cannot be completed within the defined recursion limit. The constant is only informative; changing it will not affect the allowed depth. Fix the exit from get() so that None is not returned if the depth is met or exceeded; either return the value of raise InterpolationDepthError.
* Updated hash values to match the new encoding (UTF-8) used in the test.Marc-André Lemburg2000-09-271-1/+1
|
* Fixed encoding to use an endianness independent format.Marc-André Lemburg2000-09-271-1/+3
|
* Fixed misleading qname in test_xmlgen_ns (reported by loewis).Lars Gustäbel2000-09-271-2/+2
|
* Bump version to 1.0pre.Greg Ward2000-09-271-1/+1
|
* Remove deprecation warnings on old 'link_*()' methods, ie. they're notGreg Ward2000-09-271-11/+5
| | | | | deprecated after all. But now they're only implemented once, instead of N times.
* Big patch from Rene Liebscher to simplify the CCompiler API andGreg Ward2000-09-275-430/+409
| | | | | | | | | | | | | | | | | | | | implementations. Details: * replace 'link_shared_object()', 'link_shared_lib()', and 'link_executable()' with 'link()', which is (roughly) the union of the three methods it replaces * in all implementation classes (UnixCCompiler, MSVCCompiler, etc.), ditch the old 'link_*()' methods and replace them with 'link()' * in the abstract base class (CCompiler), add the old 'link_*()' methods as wrappers around the new 'link()' (they also print a warning of the deprecated interface) Also increases consistency between MSVCCompiler and BCPPCompiler, hopefully to make it easier to factor out the mythical WindowsCCompiler class. Details: * use 'self.linker' instead of 'self.link' * add ability to compile resource files to BCPPCompiler * added (redundant?) 'object_filename()' method to BCPPCompiler * only generate a .def file if 'export_symbols' defined
* Bump version to 0.9.4.Greg Ward2000-09-271-1/+1
|
* Fix '_set_command_options()' so it only calls 'strtobool()' on stringsGreg Ward2000-09-271-2/+3
| | | | (was crashing on any boolean command-line option!).
* Added an "import xml.parsers.expat" to turn errors due to not havingBarry Warsaw2000-09-261-0/+1
| | | | the parser built into ImportErrors.
* The UsualJeremy Hylton2000-09-2620-421/+642
|
* Fix handling of file inputs on Windows; passing them to urllib.urlopen()Fred Drake2000-09-261-3/+5
| | | | | | | | caused the drive letter to cause urlopen() to think it was an unrecognized URL scheme. This only passes system ids to urlopen() if the file does not exist. It works on Windows & Unix. It should work everywhere else as well.
* Test output data for the Unicode database test suite.Marc-André Lemburg2000-09-261-1/+4
|
* Added test suite for the complete Unicode database. The test previouslyMarc-André Lemburg2000-09-261-7/+79
| | | | only tested a few cases.
* Bump version to 0.9.3.Greg Ward2000-09-261-1/+1
|
* Reformat docstrings.Greg Ward2000-09-262-64/+63
| | | | Standardize whitespace in function calls.
* Standardize whitespace in function calls.Greg Ward2000-09-264-147/+145
|
* Whitespace fix.Greg Ward2000-09-261-1/+2
|
* Reformat docstrings.Greg Ward2000-09-261-38/+41
| | | | Standardize whitespace in function calls.
* Standardize whitespace in function calls.Greg Ward2000-09-264-92/+92
|
* Standardize whitespace in function calls and docstrings.Greg Ward2000-09-261-62/+62
|
* HP-UX is another one of those platforms using an alternative lockGuido van Rossum2000-09-261-1/+1
| | | | structure (same as AIX).
* Include the version-detecting code to allow PyXML to override the "standard"Fred Drake2000-09-251-2/+19
| | | | xml package. Require at least PyXML 0.6.1.
* Add a test for SF bug #110621; stripping square brackets off ofBarry Warsaw2000-09-251-0/+4
| | | | addresses with domain literals.
* AddrlistClass.getdomainliteral(): rfc822 requires that the domainBarry Warsaw2000-09-251-1/+1
| | | | | | literal be wrapped in square brackets. This fix replaces the square brackets that were previously being stripped off. Closes SF bug #110621.
* When reading the file, option names were not passed throughGuido van Rossum2000-09-251-1/+1
| | | | | | | self.optionxform(), which (in the default case) caused options spelled with opper case letters in their name to be inaccessible. Reported by "Todd R. Palmer" <t2palmer@bellsouth.net> on activepython@listserv1.ActiveState.com.
* Added 'translate_longopt()' function.Greg Ward2000-09-251-0/+7
|
* Change to use the new 'translate_longopt()' function from fancy_getopt, ratherGreg Ward2000-09-251-5/+5
| | | | than rolling our own with fancy_getopt's 'longopt_xlate' global.
* Added a bunch of missing "=" signs in the option table.Greg Ward2000-09-251-30/+14
| | | | | Removed script options -- don't think they ever worked, weren't very well thought through, etc.
* Renamed '--keep-tree' option to '--keep-temp', for consistencyGreg Ward2000-09-251-6/+6
| | | | with the bdist_* commands.
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-2515-0/+31
|
* Added 'strtobool()' function: convert strings like "yes", "1",Greg Ward2000-09-251-0/+15
| | | | "no", "0", etc. to true/false.
* Fixed some bugs and mis-features in handling config files:Greg Ward2000-09-251-9/+44
| | | | | | | | | | | | | | | * options can now be spelled "foo-bar" or "foo_bar" (handled in 'parse_config_files()', just after we parse a file) * added a "[global]" section so there's a place to set global options like verbose/quiet and dry-run * respect the "negative alias" dictionary so (eg.) "quiet=1" is the same as "verbose=0" (this had to be done twice: once in 'parse_config_file()' for global options, and once in '_set_command_options()' for per-command options) * the other half of handling boolean options correctly: allow commands to list their boolean options in a 'boolean_options' class attribute, and use it to translate strings (like "yes", "1", "no", "0", etc) to true or false
* Fix inconsistent use of space/tabs.Thomas Wouters2000-09-251-4/+4
|
* Use SAX2 namespace support.Martin v. Löwis2000-09-241-28/+39
|
* [Patch 101634]Martin v. Löwis2000-09-242-26/+11
| | | | | | | xml.sax: Fix parse and parseString not to rely on ExpatParser Greatly simplify import logic by using __import__ saxutils: Support Unicode strings and files as parameters to prepare_input_source
* Find feature names in handler.Martin v. Löwis2000-09-241-3/+3
|
* Enabled EntityResolver test again now that pyexpat.c has been fixed.Lars Gustäbel2000-09-241-1/+0
|
* Fixed another bug.Lars Gustäbel2000-09-241-1/+0
|
* Improvements to doco strings.Lars Gustäbel2000-09-244-14/+27
| | | | Tiny bug fix to expatreader.py (endDocument was only called after errors).
* Use findfile to locate input and output files.Martin v. Löwis2000-09-241-7/+7
|
* Added EntityResolver and DTDHandler (patch 101631) with test cases.Lars Gustäbel2000-09-245-38/+91
|
* Added necessary test input file for test_sax.pyLars Gustäbel2000-09-241-0/+115
|
* Added back the InputSource class (patch 101630).Lars Gustäbel2000-09-244-31/+138
|
* Added test cases for the InputSource class.Lars Gustäbel2000-09-242-2/+55
|
* - Improved handling of win32 proxy settings (addresses bug #114256).Fredrik Lundh2000-09-241-22/+27
| | | | | | | The earlier code assumed "protocol=host;protocol=host;..." or "host", but Windows may also use "protocol=host" (just one entry), as well as "protocol://host". This code needs some more work, so I'll leave the bug open for now.
* Added test cases for the Attributes interface.Lars Gustäbel2000-09-242-1/+217
|
* Updated to final Attributes interface (patch 101632).Lars Gustäbel2000-09-242-13/+72
|
* Updated to new SAX method signatures (*NS, patch 101573).Lars Gustäbel2000-09-241-6/+6
|
* Updated to new *NS signatures (patch 101573).Lars Gustäbel2000-09-241-25/+25
|