summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-07-071-1/+1
| | | | Allow -f* parameters to be passed to the compiler from Setup files.
* Some cleanup of longs in prepartion for Cray J90 fixes: gotTim Peters2000-07-073-256/+120
| | | | | rid of Py_PROTO, switched to ANSI function decls, and did some minor fiddling.
* Added new APIs and fixed some other Unicode ones (missing * orMarc-André Lemburg2000-07-071-56/+78
| | | | extra ' ').
* Added docs for the new Unicode and string APIs.Marc-André Lemburg2000-07-071-7/+52
|
* Removed a prototype which is not used in socketmodule.cMarc-André Lemburg2000-07-071-1/+0
| | | | Patch by T. Wouters.
* Fixed unicode() to use the new API PyUnicode_FromEncodedObject().Marc-André Lemburg2000-07-071-14/+1
| | | | | | | This adds support for instance to the constructor (instances have to define __str__ and can return Unicode objects via that hook; string return values are decoded into Unicode using the current default encoding).
* Added new API PyUnicode_FromEncodedObject() which supports decodingMarc-André Lemburg2000-07-072-6/+67
| | | | | | objects including instance objects. The old API PyUnicode_FromObject() is still available as shortcut.
* Tests for new instance support in unicode().Marc-André Lemburg2000-07-071-0/+15
|
* So many things have changed over the last few weeks that it's probably a ↵Jack Jansen2000-07-0730-10/+24
| | | | good idea to check the project files in again.
* Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵Jack Jansen2000-07-0723-86/+86
| | | | specifier, now that h is signed-only.
* Added the unchash module.Jack Jansen2000-07-073-2/+3
|
* Fix to bug #393 (UTF16 codec didn't like empty strings) andMarc-André Lemburg2000-07-071-7/+6
| | | | | corrected some usage of 'unsigned long' where Py_UNICODE should have been used.
* Defunct the _XOPEN_SOURCE define for now. Suggested by FredrikMarc-André Lemburg2000-07-071-3/+8
| | | | Lundh as response to bug reports on True64 and IRIX.
* Two more places where long should be used instead of int. EspeciallySjoerd Mullender2000-07-071-2/+2
| | | | true after revision 2.36 was checked in...
* Bill Tutt: Added Py_UCS4 typedef to hold UCS4 values (these needMarc-André Lemburg2000-07-071-0/+11
| | | | | at least 32 bits as opposed to Py_UNICODE which rely on having 16 bits).
* New module webbrowser. Easy-to-use controller objects to make using aFred Drake2000-07-073-0/+97
| | | | Web browser as a help/information browser easy across platforms.
* Fixed some code that used 'short' to use 'long' instead.Marc-André Lemburg2000-07-061-3/+3
|
* Fixed a couple of places where 'int' was used where 'long'Marc-André Lemburg2000-07-061-7/+7
| | | | should have been used.
* Fix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>:Fred Drake2000-07-061-2/+4
| | | | | | | | | | | | In posixmodule.c:posix_fork, the function PyOS_AfterFork is called for both the parent and the child, despite the docs stating that it should be called in the new (child) process. This causes problems in the parent since the forking thread becomes the main thread according to the signal module. Calling PyOS_AfterFork() only in the child fixes this. Changed for both fork() and forkpty().
* Python 2.0 is not supposed to use string exceptions in the standard libraryFred Drake2000-07-063-3/+3
| | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API.
* added read_history_file and write_history_fileSkip Montanaro2000-07-061-0/+50
| | | | XXX should perhaps support history truncation as well
* Clean up markup to be more like recommended practice; only small changesFred Drake2000-07-061-6/+8
| | | | needed.
* Removed unused variables.Andrew M. Kuchling2000-07-061-3/+4
| | | | Added two functions that were left out of the method definition table.
* Correct a markup nit that caused a space to be dropped from the HTMLFred Drake2000-07-061-2/+2
| | | | | | version (actually a LaTeX2HTML bug), and clarified a sentence in the mktime() description based entirely on comments from Grant Griffin <grant.griffin@honeywell.com>.
* don't prepend "$(srcdir)/" to paths beginning with "$" since they are likelySkip Montanaro2000-07-061-0/+1
| | | | to be absolute.
* Minor changes. Explain that for class exceptions, use excdesc but do notFred Drake2000-07-061-4/+5
| | | | | document the constructor parameters. Need a better way, but this will do for now.
* Make a distinction between shorts and unsigned shorts.Jack Jansen2000-07-062-1/+2
|
* Conditionally (currently on ifdef macintosh) break the large switch upJack Jansen2000-07-061-0/+15
| | | | into 1000-case smaller ones.
* modified template to demonstrate subsection for examples.Skip Montanaro2000-07-061-1/+5
|
* Added support for H (unsigned short) specifier in PyArg_ParseTuple andJack Jansen2000-07-062-1/+30
| | | | Py_BuildValue.
* Added new codec APIs and a new interface method .encode() whichMarc-André Lemburg2000-07-061-0/+114
| | | | | | | | | works just like the Unicode one. The C APIs match the ones in the Unicode implementation, but were extended to be able to reuse the existing Unicode codecs for string purposes too. Conversions from string to Unicode and back are done using the default encoding.
* Added prototypes for the new codec APIs for strings. These APIsMarc-André Lemburg2000-07-061-0/+31
| | | | | | | | | match the ones in the Unicode implementation, but were extended to be able to reuse the existing Unicode codecs for string purposes too. Conversion from string to Unicode and back are done using the default encoding.
* Change whitespace in two places to silence tabnanny.Guido van Rossum2000-07-061-4/+4
| | | | Also fix spelling tupel -> tuple.
* Added some further description to the usage of the seealso environment.Fred Drake2000-07-061-1/+30
| | | | Documented the \seerfc and \seeurl macros used in that environment as well.
* Several small changes, mostly to the markup, to improve consistency andFred Drake2000-07-063-37/+46
| | | | | | internal hyperlinking. Move some things around, also for consistency with other modules ("See also" stuff tends to live at the \section level, before sub-sections, etc.).
* Add entry for readline documentation.Fred Drake2000-07-062-0/+2
|
* Sjoerd Mullender <sjoerd@oratrix.nl>:Fred Drake2000-07-061-2/+4
| | | | Updates for recent changes in xmllib.
* Correct typo in description of the machine name parameter to theFred Drake2000-07-061-17/+16
| | | | ConnectRegistry() function; there is no trailing period!
* added seealso pointing reader at readline example which uses atexit.Skip Montanaro2000-07-061-0/+4
|
* simple-minded readline section doc based upon module's doc strings.Skip Montanaro2000-07-061-0/+90
|
* fixed indentation in several placesSkip Montanaro2000-07-061-19/+19
|
* fix indentation in one docstringSkip Montanaro2000-07-061-1/+1
|
* fix indentation in three docstringsSkip Montanaro2000-07-061-3/+3
|
* Typo: "This table table" -> "This table is"Fred Drake2000-07-061-1/+1
| | | | Noted by Nicholas Spies <ns11@voicenet.com>.
* added warning about incompatibility with other codes' use of sys.exitfunc.Skip Montanaro2000-07-051-0/+8
|
* Add more "volatile" decls to stop gcc -Wall warnings.Tim Peters2000-07-051-2/+2
| | | | | | | | Somebody w/ gcc please check that the wngs are gone! There are cheaper (at runtime) ways to prevent the wngs, but they're obscure and delicate. I'm going for the easy Big Hammer here under the theory that PCRE will be replaced by SRE anyway.
* maintenance release:Fredrik Lundh2000-07-052-33/+34
| | | | | | | | - reorganized some code to get rid of -Wall and -W4 warnings - fixed default argument handling for sub/subn/split methods (reported by Peter Schneider-Kamp).
* Fix to bug #389:Marc-André Lemburg2000-07-051-4/+4
| | | | | | | Full_Name: Bastian Kleineidam Version: 2.0b1 CVS 5.7.2000 OS: Debian Linux 2.2 Submission from: earth.cs.uni-sb.de (134.96.252.92)
* Remove definition of _GNU_SOURCE, since Python.h now does it for usAndrew M. Kuchling2000-07-051-5/+0
|
* Modified the encode interfaces of all builtin codecs to acceptMarc-André Lemburg2000-07-051-50/+105
| | | | | any object which can be converted to Unicode by means of PyUnicode_FromObject().