summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add various test cases from SF patch 543867.Walter Dörwald2003-07-151-1/+58
|
* [Patch #708374] Only apply the check for file size if the file is a regular ↵Andrew M. Kuchling2003-07-151-1/+2
| | | | file, not a character or block device.
* Make the prefix 7 spaces long, so the lines are properly aligned.Walter Dörwald2003-07-151-1/+1
|
* Remove proxy_print(), since that caused an inconsistency betweenFred Drake2003-07-141-10/+2
| | | | | "print repr(proxy(a))" and "proxy(a)" at an interactive prompt. Closes SF bug #722763.
* stylistic nits:Fred Drake2003-07-141-6/+8
| | | | | | - wrap some long lines - shorten others - fix indentation
* Markup consistency nits.Fred Drake2003-07-141-15/+17
|
* Added missing markup.Fred Drake2003-07-141-0/+2
|
* Fix unbalanced parenthesis in text.Raymond Hettinger2003-07-142-2/+2
|
* Fix missing parenthesisRaymond Hettinger2003-07-141-1/+1
|
* update norobots linkSkip Montanaro2003-07-141-1/+1
|
* Give dumbdbm a sync() method which Shelve can call. Should solve someSkip Montanaro2003-07-141-0/+2
| | | | database corruption problems with Spambayes.
* + libdumdbmSkip Montanaro2003-07-141-0/+1
|
* + libdumbdbmSkip Montanaro2003-07-141-0/+1
|
* minimal dumdbm module docSkip Montanaro2003-07-141-0/+57
|
* SF bug #738090: Section 13.3: htmllib.HTMLParser constructor definitionRaymond Hettinger2003-07-141-0/+3
| | | | | | amendment Add a clarifying cross-reference to the formatter module.
* SF patch #770521: make itertools type declarations staticRaymond Hettinger2003-07-141-24/+24
| | | | (Contributed by Andrew I MacIntyre.)
* SF bug #770601: CGIHTTPServer and environment variables (bug + solution)Raymond Hettinger2003-07-141-1/+1
| | | | | | | (contributed by Vincent Delft.) The script updated os.environ but failed to pass the whole environment to the child process (the CGI script).
* Make close() identical to __del__() for a dumbdbm database. MakeTim Peters2003-07-133-5/+15
| | | | | | | closing idempotent (it used to raise a nuisance exception on the 2nd close attempt). Bugfix candidate? Probably, but arguable.
* SF patch #765238: fix fnmatch.__all__Raymond Hettinger2003-07-131-1/+1
| | | | (Contributed by George Yoshida.)
* delete unused local variable (pychecker caught)Skip Montanaro2003-07-131-1/+1
|
* More pre-2.3 build tweaks for the OS/2 EMX port:Andrew MacIntyre2003-07-133-263/+473
| | | | | | | | | | | | | | - separate the building of the core from the wrapper executables and the external modules (.PYDs), based on the Py_BUILD_CORE define; - clean up the generated import library definiton (.DEF file) to remove references to a number of non-static symbols that aren't part of the Python API and which shouldn't be exported by the core DLL; - compile the release build with -fomit-frame-pointer, for a small performance gain; - make "make clean" remove byte compiled Python library files.
* Initialize thread_id to 0 in unthreaded build. Fixes #770247.Martin v. Löwis2003-07-131-0/+4
|
* SF bug #769142: CallTip trimming may loop forever.Raymond Hettinger2003-07-131-3/+1
| | | | Needs to be backported to both IDLE and IDLEFORK.
* Patch #770245: Pass LDFLAGS to pgen creation.Martin v. Löwis2003-07-131-1/+1
|
* Treat irix64 like irix. Fixes #764560. Will backport to 2.2.Martin v. Löwis2003-07-132-3072/+2237
|
* Reworked test_warnings.py:Raymond Hettinger2003-07-132-56/+81
| | | | | | | | | | | | | * It ran fine under "python regrtest.py test_warnings" but failed under "python regrtest.py" presumably because other tests would add to filtered warnings and not reset them at the end of the test. * Converted to a unittest format for better control. Renamed monkey() and unmonkey() to setUp() and tearDown(). * Increased coverage by testing all warnings in __builtin__. * Increased coverage by testing regex matching of specific messages.
* This test failed on WindowsME because the full file path did not getRaymond Hettinger2003-07-132-6/+6
| | | | | | reported consistently with the *nix world. 'Lib/test/test_warnings.py' came out as 'lib\test\test_warnings.py'. The basename is all we care about so I used that.
* Repaired typos in comments.Tim Peters2003-07-132-2/+2
|
* Fixed critical shutdown race in _Database._commit.Tim Peters2003-07-132-5/+27
| | | | | | | | Related to SF patch 723231 (which pointed out the problem, but didn't fix it, just shut up the warning msg -- which was pointing out a dead- serious bug!). Bugfix candidate.
* SF bug #706546: u''.translate not documentedRaymond Hettinger2003-07-131-1/+11
| | | | | Clarified the difference between translate methods for string objects and Unicode objects.
* More comments about why not closing a dumddbm properly can be a disaster.Tim Peters2003-07-131-3/+7
|
* SF 748201: time.strptime() should display format and date on errorRaymond Hettinger2003-07-131-1/+2
| | | | Usability fix. Makes the error message more helpful.
* SF bug #770107: Typo in documentation of resource moduleRaymond Hettinger2003-07-131-2/+2
|
* Update for new module and new builtin.Raymond Hettinger2003-07-121-0/+3
|
* _commit(): Modernization.Tim Peters2003-07-121-2/+2
|
* There's a persistent rumor on the spambayes mailing list that dumbdbmTim Peters2003-07-121-28/+69
| | | | | | | | | | | | | | | | | databases are associated with corruption problems, so I studied this code carefully and ran some brutal stress tests. I didn't find any bugs, although it's unclear whether this code *intends* that __setitem__ can leave the directory file out of synch with the data file (so if a dumbdbm isn't properly closed, and the value of an existing key was ever replaced, corruption is almost certain, where "corruption" means the directory file is out of synch with the data file). Added many comments and generally modernized the code. Examples of the latter: we have better ways of reading a whole file line-by-line now; eval() now tolerates a trailing newline; the %r format code can be used to avoid explicit repr/backtick calls; and the code often broke tuples into their components when it was clearer and faster to just leave them as tuples.
* Patch #764470: Fix marshalling of faults. Will backport to 2.2.Martin v. Löwis2003-07-121-1/+9
|
* Patch 549151, rev4: redirect posts for 301 also. Will backport to 2.2.Martin v. Löwis2003-07-123-14/+22
|
* Fix missing parenthesisRaymond Hettinger2003-07-121-1/+1
|
* SF patch #726751: Clarify docs for except target assignmentRaymond Hettinger2003-07-121-8/+20
| | | | | Brett found that the tutorial didn't really explain what was happening with exception targets. Hopefully, this sheds some light on the subject.
* Expose the 'master' instance mentioned in the docs.Raymond Hettinger2003-07-111-0/+1
|
* Document Jim Fulton's docttest extensions.Raymond Hettinger2003-07-111-8/+70
|
* Don't include slash in search string; it's OS-specific.Jeremy Hylton2003-07-111-1/+1
|
* The Unpickler forget about its find_class attribute.Jeremy Hylton2003-07-111-0/+3
|
* Minor fixups and added sections for iterators and generators.Raymond Hettinger2003-07-111-3/+117
|
* Add whitespace.Jeremy Hylton2003-07-111-3/+3
|
* Change warnings to avoid importing re module during startup.Jeremy Hylton2003-07-113-43/+91
| | | | | | | | | Add API function simplefilter() that does not create or install regular expressions to match message or module. Extend the filters data structure to store None as an alternative to re.compile(""). Move the _test() function to test_warnings and add some code to try and avoid disturbing the global state of the warnings module.
* - fix typoFred Drake2003-07-111-1/+1
| | | | | - there's a weird variable name here (zimpimport), but I'll leave that for someone that's familiar with the ZIP import support
* patch #766650 - whichdb not identifying dbm DBs when dbm linked with gdbmAndrew MacIntyre2003-07-111-2/+5
| | | | | | | | | | | | | At this point, the problem appears particular to the OS/2 EMX port of gdbm (which is at v1.7.3) - this combination produces a .pag file but no .dir file. A more sophisticated patch which checks magic numbers when dbm.library indicates that dbm is linked to gdbm, and there is no .dir file, is still attached to the above patch entry for reconsideration after 2.3 is released. This checkin applies a workaround specific to the known failure case.
* [ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSXJust van Rossum2003-07-111-1/+5
|