Commit Graph

6516 Commits

Author SHA1 Message Date
Guido van Rossum a8832b45e7 Removed unneeded imports of regex and regsub. 1997-10-22 20:50:37 +00:00
Guido van Rossum acfb82a530 Use re instead of regex. Also remove bogus return statement from __init__(). 1997-10-22 20:49:52 +00:00
Guido van Rossum 8566e474b4 Added pgrep() function, which is like grep/egrep/emgrep but uses Perl
syntax, by virtue of the new re module.
1997-10-22 20:44:58 +00:00
Guido van Rossum b49144244c Deleted this long-obsolete module 1997-10-22 16:29:53 +00:00
Guido van Rossum 24986204cf Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS --
hopefully the last maintenance on this module, ever.
1997-10-22 16:28:53 +00:00
Guido van Rossum d7dc2eb708 Put {} around \^ in sets to force latex2html to do the right thing... 1997-10-22 03:03:44 +00:00
Guido van Rossum 1f84449fd8 New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() and
PyCObject_GetDesc().
1997-10-21 19:48:35 +00:00
Guido van Rossum 16cb6f4612 Forgot to add .cxx and .cpp to the second case statement.
Thanks to Daniel Larsson.
1997-10-21 19:30:29 +00:00
Guido van Rossum e85da651dd Some patches to Lee Busby's fpectl mods that accidentally didn't make it
into 1.5a4.
1997-10-20 23:50:01 +00:00
Guido van Rossum 9476a78c1e Remove "." or "" from front of sys.path (this bit me once). 1997-10-20 23:48:01 +00:00
Guido van Rossum 4e8ef5fcd3 Catch KeyboardInterrupt separately and propagate it, instead of
reporting a "crash".

Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
1997-10-20 23:46:54 +00:00
Guido van Rossum 1510565cb5 Add optional 4th argument to count(), matching find() etc.
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).
1997-10-20 23:31:15 +00:00
Guido van Rossum dd65975ac7 Patch by Charles G. Waldman to add optional user and password
arguments to NNTP.__init__(), for nntp servers that need them.
1997-10-20 23:29:44 +00:00
Guido van Rossum 4a2a621907 Write a str() function for class objects that returns
"modulename.classname" instead of returning the same as repr().
1997-10-20 23:26:11 +00:00
Guido van Rossum ed1100f3b6 Don't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it. 1997-10-20 23:24:07 +00:00
Guido van Rossum f6a84db034 Add getintarg(), getlongarg(), getstrarg() to macros since these no
longer exist in the general headers.
1997-10-20 23:22:07 +00:00
Guido van Rossum cb4d3032ae Add proper (getattrfunc) cast in Pcre_Type. 1997-10-20 23:21:23 +00:00
Guido van Rossum 266033e89b Change sharedmodules to lib-dynload.
### If you still have sharedmodules in your Modules/Setup file, remove it! ###
1997-10-20 23:20:32 +00:00
Guido van Rossum 7eecc246a7 Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
Guido van Rossum cf809d6e48 Rename sharedmodules to lib-dynload.
Treat .pyo files like .pyc files.
1997-10-20 23:16:32 +00:00
Guido van Rossum 304dd2defb Switch around OPT assignments in Don Beaudry's patch for Olimit (his
code had the assignments switched around).

Also rename sharedmodules to lib-dynload.
1997-10-20 23:10:56 +00:00
Guido van Rossum cbfcb17e96 AIX notes are simpler -- no need to enable sharedlibs with an edit. 1997-10-20 22:57:00 +00:00
Guido van Rossum 828a0bdb1d count() now has a 4th parameter too. Also rephrased the docs for find
to use the same, better words to explain start/end.
1997-10-20 22:40:26 +00:00
Guido van Rossum 871cf161f1 Documented exc_info(); also updated exc_type and last_type docs. 1997-10-20 22:38:43 +00:00
Guido van Rossum fb5cef1160 Added separate tests for {}.get(). 1997-10-20 20:10:43 +00:00
Guido van Rossum 6fcfa72c63 Correct Barry's fix -- take care of {}.get(0). 1997-10-20 20:10:00 +00:00
Barry Warsaw 9b887c7911 Added tests of dict.get() 1997-10-20 17:34:43 +00:00
Barry Warsaw 320ac331d1 dict_get(): Fixed a couple of stupid mistakes which caused crashes.
Also got rid of some unnecessary code.
1997-10-20 17:26:25 +00:00
Fred Drake 9e63faaa66 Change Python-as-executable-script example to use "#! /usr/bin/env python"
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.
1997-10-15 14:37:24 +00:00
Fred Drake 654451dc54 splitpasswd(): The parameter is named "user", not "host". 1997-10-14 13:30:57 +00:00
Fred Drake 2950b2d881 Restore the \seealso formatting that got lost when I updated the math
module documentation.
1997-10-13 22:06:17 +00:00
Fred Drake 9dcc5a94c5 Add support for ctypedesc, cvardesc, seealso, seemodule, seetext.
This seems to take care of everything but tables and equations.
1997-10-13 22:04:17 +00:00
Fred Drake 7cd60442b4 Remove macpath entry -- it is already documented. 1997-10-13 22:02:09 +00:00
Fred Drake 5451d67dd9 socket_type ==> SocketType 1997-10-13 21:31:02 +00:00
Fred Drake 120ac20c40 Remove superfluous comman from between "not" and "in" when describing the
"not in" operator.
1997-10-13 20:48:17 +00:00
Fred Drake 36fbe76a45 struct _frozen:
Use spaces instead of tabs to indent structure definition; tabs don't
	work in tex/latex.

PyImport_FrozenModules:
	struct _freeze ==> struct _frozen
1997-10-13 18:18:33 +00:00
Guido van Rossum 3b31cd2fe7 Shared libraries didn't quite work under AIX because of the change in
status of the GNU readline interface.  Here's a patch, by Vladimir
Marangozov.
1997-10-10 17:40:00 +00:00
Guido van Rossum a59406abdf Darn. When thread support is disabled, the BEGIN/END macros don't
save and restore the tstate, but explicitly calling
PyEval_SaveThread() does reset it!  While I think about how to fix
this for real, here's a fix that avoids getting a fatal error.
1997-10-10 17:39:19 +00:00
Jack Jansen 04d5c5827a Updated (but still not up to date) 1997-10-10 15:50:37 +00:00
Jack Jansen 666ff8c299 Build balloon help for EditPythonPrefs 1997-10-10 15:50:00 +00:00
Jack Jansen bb748622f6 Fixup sys.path to be able to find macostools 1997-10-10 15:49:36 +00:00
Jack Jansen 188db7f343 1.5a4 relnotes 1997-10-10 15:48:57 +00:00
Jack Jansen ef90af0711 Projects used for 1.5a4 1997-10-10 15:48:01 +00:00
cvs2svn 399502c0ba This commit was manufactured by cvs2svn to create tag 'r15a4'. 1997-10-09 23:32:24 +00:00
Guido van Rossum 9a513efffa Final touch -- Don's SGI_ABI patches. 1997-10-09 23:32:24 +00:00
Guido van Rossum 91922677ea Don Beaudry's changes to support SGI_ABI on Irix 6.x. 1997-10-09 20:24:13 +00:00
Fred Drake d49266eeed Remove requirement for strdup() since it causes so many troubles for too many
platforms.  Argh!
1997-10-09 16:29:31 +00:00
Guido van Rossum 764a377cef Typo in description of news in errno; added setlocale() call. 1997-10-08 22:49:49 +00:00
Guido van Rossum 44c36bb114 Add call to setlocale(LC_ALL, ""). 1997-10-08 22:49:17 +00:00
Guido van Rossum 9601315140 Add checks for setlocale() and <locale.h> 1997-10-08 22:47:52 +00:00