Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add toprettyxml method into minidom, closes patch #103471. | Martin v. Löwis | 2001-02-06 | 1 | -14/+24 |
| | |||||
* | A couple of changes to make this more conformant. MvL and Uche agree. | Guido van Rossum | 2001-02-05 | 1 | -13/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it incompatible with the version found in Python 2.0. Does this need to be done to PyXML too? Changes that might break existing code are marked with (!) below. - Formatting nit: no spaces inside parentheses: foo( a ) -> foo(a). - Break long lines. - (!) Fix getAttribute() and getAttributeNS() to return "" instead of raising KeyError when the attribute is not found. - (!) Fix getAttributeNodeNS() to return None instead of raising KeyError. (Curiously, getAttributeNode() already did this.) - Added hasAttributes(), which returns true iff the node has any attributes. )This is DOM level 3.) - (!) In createDocument(), if the qualified name is not empty, actually create and insert the first element with that name (this will become doc.documentElement). MvL believes that it should be an error to specify an empty qualified name; I'm not going there today, since it would require making a matching change to pulldom. Maybe MvL will do this. - In Document.writexml(), insert an xml declaration at the top. (This doesn't include the encoding since there's no way to specify the encoding. If that's preferred, all writexml() methods should be fixed to support an optional encoding argument that they pass to each other -- and they should use it to encode all text they write, too. Later.) | ||||
* | Don't get fooled by an empty prefix with a valid namespaceURI -- in | Guido van Rossum | 2001-02-05 | 1 | -2/+10 |
| | | | | | this case, the code used to generate invalid tags and attribute names with a leading colon, e.g. <:tag> or <tag :attr="foo">. | ||||
* | Patch #103587: Fix typo that broke the install_data command; caught by | Andrew M. Kuchling | 2001-02-05 | 1 | -1/+1 |
| | | | | Uche Ogbuji | ||||
* | Fixed UnboundLocalError for nested scopes | Jeremy Hylton | 2001-02-05 | 1 | -0/+1 |
| | |||||
* | Fix test 9 (caught by ?!ng) | Jeremy Hylton | 2001-02-05 | 2 | -1/+31 |
| | | | | Add tests for unbound locals (Nick Mathewson) | ||||
* | SF patch 103596 by Nick Mathewson: rause UnboundLocalError for | Jeremy Hylton | 2001-02-05 | 1 | -0/+16 |
| | | | | uninitialized free variables | ||||
* | Also recognize DragRef as a method-argument. | Jack Jansen | 2001-02-05 | 2 | -275/+221 |
| | |||||
* | Wrote section on nested scopes, and moved it to the front | Andrew M. Kuchling | 2001-02-05 | 1 | -153/+242 |
| | | | | | | | Began a section on weak references Various rewrites and paragraph refills Added: non-recursive makefiles, repr() of strings now uses \n, raw socket I/O Bumped version number | ||||
* | Fix binfmt_register documentation to always register the right magic. | Martin v. Löwis | 2001-02-04 | 1 | -1/+4 |
| | |||||
* | Improve diagnostic output when an external command returns a non-zero exit | Fred Drake | 2001-02-04 | 1 | -0/+19 |
| | | | | | | code, showing the transcript for that command. This closes SF bug #129740. | ||||
* | Another _testXXX -> _testcapiXXX renaming. | Tim Peters | 2001-02-04 | 1 | -1/+1 |
| | |||||
* | Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call! | Tim Peters | 2001-02-04 | 8 | -33/+50 |
| | |||||
* | Superseded by $(srcdir)/Makefile.pre.in. | Neil Schemenauer | 2001-02-03 | 10 | -1308/+0 |
| | |||||
* | Tweak clean targets yet again. | Neil Schemenauer | 2001-02-03 | 1 | -15/+12 |
| | |||||
* | Clarify the news item about "from M import X" if "M is not a real | Guido van Rossum | 2001-02-03 | 1 | -3/+3 |
| | | | | module" after a complaint from Tim. | ||||
* | Fix markup typo in a {verbatim} environment (there should not be any!); | Fred Drake | 2001-02-03 | 1 | -1/+1 |
| | | | | caught by Eric Raymond. | ||||
* | Document Node.isSameNode(). | Fred Drake | 2001-02-03 | 1 | -0/+7 |
| | |||||
* | Move the whrandom section back to the documented modules section; this | Fred Drake | 2001-02-03 | 1 | -1/+1 |
| | | | | gives people a chance to see the depracation notice. | ||||
* | Revise the deprecation note for the whrandom module to be correct and a | Fred Drake | 2001-02-03 | 1 | -2/+6 |
| | | | | little more formal. | ||||
* | Remove an now-false statement about there being only one type flag | Fred Drake | 2001-02-03 | 1 | -3/+1 |
| | | | | defined. | ||||
* | Accept Dialogs and Windows where Grafports are expected (such as in SetPort) ↵ | Jack Jansen | 2001-02-02 | 2 | -4/+16 |
| | | | | and do a MacOSX compatible cast. Bit of a hack, but good enough for now. | ||||
* | On MacOSX StackSpace() may lie because it doesn't know about the stack ↵ | Jack Jansen | 2001-02-02 | 1 | -2/+19 |
| | | | | rlimit. For now we set a hard limit of 256K (default rlimit is 512K). | ||||
* | This commit was manufactured by cvs2svn to create tag 'r21a2'.v2.1a2 | cvs2svn | 2001-02-02 | 1 | -0/+1 |
| | |||||
* | Teach Windows build and installer about new _symtable module/DLL. | Tim Peters | 2001-02-02 | 5 | -4/+130 |
| | |||||
* | Repair legit compiler warning. | Tim Peters | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | bump the magic number; the compiler has changed since 2.1a1 | Jeremy Hylton | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | bump to 2.1a2 | Jeremy Hylton | 2001-02-02 | 1 | -3/+3 |
| | |||||
* | the usual | Jeremy Hylton | 2001-02-02 | 1 | -2/+2 |
| | |||||
* | move "from Tkinter import *" to module level | Jeremy Hylton | 2001-02-02 | 2 | -2/+2 |
| | |||||
* | Fix spelling errors. | Jeremy Hylton | 2001-02-02 | 1 | -7/+12 |
| | | | | | | Add note about _symtable. Add note that 'from ... import *' restriction may go away -- and move the whole entry closer to the top, because it might bite people. | ||||
* | Fix symbol table pass to generation SyntaxError exceptions that | Jeremy Hylton | 2001-02-02 | 2 | -32/+47 |
| | | | | include the filename and line number. | ||||
* | fix a couple last-minute bugs in the raw socket support | Jeremy Hylton | 2001-02-02 | 1 | -24/+24 |
| | |||||
* | add compile.h and symtable.h to list of header files | Jeremy Hylton | 2001-02-02 | 1 | -0/+2 |
| | |||||
* | Added Node.isSameNode() support. | Fred Drake | 2001-02-02 | 1 | -0/+7 |
| | |||||
* | Ouch! I need a better test suite for this. ;-( | Fred Drake | 2001-02-02 | 1 | -1/+0 |
| | |||||
* | Steve Majewski's patch #103495, MatchFilename() and find_module() | Barry Warsaw | 2001-02-02 | 1 | -0/+53 |
| | | | | | patch for case-preserving HFS+ suport. Untested except to verify that it builds and doesn't break anything on Linux RH6.1. | ||||
* | Add minimal interface to symtable: _symtable module. | Jeremy Hylton | 2001-02-02 | 4 | -0/+82 |
| | |||||
* | Move a bunch of definitions that were internal to compile.c to | Jeremy Hylton | 2001-02-02 | 4 | -116/+210 |
| | | | | | | | | | | | | | | | | | | symtable.h, so that they can be used by external module. Improve error handling in symtable_enter_scope(), which return an error code that went unchecked by most callers. XXX The error handling in symtable code is sloppy in general. Modify symtable to record the line number that begins each scope. This can help to identify which code block is being referred to when multiple blocks are bound to the same name. Add st_scopes dict that is used to preserve scope info when PyNode_CompileSymtable() is called. Otherwise, this information is tossed as soon as it is no longer needed. Add Py_SymtableString() to pythonrun; analogous to Py_CompileString(). | ||||
* | Use a type flag to determine the applicability of the tp_weaklistoffset | Fred Drake | 2001-02-02 | 2 | -1/+10 |
| | | | | | field. This should avoid binary incompatibility problems with older modules that have not been recompiled. | ||||
* | Undo recent exclusion of test_fork1 and test_zlib. These tests don't | Jeremy Hylton | 2001-02-02 | 1 | -1/+1 |
| | | | | | | trigger my arbitrary exlusion rule, which is: takes more than 10 seconds of wall clock time on my machine. If these tests are going to be skipped, then a boatload of slower tests should be skipped, too. | ||||
* | Do not pass names of individual files to shutil.rmtree(); use os.unlink() | Fred Drake | 2001-02-02 | 1 | -2/+3 |
| | | | | for that. | ||||
* | WeakDictionary.items(): Do not allow (key,ref) pairs to leak out for | Fred Drake | 2001-02-02 | 1 | -3/+3 |
| | | | | dead references. | ||||
* | Whitespace correction... | Marc-André Lemburg | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | Added new Python C API _test module to the build mechanism on Unix. | Marc-André Lemburg | 2001-02-02 | 2 | -0/+3 |
| | |||||
* | Teach the Windows installer about the _test module. | Tim Peters | 2001-02-02 | 1 | -0/+10 |
| | |||||
* | Patch derived from Trent's 101162: a Python/C API testing framework. | Tim Peters | 2001-02-02 | 7 | -2/+210 |
| | | | | STILL NEEDS UNIX BUILD CHANGES. | ||||
* | Adjustments to the text of the UnixMailbox description. Added | Fred Drake | 2001-02-02 | 1 | -21/+31 |
| | | | | | PortableUnixMailbox as a separate class as well (this also generates the right index entry). | ||||
* | add info about Grant Edwards' raw packet support | Jeremy Hylton | 2001-02-02 | 2 | -0/+4 |
| | |||||
* | SF patch 101137 from Grant Edwards | Jeremy Hylton | 2001-02-02 | 1 | -3/+93 |
| | | | | | | | | Adds support for raw packets (AF_PACKET) under Linux. I haven't tested this code thoroughly; it compiles and the basic calls all work without crashing. Not sure what to actually do with raw sockets though. Not sure what other platforms this might be useful for. |