summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add method names to PyArg_ParseTuple() calls for better error messages.Fred Drake2000-07-081-313/+298
| | | | Convert to four-space indents.
* Markup improvements in sections relating to interactive behavior.Fred Drake2000-07-081-45/+51
| | | | Clarify some of the details of readline-related configuration.
* ANSI-fy the sources.Fred Drake2000-07-081-313/+287
| | | | | | Convert to using PyArg_ParseTuple() as appropriate to allow method names in error messages. Re-indent to four-space indentation.
* Pretensions of the 20th century... remove old-style preprocessorFred Drake2000-07-081-6/+0
| | | | hackery (/**/), leaving only new-style preprocessor hackery (##).
* Cray J90 fixes for long ints.Tim Peters2000-07-086-12/+76
| | | | | | | | | | | | | | | | This was a convenient excuse to create the pyport.h file recently discussed! Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a signed int and you *need* sign-extension. This is #define'd in pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS. If you're running on a platform that needs that symbol #define'd, the std tests never would have worked for you (in particular, at least test_long would have failed). The autoconfig stuff got added to Python after my Unix days, so I don't know how that works. Would someone please look into doing & testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS symbol? It needs to be defined if & only if, e.g., (-1) >> 3 is not -1.
* ANSI-fy the sources.Fred Drake2000-07-081-19/+16
|
* Removed Py_PROTO, ANSI-fied sources.Fred Drake2000-07-081-187/+68
|
* The tail end of x_sub implicitly assumed that an unsigned shortTim Peters2000-07-081-0/+1
| | | | contains 16 bits. Not true on Cray J90.
* One of the new prototypes was missing the "void" args.Greg Stein2000-07-081-1/+1
|
* Got RID of redundant coercions in longobject.c (as spotted by GregTim Peters2000-07-082-60/+57
| | | | | | | Stein -- thanks!). Incidentally removed all the Py_PROTO macros from object.h, as they prevented my editor from magically finding the definitions of the "coercion", "cmpfunc" and "reprfunc" typedefs that were being redundantly applied in longobject.c.
* delete bogus fileGuido van Rossum2000-07-071-246/+0
|
* Deleted bogus file.Guido van Rossum2000-07-071-946/+0
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-071-8/+11
| | | | convert semicolons to newlines
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-072-20/+20
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-074-24/+24
|
* Fix to use Py_UCS4. By Bill Tutt.Marc-André Lemburg2000-07-071-1/+1
|
* New surrogate support in the UTF-8 codec. By Bill Tutt.Marc-André Lemburg2000-07-071-29/+80
|
* Tests for new surrogate support in the UTF-8 codec. By Bill Tutt.Marc-André Lemburg2000-07-071-0/+72
|
* Fix to use Py_UCS4Marc-André Lemburg2000-07-071-1/+1
|
* Add an entry for the KDE File Manager support from Peter Funk.Fred Drake2000-07-071-3/+8
|
* 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.