summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add returns_unicode to the __members__ list.Fred Drake2000-12-161-1/+2
| | | | Fix a small style consistency nit.
* Do not assume that types.UnicodeType exists; we might be running in an oldFred Drake2000-12-161-1/+5
| | | | version of Python. ;-(
* Use the string module instead of string methods; this should still workFred Drake2000-12-161-1/+3
| | | | with Python 1.5.2 for now.
* urlretrieve() description included explanation of "data" parameter, butFred Drake2000-12-151-4/+5
| | | | | | did not include it in the signature. Fixed some markup nits.
* Typo caught by /F -- thanks!Fred Drake2000-12-151-1/+1
|
* Add definitions for PySys_ResetWarnOptions() andGuido van Rossum2000-12-151-0/+39
| | | | PySys_AddWarnOption().
* Add declarations for PySys_ResetWarnOptions() andGuido van Rossum2000-12-151-0/+3
| | | | PySys_AddWarnOption().
* Add the -W option.Guido van Rossum2000-12-151-1/+8
|
* Python part of the warnings subsystem.Guido van Rossum2000-12-151-0/+227
|
* Add PyErr_Warn().Guido van Rossum2000-12-151-0/+34
|
* Add definitions for standard warning category classes (PyExc_WarningGuido van Rossum2000-12-151-0/+36
| | | | etc.).
* Add declarations for standard warning category classes (PyExc_WarningGuido van Rossum2000-12-151-0/+10
| | | | etc.) and the PyErr_Warn() function.
* Before calling traceback.print_exc(), call sys.stdout.flush(). This makesFred Drake2000-12-151-0/+1
| | | | it much easier to see where things went wrong.
* DOMException.__init__(): Remember to pass self to Exception.__init__().Fred Drake2000-12-151-1/+1
|
* Comment out a debugging print statement that triggered a complaint inGuido van Rossum2000-12-151-1/+1
| | | | c.l.py.
* Added documentation for random.shuffle().Fred Drake2000-12-151-0/+17
|
* Get rid of string functions.Guido van Rossum2000-12-151-15/+14
|
* Get rid of string functions. References to string.whitespace,Guido van Rossum2000-12-151-63/+57
| | | | string.digits are left.
* Get rid of string functions.Guido van Rossum2000-12-151-14/+12
| | | | | There should really be a little tool to help with this -- it's rather tedious and there are lots of special cases!
* Get rid of string functions, except maketrans() (which is *not*Guido van Rossum2000-12-151-42/+45
| | | | | | | | | obsolete!). Fix a bug in ftpwrapper.retrfile() where somehow ftplib.error_perm was assumed to be a string. (The fix applies str().) Also break some long lines and change the output from test() slightly.
* Add test case for error message raised by bad % format characterAndrew M. Kuchling2000-12-151-0/+25
| | | | (Oh, look, it adds another little utility function for testing)
* [ Patch #102852 ] Make % error a bit more informative by indicates theAndrew M. Kuchling2000-12-152-4/+6
| | | | index at which an unknown %-escape was found
* Grant Griffin <grant.griffin@honeywell.com>:Fred Drake2000-12-151-2/+3
| | | | Clarify that invert() is a *bitwise* operation.
* Fix typoAndrew M. Kuchling2000-12-151-1/+1
|
* Document napms()Andrew M. Kuchling2000-12-151-0/+5
| | | | Add reference to demo directory
* [Patch #102827] Fix for PR#119558, avoiding core dumps by checking forAndrew M. Kuchling2000-12-151-7/+16
| | | | malloc() returning NULL
* Wrapper for napms() function, contributed by Thomas Gellekum <tg@FreeBSD.org>Andrew M. Kuchling2000-12-151-1/+50
|
* Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.Andrew M. Kuchling2000-12-154-1/+541
| | | | ncurses.py requires panel support, and therefore doesn't work yet.
* Various tweaks. It now returns the exact same files as Matthias' tool 95% of ↵Jack Jansen2000-12-141-28/+55
| | | | the time.
* Oops, interaction() returned a single value in stead of a tuple (I thought ↵Jack Jansen2000-12-141-3/+2
| | | | that bug was loooong fixed??!?).
* First stab at a script that mimicks Matthias Neerachers tool used to build GUSI.Jack Jansen2000-12-141-0/+164
|
* Set autodispose only if RefCon isn't set yet on the window. This way we ↵Jack Jansen2000-12-142-6/+117
| | | | don't accidentally dispose of windows that are actually dialogs-in-disguise.
* Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd lineGuido van Rossum2000-12-141-3/+3
| | | | arg.
* For the title page, insert the package version number before the date.Fred Drake2000-12-141-3/+3
| | | | | This makes the title area more like the title are of the top-level index, and puts the information more people are interested in first.
* Update the test suite to cover more ground.Fred Drake2000-12-142-0/+9
| | | | This closes patch #102477.
* Lots of small bug fixes and DOM API conformance improvements:Fred Drake2000-12-141-49/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make Node inherit from xml.dom.Node to pick up the NodeType values defined by the W3C recommendation. When raising AttributeError, be sure to provide the name of the attribute that does not exist. Node.normalize(): Make sure we do not allow an empty text node to survive as the first child; update the sibling links properly. _getElementsByTagNameNSHelper(): Make recursive calls using the right number of parameters. Attr.__setattr__(): Be sure to update name and nodeName at the same time since they are synonyms for this node type. AttributeList: Renamed to NamedNodeMap (AttributeList maintained as an alias). Compute the length attribute dynamically to allow the underlying structures to mutate. AttributeList.item(): Call .keys() on the dictionary rather than using self.keys() for performance. AttributeList.setNamedItem(), .setNamedItemNS(): Added methods. Text.splitText(): Added method. DocumentType: Added implementation class. DOMImplementation: Added implementation class. Document.appendChild(): Do not allow a second document element to be added. Document.documentElement: Find this dynamically, so that one can be removed and another added. Document.unlink(): Clear the doctype attribute. _get_StringIO(): Only use the StringIO module; cStringIO does not support Unicode.
* Adjust PullDOM to use a DOMImplementation instance to create new DocumentFred Drake2000-12-141-26/+37
| | | | | | | | | objects; uses minidom if one is not provided to the constructor. parse(): Pick up the default_bufsize default value dynamically so that the value in the module may be (meaningfully) changed at runtime. This (partially) closes patch #102477.
* Test for NULL returned from PyObject_NEW().Guido van Rossum2000-12-141-0/+3
|
* Test for NULL returned from PyObject_NEW().Guido van Rossum2000-12-141-0/+3
|
* Update information on the locking() function, added the needed constants.Fred Drake2000-12-141-2/+26
| | | | (Thanks for the info, Tim!)
* Add long-overdue docstrings to dict methods.Tim Peters2000-12-131-11/+53
|
* Finish a sentence that was left half-written!Fred Drake2000-12-131-16/+20
|
* Use METH_VARARGS instead of "1" in list method table.Tim Peters2000-12-131-9/+9
|
* When raising KeyError, provide the key value that failed.Fred Drake2000-12-131-4/+4
|
* Changing allow_reuse_address's default value, and documenting it.Moshe Zadka2000-12-132-1/+6
|
* Untabify! (Barry, this is gonna cost you a bottle of wine! ;)Fred Drake2000-12-131-105/+105
|
* Typo repair in comments. Fell for GregS's .popitem() poke.Tim Peters2000-12-131-2/+6
|
* Added "stub" documentation for xml.dom.pulldom for Paul to fill out withFred Drake2000-12-133-0/+63
| | | | useful explanations.
* Get rid of string module and string exceptions.Guido van Rossum2000-12-131-7/+10
|
* Added descriptions of the defined exceptions and their mapping to theFred Drake2000-12-131-0/+129
| | | | DOM recommendation.