summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Oops; don't know if this was my typo or not: There was a "p" on a line thatFred Drake1997-10-062-2/+2
| | | | should have been blank.
* Updated the section "Parsing Python".Fred Drake1997-10-062-24/+2
|
* Added keyword module entry.Fred Drake1997-10-062-0/+2
|
* Minor nits (Lib/token.py is a file, token is a module...).Fred Drake1997-10-062-4/+104
| | | | Added docs for symbol and token modules at the end.
* Documentation for the keyword module.Fred Drake1997-10-062-0/+18
|
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+4
| | | | front of temporary names in the module namespace.
* Move the pprint docs after the code docs, so that all parser/codegen typeFred Drake1997-10-062-2/+2
| | | | things come together.
* Fix comment to add the all-important trailing colon to the example.Guido van Rossum1997-10-061-9/+16
| | | | Print the author with the revision date and filename.
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+3
| | | | front of temporary names in the module namespace.
* Done with adding changes from 1.4 till 1.5a3.Guido van Rossum1997-10-061-76/+321
|
* Don't do weird things with the "import parser"; just do it. Sheesh...Fred Drake1997-10-061-11/+11
|
* The usual (and some new modules).Guido van Rossum1997-10-0617-285/+1011
|
* A variant on webchecker that creates a mirror copy of a remote site.Guido van Rossum1997-10-061-0/+131
|
* Several changes:Guido van Rossum1997-10-061-6/+24
| | | | | | | | | | - Change the code that looks for robots.txt to always look in /, even if the "root" path is somewhere deep down below. - Add link processing in <AREA> tags. - Change safeclose() to avoid crashing when the file has no geturl() method.
* Document the mapping object's new get() method.Barry Warsaw1997-10-062-0/+10
|
* UserDict.get(): New method to mirror built-in dictionaries' get()Barry Warsaw1997-10-061-0/+5
| | | | method.
* dict_get(): New method for item access with different semantics thanBarry Warsaw1997-10-061-0/+38
| | | | | | | | | __getitem__(). This method never raises an exception; if the key is not in the dictionary, the second (optional) argument is returned. If the second argument is not provided and the key is missing, None is returned. mapp_methods: added "get" method.
* Move the __getitem__() definition from StandardException to Exception.Fred Drake1997-10-061-1/+3
| | | | | | | | | This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ...
* New "re" regular expression support.Guido van Rossum1997-10-062-1145/+1575
| | | | | | The new re module was written by Andrew Kuchling and uses the pcre code in ../Modules/. The old re module has been renamed to re1, just in case you need it for comparison.
* New "re" regular expression support.Guido van Rossum1997-10-064-0/+5135
| | | | | This code is written by Philip Hazel and Andrew Kuchling. It requires a new "re.py" module, too.
* Add the four latex2html output directories: api, ext, lib, tut.Fred Drake1997-10-061-0/+4
|
* Done with tread state descriptions. Sigh!Guido van Rossum1997-10-062-100/+618
|
* Oops -- needed to fix another place affected by the change back toGuido van Rossum1997-10-061-7/+8
| | | | | $(MACHDEP) being just the platform name, without "plat-" prefix... (To be precise, the libainstall target was totally broken.)
* Added strerror()Guido van Rossum1997-10-052-0/+8
|
* Removed emacs.pyGuido van Rossum1997-10-052-4/+0
|
* Fixed some stuff that was incorrectly copied from regex.Guido van Rossum1997-10-052-20/+22
|
* Documented __import__, callable, isinstance, issubclass,Guido van Rossum1997-10-052-10/+166
| | | | and slice.
* Documented new exceptions and exception classes.Guido van Rossum1997-10-052-40/+234
|
* Add -N0 to dvips flags to generate page structure comments.Guido van Rossum1997-10-051-1/+1
|
* Checkpoint. Added docs for the new exception handling APIs and forGuido van Rossum1997-10-052-70/+506
| | | | the interfaces defined in import.h.
* The directory containing config.h has changed.Guido van Rossum1997-10-051-1/+2
|
* Turns out whatsound.py and sndhdr.py were identical modules.Guido van Rossum1997-10-042-540/+2
| | | | | | Since there's also an imghdr.py file, I propose to make sndhdr.py the official one. For compatibility, whatsound.py imports * from sndhdr.py.
* install: New target that installs shared modules inFred Drake1997-10-041-0/+17
| | | | $exec_prefix/lib/python$VERSION/site-packages by default.
* Install install-sh with the other config files.Guido van Rossum1997-10-041-0/+1
| | | | Could be useful for an install target in Misc/Makefile.pre.in.
* New version of PyErr_NewException() that is compatible with -X option.Guido van Rossum1997-10-031-14/+35
|
* Initialize Py_UseClassExceptionsFlag to 1.Guido van Rossum1997-10-031-1/+1
|
* Remove unreachable "return 1" at end of ensure_fromlist().Guido van Rossum1997-10-031-1/+1
|
* Fix small omission: with all the new code, sys.exit(None) would printGuido van Rossum1997-10-031-0/+2
| | | | "None"; this should be equivalent to sys.exit(0).
* Argh; do the same for the "Release" version of the config.Fred Drake1997-10-021-1/+1
|
* Fix up include directories for compiling the resources.Fred Drake1997-10-021-1/+1
|
* Fix path search for test data file so it works under more circumstances.Guido van Rossum1997-10-011-1/+6
|
* Oops, forgot one.Guido van Rossum1997-10-011-1/+1
|
* There was actually a test that ensured that raising an exception AGuido van Rossum1997-10-011-3/+2
| | | | | | | with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
* Fixed test for socket.error to work when it's a class exception.Guido van Rossum1997-10-011-1/+2
|
* Apply two changes, systematically:Guido van Rossum1997-10-0127-166/+78
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Fix PYTHONPATH for new names; rename tkinter to lib-tk, rename win toGuido van Rossum1997-09-301-1/+1
| | | | plat-win, get rid of test (which is now a package).
* Change PyEval_SaveThread() and PyEval_RestoreThread() to always do theGuido van Rossum1997-09-301-12/+9
| | | | | | tstate swapping. Only the acquiring and releasing of the lock is conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if (interpreter_lock)'').
* Fix a bug in this code that made it do the wrong thing when an optionGuido van Rossum1997-09-301-1/+4
| | | | was a single '-'. Thanks to Andrew Kuchling.
* Fixed up formatting.Fred Drake1997-09-302-114/+184
|
* Fixed up formatting, added descriptions for previously undocumented functions.Fred Drake1997-09-302-74/+138
|