summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - don't hang if group id is followed by whitespace (closes bug #114660)Fredrik Lundh2000-09-243-2/+4
|
* Added first start on SAX 2.0 tests.Lars Gustäbel2000-09-242-0/+198
|
* Added back missing argument to ignorableWhitespace signature.Lars Gustäbel2000-09-241-1/+1
|
* Bug fix to namespace handling in XMLGenerator (now adds declarations).Lars Gustäbel2000-09-241-5/+13
| | | | | Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and did not inherit set*Handler methods from XMLReader.)
* Fixes for Python 1.6 compatibility - socket bind and connect get aNicholas Riley2000-09-241-2/+2
| | | | tuple instead two arguments.
* Change for Python 1.6 compatibility - UNIX's 'os' module definesNicholas Riley2000-09-241-16/+15
| | | | 'spawnv' now, so we check for 'fork' first.
* Conform to the Python style guide.Fred Drake2000-09-242-362/+367
|
* Conform more closely with the Python style guide.Fred Drake2000-09-231-11/+11
|
* Use the public name for the Expat parser; "pyexpat" is deprecated.Fred Drake2000-09-231-11/+7
|
* Rename the public interface from "pyexpat" to "xml.parsers.expat".Fred Drake2000-09-231-10/+10
|
* Add a wrapper around the pyexpat module, making the "public" name ofFred Drake2000-09-231-0/+4
| | | | the module "xml.parsers.expat".
* Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (forGreg Ward2000-09-231-8/+28
| | | | easier extensibility).
* Whitespace tweaks.Greg Ward2000-09-231-35/+32
|
* Reformat docstrings.Greg Ward2000-09-231-65/+63
| | | | Standardize use of whitespace on function calls.
* Maildir.__init__(): Use the correct filter for filenames, so that thisFred Drake2000-09-221-7/+4
| | | | class conforms to the maildir specification.
* - plug a memory leak due to circular listsNeil Schemenauer2000-09-221-0/+3
|
* - Replace debugleak flag with findleaks flag. The new SAVEALL GC option isNeil Schemenauer2000-09-221-6/+14
| | | | used to find cyclic garbage produced by tests.
* - Add test for new SAVEALL debugging flagNeil Schemenauer2000-09-221-31/+92
| | | | | - Use exceptions rather than asserts for failing tests. - Reorganize tests and produce some output if verbose option is set.
* Implemented new os.startfile function, unique to Windows, exposing aTim Peters2000-09-221-1/+1
| | | | | | | | | | | | | | | | subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
* More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt!Guido van Rossum2000-09-221-15/+15
|
* Get rid of the one tab in the file.Guido van Rossum2000-09-221-1/+1
| | | | Closes Bug #115054.
* White space cleanup, including one item that was an error under -tt.Fred Drake2000-09-221-5/+5
|
* Tweak what happens when run on non-Windows platforms: set install prefixGreg Ward2000-09-221-10/+5
| | | | | as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us).
* Changed all paths in the INSTALL_SCHEMES dict to Unix syntax, and addedGreg Ward2000-09-221-43/+56
| | | | | | | | | | | | | | | | | | | | | | | 'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions.
* Fix 'convert_path()' so it returns immediately under Unix -- prevents blowingGreg Ward2000-09-221-5/+5
| | | | | up when the pathname starts with '/', which is needed when converting installation directories in the "install" command.
* Indent _connection_class so that it becomes HTTPS._connection_class.Martin v. Löwis2000-09-211-1/+1
|
* Revise the test case for pyexpat to avoid using asserts. Conform betterFred Drake2000-09-212-28/+36
| | | | to the Python style guide, and remove unneeded imports.
* The minidom.Node class has a debug attribute which, when its _debugGuido van Rossum2000-09-211-0/+2
| | | | | | | | | | flag is true, is set to a StringIO object that silently collects all debug messages. This is triggered by the Node._debug=1 statement at the top of test_minidom.py. After the tests, we better delete that StringIO object to avoid wasting memory. We also reset the _debug flag. (Note that this is an undetectable memory leak, and the memory doesn't get collected by the cycle-gc either, because it's all reachable -- it's just useless.)
* Paul Prescod <paul@prescod.net>:Fred Drake2000-09-211-17/+27
| | | | | | | | | Add support for parsing already-opened files. Make sure the parse() method closes exactly those files that it opens. Modified by FLD for better conformance to the Python style guide. This closes SourceForge patch #101512.
* - fixed yet another gcc -pedantic warningFredrik Lundh2000-09-211-0/+5
| | | | | - added experimental "expand" method to match objects - don't use the buffer interface on unicode strings
* SAXException.__getitem__(): Raise AttributeError instead of NameError.Fred Drake2000-09-211-1/+1
|
* fix bogus references to imp; makes test_minidom succeedJeremy Hylton2000-09-211-2/+2
|
* Now uses make_parser to create its parser (patch 101573).Lars Gustäbel2000-09-211-2/+2
|
* Added the make_parser function (patch 101571).Lars Gustäbel2000-09-211-2/+67
|
* Updated XMLGenerator to new DocumentHandler interface (patch 101572).Lars Gustäbel2000-09-211-11/+30
|
* Updated to correct DocumentHandler signatures. (patch 101570)Lars Gustäbel2000-09-211-6/+23
|
* Derived from Martin's SF patch 110609: support unbounded ints in ↵Tim Peters2000-09-211-23/+136
| | | | | | | | | | | | | | | | %d,i,u,x,X,o formats. Note a curious extension to the std C rules: x, X and o formatting can never produce a sign character in C, so the '+' and ' ' flags are meaningless for them. But unbounded ints *can* produce a sign character under these conversions (no fixed- width bitstring is wide enough to hold all negative values in 2's-comp form). So these flags become meaningful in Python when formatting a Python long which is too big to fit in a C long. This required shuffling around existing code, which hacked x and X conversions to death when both the '#' and '0' flags were specified: the hacks weren't strong enough to deal with the simultaneous possibility of the ' ' or '+' flags too, since signs were always meaningless before for x and X conversions. Isomorphic shuffling was required in unicodeobject.c. Also added dozens of non-trivial new unbounded-int test cases to test_format.py.
* Corran Webster: fix 'change_root()' to handle Mac OS paths.Greg Ward2000-09-211-1/+7
|
* change 2-space indent to 4-space indentJeremy Hylton2000-09-201-1081/+1079
|
* *Very* belated application of Thomas Heller's patch to handleGreg Ward2000-09-191-3/+86
| | | | | | | resource files. The gist of the patch is to treat ".rc" and ".mc" files as source files; ".mc" files are compiled to ".rc" and then ".res", and ".rc" files are compiled to ".res". Wish I knew what all these things stood for...
* Treat trailing colon in os.path.join("a:", "b") same way for DOS as inTim Peters2000-09-191-1/+1
| | | | | recent changes to ntpath.py and posixmodule.c. Thanks to Guido for pointing out the inconsistency!
* This patch adds a new Python C API called PyString_AsStringAndSize()Marc-André Lemburg2000-09-192-0/+19
| | | | | | | | | | | | | which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters.
* Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yieldTim Peters2000-09-191-1/+1
| | | | "a:b", not "a:/b". Similar change was made to posixmodule.c earlier.
* test_userlist.py:Tim Peters2000-09-191-39/+52
| | | | | Added new test for new __contains__ method. Extensive editing to get rid of asserts.
* SF patch 101391: implemented UserList.__contains__.Tim Peters2000-09-191-0/+1
|
* Fix test errors.Paul Prescod2000-09-192-2/+1
|
* New test cases for the StringIO moduleMartin v. Löwis2000-09-192-0/+24
|
* Don't print specific Node instances unless running verbosely.Martin v. Löwis2000-09-192-4/+10
| | | | Closes Bug #114775.