summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose).Guido van Rossum1997-10-311-0/+1
|
* New version from Sjoerd, small bugfix + optimizations.Guido van Rossum1997-10-301-24/+28
|
* Install Misc/Makefile.pre.in in the config/ install directory.Guido van Rossum1997-10-291-0/+1
| | | | Suggestion by Konrad Hinsen.
* Tests for tokenize.py (Ka-Ping Yee)Guido van Rossum1997-10-273-0/+775
|
* New, fixed version with proper r"..." and R"..." support from Ka-Ping.Guido van Rossum1997-10-271-7/+10
|
* Redone (by Ka-Ping) using the new re module, and adding recognitionGuido van Rossum1997-10-271-57/+55
| | | | for r"..." raw strings. (And R"..." string support added by Guido.)
* Small wording change about global and local trace functions.Guido van Rossum1997-10-272-4/+20
|
* This should hopefully finally clean up the remaining __del__ relatedGuido van Rossum1997-10-271-9/+11
| | | | | problems with this module, even if an instance of a derived class is kept alive longer than the urllib module itself...
* Bugfix in match() -- the number of registers shouldn't be divided by two!Guido van Rossum1997-10-271-1/+1
|
* Use __dict__.update(state) instead of for loop over state.items() andGuido van Rossum1997-10-261-11/+9
| | | | | | | call to setattr(). This changes semantics, following the change already implemented in pickle. Also reindented a few lines properly.
* Ooops, found too more references to old conditions on floating point values.Fred Drake1997-10-242-14/+2
|
* Removed obsolete discussion on _xdr helper module.Fred Drake1997-10-242-42/+2
|
* re -> regex conversions by Sjoerd.Guido van Rossum1997-10-243-95/+100
|
* New module -- converts regex regular expressions to re style.Guido van Rossum1997-10-231-0/+186
| | | | | | | There are two ways to use this -- as a filter (e.g. using C-U M-| on a regex string literal in an Emacs buffer) or from a Python program which imports this as a module. Read the doc string for more info, and also some caveats (some cases aren't handled right).
* Although it's hard to be sure, I *think* this is a working conversionGuido van Rossum1997-10-231-67/+67
| | | | | | from regex to re style regular expressions. This should make sgmllib and htmllib threadsafe, so I can now create a threaded version of webchecker...
* Remove redundant import regsub.Guido van Rossum1997-10-231-1/+0
|
* Daniel Larsson discovered another cut-n-paste bug in the Olimit story...Guido van Rossum1997-10-232-3/+3
|
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-2223-144/+134
|
* Add pcre to the list of safe modules.Guido van Rossum1997-10-221-1/+1
|
* Remove outdated comments.Guido van Rossum1997-10-221-7/+1
|
* Removed some unneeded imports, moved others around.Guido van Rossum1997-10-221-4/+2
|
* Removed unneeded imports of regex and regsub.Guido van Rossum1997-10-221-2/+0
|
* Use re instead of regex. Also remove bogus return statement from __init__().Guido van Rossum1997-10-221-6/+8
|
* Added pgrep() function, which is like grep/egrep/emgrep but uses PerlGuido van Rossum1997-10-222-0/+36
| | | | syntax, by virtue of the new re module.
* Deleted this long-obsolete moduleGuido van Rossum1997-10-221-32/+0
|
* Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS --Guido van Rossum1997-10-221-0/+6
| | | | hopefully the last maintenance on this module, ever.
* Put {} around \^ in sets to force latex2html to do the right thing...Guido van Rossum1997-10-222-6/+6
|
* New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() andGuido van Rossum1997-10-212-2/+66
| | | | PyCObject_GetDesc().
* Forgot to add .cxx and .cpp to the second case statement.Guido van Rossum1997-10-211-0/+2
| | | | Thanks to Daniel Larsson.
* Some patches to Lee Busby's fpectl mods that accidentally didn't make itGuido van Rossum1997-10-203-30/+40
| | | | into 1.5a4.
* Remove "." or "" from front of sys.path (this bit me once).Guido van Rossum1997-10-201-0/+3
|
* Catch KeyboardInterrupt separately and propagate it, instead ofGuido van Rossum1997-10-201-1/+4
| | | | | | reporting a "crash". Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
* Add optional 4th argument to count(), matching find() etc.Guido van Rossum1997-10-202-14/+28
| | | | | | Also change all occurrences of "x == None" to "x is None" (not that it matters much, these functions are all reimplemented in strop -- but count() is not).
* Patch by Charles G. Waldman to add optional user and passwordGuido van Rossum1997-10-201-1/+10
| | | | arguments to NNTP.__init__(), for nntp servers that need them.
* Write a str() function for class objects that returnsGuido van Rossum1997-10-201-2/+36
| | | | "modulename.classname" instead of returning the same as repr().
* Don't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it.Guido van Rossum1997-10-201-3/+10
|
* Add getintarg(), getlongarg(), getstrarg() to macros since these noGuido van Rossum1997-10-201-0/+3
| | | | longer exist in the general headers.
* Add proper (getattrfunc) cast in Pcre_Type.Guido van Rossum1997-10-201-1/+1
|
* Change sharedmodules to lib-dynload.Guido van Rossum1997-10-202-7/+7
| | | | ### If you still have sharedmodules in your Modules/Setup file, remove it! ###
* Remove .pyo files like .pyc files.Guido van Rossum1997-10-201-1/+1
|
* Rename sharedmodules to lib-dynload.Guido van Rossum1997-10-201-3/+3
| | | | Treat .pyo files like .pyc files.
* Switch around OPT assignments in Don Beaudry's patch for Olimit (hisGuido van Rossum1997-10-202-7/+7
| | | | | | code had the assignments switched around). Also rename sharedmodules to lib-dynload.
* AIX notes are simpler -- no need to enable sharedlibs with an edit.Guido van Rossum1997-10-201-2/+1
|
* count() now has a 4th parameter too. Also rephrased the docs for findGuido van Rossum1997-10-202-24/+18
| | | | to use the same, better words to explain start/end.
* Documented exc_info(); also updated exc_type and last_type docs.Guido van Rossum1997-10-202-36/+114
|
* Added separate tests for {}.get().Guido van Rossum1997-10-201-0/+3
|
* Correct Barry's fix -- take care of {}.get(0).Guido van Rossum1997-10-201-0/+3
|
* Added tests of dict.get()Barry Warsaw1997-10-201-0/+6
|
* dict_get(): Fixed a couple of stupid mistakes which caused crashes.Barry Warsaw1997-10-201-8/+2
| | | | Also got rid of some unnecessary code.
* Change Python-as-executable-script example to use "#! /usr/bin/env python"Fred Drake1997-10-152-10/+10
| | | | | | | | | since that's now the recommended way to do it. In pickling discussion, change "code{pickle}" (not missing leading "\") to "This" since the immediately preceeding sentence ended with the same text (with the proper "\"). Fixes a formatting bug and an odd glitch in the writing.