summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed too ambitious "nothing to repeat" check. Closes bug #114033.Fredrik Lundh2000-10-074-3/+6
|
* The test is good, but Jim forgot to check in the updated output.Fred Drake2000-10-071-0/+6
|
* Put arguments to test -z in double quotes. Fixes Bug #116325.Guido van Rossum2000-10-072-7/+7
|
* Hush the nanny.Fred Drake2000-10-073-78/+78
|
* Fix a couple of places where the descriptions of *_GET_SIZE() macros saidFred Drake2000-10-071-2/+2
| | | | | | they were similar to *_GetSize(); should be similar to *_Size(). Error noted by William Park <parkw@better.net>.
* Donn Cave <donn@oz.net>:Fred Drake2000-10-074-0/+994
| | | | Generated files for BeOS R5.
* Record bugs found when comparing the module with DOM Core Level 2.Martin v. Löwis2000-10-071-1/+4
|
* Prevent possible buffer overflow exploits under Windows. As per (the very ↵Mark Hammond2000-10-071-9/+30
| | | | quick) patch Patch #101801.
* SRE didn't handle character category followed by hyphen inside aFredrik Lundh2000-10-072-0/+4
| | | | | character class. Fix provided by Andrew Kuchling. Closes bug #116251.
* [ Bug #116174 ] using %% in cstrings sometimes fails with unicode paramsFix ↵Marc-André Lemburg2000-10-071-11/+17
| | | | | | | for the bug reported in Bug #116174: "%% %s" % u"abc" failed due to the way string formatting delegated work to the Unicode formatting function.
* Updated test with a case which checks for the bug reported inMarc-André Lemburg2000-10-071-0/+1
|
* Possible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py).Tim Peters2000-10-071-12/+20
| | | | | | | | | | | tokenize.py has always used naive regexps for matching string literals, and that appears to trigger the sre recursion limit on Skip's platform (he has very long single-line string literals). Replaced all of tokenize.py's string regexps with the "unrolled" forms used in IDLE, where they're known to handle even absurd (multi-megabyte!) string literals without trouble. See Friedl's book for explanation (at heart, the naive regexps create a backtracking choice point for each character in the literal, while the unrolled forms create none).
* Prep Windows installer for 2.0c1: title and build number.Tim Peters2000-10-073-4/+6
|
* Fix for next iteration of SF bug 115690 (Unicode headaches in IDLE). TheTim Peters2000-10-061-0/+13
| | | | | | parsing functions in support of auto-indent weren't expecting Unicode strings, but text.get() can now return them (although it remains muddy as to exactly when or why that can happen). Fixed that with a Big Hammer.
* Add .toxml test case, as proposed by Alex Martelli in bug report #116244.Martin v. Löwis2000-10-062-1/+7
|
* minidom: access attribute value before printing itMartin v. Löwis2000-10-062-12/+14
| | | | | | correct order of constructor args in createAttributeNS pulldom: use symbolic names for uri and localnames correct usage of createAttribute and setAttributeNode signatures.
* Add a test case for reporting the file name, and for reporting an errorMartin v. Löwis2000-10-062-3/+36
| | | | for incomplete input.
* In an incremental parser, close the parser after feeding everything.Martin v. Löwis2000-10-061-0/+1
|
* Don't use a file object as system id; try to propagate the file name toMartin v. Löwis2000-10-061-1/+3
| | | | the InputSource.
* Don't report a final chunk for an external entity parser.Martin v. Löwis2000-10-061-1/+0
|
* Move translation from expat.error to SAXParseException into feed, so thatMartin v. Löwis2000-10-061-17/+19
| | | | | | | | | | callers of feed will get a SAXException. In close, feed the last chunk first before calling endDocument, so that the parser may report errors before the end of the document. Don't do anything in a nested parser. Don't call endDocument in parse; that will be called in close. Use self._source for finding the SystemID; XML_GetBase will be cleared in case of an error.
* Include more information from the docstrings.Fred Drake2000-10-061-7/+49
|
* Another name.Fred Drake2000-10-061-0/+1
|
* Donn Cave <donn@oz.net>:Fred Drake2000-10-061-0/+2
| | | | | | | Fix large file support for BeOS. This closes SourceForge patch #101773. Refer to the patch discussion for information on possible alternate fixes.
* Fix a couple of typos in docstrings.Fred Drake2000-10-061-2/+2
|
* Fix really bad typo, noted by Neil Schemenauer <nas@arctrix.com>.Fred Drake2000-10-061-1/+1
|
* Add notes on the requirements for subclasses.Fred Drake2000-10-061-0/+19
| | | | This closes SourceForge bug #115928.
* Revise the versioning information to say that this was revised in 1.6,Fred Drake2000-10-061-1/+3
| | | | not added then, and note what the change was (ncurses, change to a package).
* Made a number of revisions suggested by Fredrik Lundh.Fred Drake2000-10-061-12/+33
| | | | | Revised the first paragraph so it doesn't sound like it was written when 7-bit strings were assumed; note that Unicode strings can be used.
* test_linuxaudio:Jeremy Hylton2000-10-063-90/+194
| | | | | | | | | | | | | | | | | | | | | | read the header from the .au file and do a sanity check pass only the data to the audio device call flush() so that program does not exit until playback is complete call all the other methods to verify that they work minimally call setparameters with a bunch of bugs arguments linuxaudiodev.c: use explicit O_WRONLY and O_RDONLY instead of 1 and 0 add a string name to each of the entries in audio_types[] add AFMT_A_LAW to the list of known formats add x_mode attribute to lad object, stores imode from open call test ioctl return value as == -1, not < 0 in read() method, resize string before return add getptr() method, that calls does ioctl on GETIPTR or GETOPTR depending on x_mode in setparameters() method, do better error checking and raise ValueErrors; also use ioctl calls recommended by Open Sound System Programmer's Guido (www.opensound.com) use PyModule_AddXXX to define names in module
* It turns out that Guido does not like or encourage the use of the termFred Drake2000-10-062-3/+3
| | | | | "disciplines" for the __*__() methods, so they should be referred to as "methods" or "special methods", as appropriate in context.
* __getslice__(): Make this use the constructor form that gets a sequenceFred Drake2000-10-061-3/+1
| | | | | | | | | | as a parameter; this was the only use of the base constructor or surgical alteration of another object's data attribute. This change simplifies the constructor requirements for subclasses. This relates to SourceForge bug #115928.
* Added a new "base" type, IOobject for which most of theJim Fulton2000-10-061-285/+355
| | | | | | | | | | | | | | | operations are defined. This will, hopefully clarify some of the logic. Added close test to raise proper error when operations are performed on closed StringIOs. Added a position argument to the truncate method. Added a size argument to readline. Added PyArg_Parse calls for methods that don't take arguments to make sure they don't take arguments.
* Uncommented tests that failed for cStringIO,Jim Fulton2000-10-061-17/+11
| | | | Added missing clode to make the clode test test a close. ;)
* Adding Jeremy's new test_import (SF patch 101709).Tim Peters2000-10-062-0/+45
|
* Add SAXReaderNotAvailable, and use it to distinguish between anMartin v. Löwis2000-10-065-5/+44
| | | | ImportError, and a missing driver.
* Removing these scripts. redemo.py lives on in Tools/scripts/.Guido van Rossum2000-10-062-298/+0
| | | | regexdemo.py is obsolete with the regex module.
* I'm moving redemo.py here from Demo/tkinter/guido, since it isGuido van Rossum2000-10-061-0/+171
| | | | | | | somewhat useful to learn regular expressions, and this way it'll be installed on Windows. This closes bug report 115609.
* [ Bug #113803 ] [2.0b1 NT4.0] printing non asci char causes idle to abortGuido van Rossum2000-10-061-44/+86
| | | | | | | | | | | | | | | http://sourceforge.net/bugs/?func=detailbug&bug_id=113803&group_id=5470 Add Unicode support and error handling to AsString(). Both AsString() and Merge() now return NULL and set a proper Python exception condition when an error happens; Merge() and other callers of AsString() check for errors from AsString(). Also fixed cleanup in Merge() and Tkapp_Call() return cleanup code; the fv array was not necessarily completely initialized, causing calls to ckfree() with garbage arguments! (Also reindented some lines that were longer than 80 chars and reformatted some code that used an alien coding standard.)
* Use the cvsinfo module instead of a module stuff off in my personalFred Drake2000-10-061-3/+2
| | | | collection.
* Support module to help work with checked-out CVS trees.Fred Drake2000-10-061-0/+81
|
* Donn Cave <donn@oz.net>:Fred Drake2000-10-061-56/+27
| | | | | | New README for BeOS R5. This closes SourceForge patch #101779.
* Donn Cave <donn@u.washington.edu>:Fred Drake2000-10-061-0/+10
| | | | | | | | Script to regenerate platform-specific modules of constants. [I moved common paths to variables for easier reading by humans. -- FLD] This closes SourceForge patch #101781.
* Donn Cave <donn@u.washington.edu>:Fred Drake2000-10-061-0/+1
| | | | Added definition of VERSION so this works as expected.
* Donn Cave <donn@u.washington.edu>:Fred Drake2000-10-061-1/+1
| | | | | | | | Do not assume that all platforms using a MetroWorks compiler can use POSIX threads; the assumption breaks on BeOS. This fix only helps for BeOS. This closes SourceForge patch #101772.
* Norman Vine <nhv@users.sourceforge.net>:Fred Drake2000-10-061-1/+1
| | | | | | tcp.h is not available on CygWin, so do not try to include it there. This closes SourceForge patch #101802.
* is_zipfile() description: Use the same name for the parameter as theFred Drake2000-10-061-3/+3
| | | | | | | code, in case someone wants to use it as a keyword paramter. ZIP_DEFLATED description: Do not reveal the specific value of the constant, since code should only use the symbolic name.
* Added a name.Fred Drake2000-10-061-0/+1
|
* Added section on threads problems on Reliant UNIX; this relates toFred Drake2000-10-061-7/+12
| | | | | | | bug #113797. We should be able to resolve this for the next release. Reflowed the comments on Monterey (64-bit AIX) to match the flow of the other platform-specific sections.
* [ Bug #110677 ] PRIVATE: various minor Tkinter things (PR#388)Guido van Rossum2000-10-061-12/+15
| | | | | | | | | | | | | | http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110677 Canvas.CanvasItem & Canvas.Group: - bind lacks an optional "add" param - unbind lacks an optional "funcid" param - tkraise/lower should call self.canvas.tag_XXXX (markus.oberhumer@jk.uni-linz.ac.at) Note: I'm *not* fixing "bbox() return value is inconsistent with Canvas.bbox()" -- it might break existing code.