Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Added new codec APIs and a new interface method .encode() which | Marc-André Lemburg | 2000-07-06 | 1 | -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 APIs | Marc-André Lemburg | 2000-07-06 | 1 | -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 Rossum | 2000-07-06 | 1 | -4/+4 |
| | | | | Also fix spelling tupel -> tuple. | ||||
* | Added some further description to the usage of the seealso environment. | Fred Drake | 2000-07-06 | 1 | -1/+30 |
| | | | | Documented the \seerfc and \seeurl macros used in that environment as well. | ||||
* | Several small changes, mostly to the markup, to improve consistency and | Fred Drake | 2000-07-06 | 3 | -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 Drake | 2000-07-06 | 2 | -0/+2 |
| | |||||
* | Sjoerd Mullender <sjoerd@oratrix.nl>: | Fred Drake | 2000-07-06 | 1 | -2/+4 |
| | | | | Updates for recent changes in xmllib. | ||||
* | Correct typo in description of the machine name parameter to the | Fred Drake | 2000-07-06 | 1 | -17/+16 |
| | | | | ConnectRegistry() function; there is no trailing period! | ||||
* | added seealso pointing reader at readline example which uses atexit. | Skip Montanaro | 2000-07-06 | 1 | -0/+4 |
| | |||||
* | simple-minded readline section doc based upon module's doc strings. | Skip Montanaro | 2000-07-06 | 1 | -0/+90 |
| | |||||
* | fixed indentation in several places | Skip Montanaro | 2000-07-06 | 1 | -19/+19 |
| | |||||
* | fix indentation in one docstring | Skip Montanaro | 2000-07-06 | 1 | -1/+1 |
| | |||||
* | fix indentation in three docstrings | Skip Montanaro | 2000-07-06 | 1 | -3/+3 |
| | |||||
* | Typo: "This table table" -> "This table is" | Fred Drake | 2000-07-06 | 1 | -1/+1 |
| | | | | Noted by Nicholas Spies <ns11@voicenet.com>. | ||||
* | added warning about incompatibility with other codes' use of sys.exitfunc. | Skip Montanaro | 2000-07-05 | 1 | -0/+8 |
| | |||||
* | Add more "volatile" decls to stop gcc -Wall warnings. | Tim Peters | 2000-07-05 | 1 | -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 Lundh | 2000-07-05 | 2 | -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é Lemburg | 2000-07-05 | 1 | -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 us | Andrew M. Kuchling | 2000-07-05 | 1 | -5/+0 |
| | |||||
* | Modified the encode interfaces of all builtin codecs to accept | Marc-André Lemburg | 2000-07-05 | 1 | -50/+105 |
| | | | | | any object which can be converted to Unicode by means of PyUnicode_FromObject(). |