summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of unused vars in builtin_unicode (they were causingTim Peters2000-07-091-2/+0
| | | | legit warnings).
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0910-173/+166
|
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0914-338/+340
|
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0812-174/+176
|
* this one's a bit risky, but I've spent some considerable timeFredrik Lundh2000-07-081-340/+132
| | | | | | | | | | staring at the diffs before checking this one in. let me know asap if it breaks things on your platform. -- ANSI-fying (patch #100763 by Peter Schneider-Kamp, minus the indentation changes and minus the changes the broke the windows build)
* -- ANSI-fying, namesFredrik Lundh2000-07-081-82/+61
| | | | | | | (patch #100762 by Peter Schneider-Kamp, minus the indentation changes) -- added INT_PTR workaround to make it build under VC 5.0
* - removed barry's workaround, to make room forFredrik Lundh2000-07-081-30/+0
| | | | bill's more complete solution.
* - _getdefaultlocale shouldn't accept argumentsFredrik Lundh2000-07-081-8/+11
| | | | - some more spacification...
* - added _getdefaultlocale implementation for WIN32Fredrik Lundh2000-07-081-269/+351
| | | | - ansified, reindentified, spacified, nullified
* - this is a tentative checkin of the #100764 patch (byFredrik Lundh2000-07-081-5/+37
| | | | | | | | Barry Scott). it appears to solve the problem on NT and 2000, but not on Windows 95. in other words, it's better than before, but not per- fect. I'll leave the patch open for now.
* - changed __repr__ to use "unicode escape" encoding for unicodeFredrik Lundh2000-07-081-1/+1
| | | | | strings, instead of the default encoding. (see "minidom" thread for discussion, and also patch #100706)
* ANSI-fication of the sources -- remove Py_PROTO!Fred Drake2000-07-082-35/+39
|
* Minor revisions similar to some information in the new docstrings.Fred Drake2000-07-081-2/+4
|
* ANSI-fication of the sources, convert to 4-space indents.Fred Drake2000-07-081-70/+97
| | | | | Use PyArg_ParseTuple() to get better error messages. Add docstrings all around.
* delete unused local variable from _PyTrash_deposit_objectSkip Montanaro2000-07-081-1/+0
|
* Rearrange order of sectionsAndrew M. Kuchling2000-07-081-67/+72
| | | | Fix some incorrect module names
* _Py_RefTotal should only be declared here when Py_TRACE_REFS are #define'dSkip Montanaro2000-07-081-0/+2
|
* ANSI-fied sources, converted to four-space indentation.Fred Drake2000-07-081-182/+151
| | | | | Converted to PyArg_ParseTuple() with method names to get better error messages.
* ANSI-fied sources, converted to four-space indentation.Fred Drake2000-07-081-372/+363
|
* 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
|