Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add method names to PyArg_ParseTuple() calls for better error messages. | Fred Drake | 2000-07-08 | 1 | -313/+298 |
| | | | | Convert to four-space indents. | ||||
* | Markup improvements in sections relating to interactive behavior. | Fred Drake | 2000-07-08 | 1 | -45/+51 |
| | | | | Clarify some of the details of readline-related configuration. | ||||
* | ANSI-fy the sources. | Fred Drake | 2000-07-08 | 1 | -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 preprocessor | Fred Drake | 2000-07-08 | 1 | -6/+0 |
| | | | | hackery (/**/), leaving only new-style preprocessor hackery (##). | ||||
* | Cray J90 fixes for long ints. | Tim Peters | 2000-07-08 | 6 | -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 Drake | 2000-07-08 | 1 | -19/+16 |
| | |||||
* | Removed Py_PROTO, ANSI-fied sources. | Fred Drake | 2000-07-08 | 1 | -187/+68 |
| | |||||
* | The tail end of x_sub implicitly assumed that an unsigned short | Tim Peters | 2000-07-08 | 1 | -0/+1 |
| | | | | contains 16 bits. Not true on Cray J90. | ||||
* | One of the new prototypes was missing the "void" args. | Greg Stein | 2000-07-08 | 1 | -1/+1 |
| | |||||
* | Got RID of redundant coercions in longobject.c (as spotted by Greg | Tim Peters | 2000-07-08 | 2 | -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 file | Guido van Rossum | 2000-07-07 | 1 | -246/+0 |
| | |||||
* | Deleted bogus file. | Guido van Rossum | 2000-07-07 | 1 | -946/+0 |
| | |||||
* | fix inconsistent use of tabs and spaces | Jeremy Hylton | 2000-07-07 | 1 | -8/+11 |
| | | | | convert semicolons to newlines | ||||
* | fix inconsistent use of tabs and spaces | Jeremy Hylton | 2000-07-07 | 2 | -20/+20 |
| | |||||
* | fix inconsistent use of tabs and spaces | Jeremy Hylton | 2000-07-07 | 4 | -24/+24 |
| | |||||
* | Fix to use Py_UCS4. By Bill Tutt. | Marc-André Lemburg | 2000-07-07 | 1 | -1/+1 |
| | |||||
* | New surrogate support in the UTF-8 codec. By Bill Tutt. | Marc-André Lemburg | 2000-07-07 | 1 | -29/+80 |
| | |||||
* | Tests for new surrogate support in the UTF-8 codec. By Bill Tutt. | Marc-André Lemburg | 2000-07-07 | 1 | -0/+72 |
| | |||||
* | Fix to use Py_UCS4 | Marc-André Lemburg | 2000-07-07 | 1 | -1/+1 |
| | |||||
* | Add an entry for the KDE File Manager support from Peter Funk. | Fred Drake | 2000-07-07 | 1 | -3/+8 |
| | |||||
* | Thomas Wouters <thomas@xs4all.net>: | Fred Drake | 2000-07-07 | 1 | -1/+1 |
| | | | | Allow -f* parameters to be passed to the compiler from Setup files. | ||||
* | Some cleanup of longs in prepartion for Cray J90 fixes: got | Tim Peters | 2000-07-07 | 3 | -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 * or | Marc-André Lemburg | 2000-07-07 | 1 | -56/+78 |
| | | | | extra ' '). | ||||
* | Added docs for the new Unicode and string APIs. | Marc-André Lemburg | 2000-07-07 | 1 | -7/+52 |
| | |||||
* | Removed a prototype which is not used in socketmodule.c | Marc-André Lemburg | 2000-07-07 | 1 | -1/+0 |
| | | | | Patch by T. Wouters. | ||||
* | Fixed unicode() to use the new API PyUnicode_FromEncodedObject(). | Marc-André Lemburg | 2000-07-07 | 1 | -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 decoding | Marc-André Lemburg | 2000-07-07 | 2 | -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é Lemburg | 2000-07-07 | 1 | -0/+15 |
| | |||||
* | So many things have changed over the last few weeks that it's probably a ↵ | Jack Jansen | 2000-07-07 | 30 | -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 Jansen | 2000-07-07 | 23 | -86/+86 |
| | | | | specifier, now that h is signed-only. | ||||
* | Added the unchash module. | Jack Jansen | 2000-07-07 | 3 | -2/+3 |
| | |||||
* | Fix to bug #393 (UTF16 codec didn't like empty strings) and | Marc-André Lemburg | 2000-07-07 | 1 | -7/+6 |
| | | | | | corrected some usage of 'unsigned long' where Py_UNICODE should have been used. | ||||
* | Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik | Marc-André Lemburg | 2000-07-07 | 1 | -3/+8 |
| | | | | Lundh as response to bug reports on True64 and IRIX. | ||||
* | Two more places where long should be used instead of int. Especially | Sjoerd Mullender | 2000-07-07 | 1 | -2/+2 |
| | | | | true after revision 2.36 was checked in... | ||||
* | Bill Tutt: Added Py_UCS4 typedef to hold UCS4 values (these need | Marc-André Lemburg | 2000-07-07 | 1 | -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 a | Fred Drake | 2000-07-07 | 3 | -0/+97 |
| | | | | Web browser as a help/information browser easy across platforms. | ||||
* | Fixed some code that used 'short' to use 'long' instead. | Marc-André Lemburg | 2000-07-06 | 1 | -3/+3 |
| | |||||
* | Fixed a couple of places where 'int' was used where 'long' | Marc-André Lemburg | 2000-07-06 | 1 | -7/+7 |
| | | | | should have been used. | ||||
* | Fix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>: | Fred Drake | 2000-07-06 | 1 | -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 library | Fred Drake | 2000-07-06 | 3 | -3/+3 |
| | | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API. | ||||
* | added read_history_file and write_history_file | Skip Montanaro | 2000-07-06 | 1 | -0/+50 |
| | | | | XXX should perhaps support history truncation as well | ||||
* | Clean up markup to be more like recommended practice; only small changes | Fred Drake | 2000-07-06 | 1 | -6/+8 |
| | | | | needed. | ||||
* | Removed unused variables. | Andrew M. Kuchling | 2000-07-06 | 1 | -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 HTML | Fred Drake | 2000-07-06 | 1 | -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 likely | Skip Montanaro | 2000-07-06 | 1 | -0/+1 |
| | | | | to be absolute. | ||||
* | Minor changes. Explain that for class exceptions, use excdesc but do not | Fred Drake | 2000-07-06 | 1 | -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 Jansen | 2000-07-06 | 2 | -1/+2 |
| | |||||
* | Conditionally (currently on ifdef macintosh) break the large switch up | Jack Jansen | 2000-07-06 | 1 | -0/+15 |
| | | | | into 1000-case smaller ones. | ||||
* | modified template to demonstrate subsection for examples. | Skip Montanaro | 2000-07-06 | 1 | -1/+5 |
| | |||||
* | Added support for H (unsigned short) specifier in PyArg_ParseTuple and | Jack Jansen | 2000-07-06 | 2 | -1/+30 |
| | | | | Py_BuildValue. |