Andrew M. Kuchling
7fd1c8c880
Remove support for importing 'pre' module
2002-04-10 21:15:40 +00:00
Barry Warsaw
409a4c08b5
Sync'ing with standalone email package 2.0.1. This adds support for
...
non-us-ascii character sets in headers and bodies. Some API changes
(with DeprecationWarnings for the old APIs). Better RFC-compliant
implementations of base64 and quoted-printable.
Updated test cases. Documentation updates to follow (after I finish
writing them ;).
2002-04-10 21:01:31 +00:00
Marc-André Lemburg
68e69338ae
Bug fix for UTF-8 encoding bug (buffer overrun) #541828 .
2002-04-10 20:36:13 +00:00
Fred Drake
e3c764b6c2
Document PyType_CheckExact(), PyType_IS_GC().
...
Update description of PyType_Check().
2002-04-10 17:52:52 +00:00
Marc-André Lemburg
ce0b664af2
Added test case for UTF-8 encoding bug #541828 .
2002-04-10 17:18:02 +00:00
Andrew M. Kuchling
a9745611de
Use random instead of whrandom
2002-04-10 14:54:39 +00:00
Andrew M. Kuchling
9a62448d2f
Use random module instead of whrandom
...
Move imports to top
2002-04-10 14:50:16 +00:00
Skip Montanaro
3b2625ff82
document all the valid encoding values
2002-04-10 04:37:09 +00:00
Fred Drake
3c1ff5c766
When adding a name to the table of macros and environments, make sure it
...
is not already present. If it is, raise an exception, since that should not
happen in a well-defined conversion.
2002-04-10 04:20:33 +00:00
Fred Drake
0047e16d1b
Added support for \csimplemacro and csimplemacrodesc.
2002-04-10 04:19:12 +00:00
Neal Norwitz
ab3b9eb477
Add deprecation warnings for modules as documented
2002-04-10 02:04:00 +00:00
Fred Drake
6e99704fcf
Add a deprecation warning to reflect the documented deprecation of the
...
whrandom module. (The deprecation was effective in Python 2.1.)
2002-04-10 01:45:11 +00:00
Fred Drake
4d61775a35
Started filling in the information about some of the basic types and macros
...
used to define Python objects.
2002-04-09 21:22:07 +00:00
Tim Peters
46cd7948ca
Repair 2.2.1 release date.
2002-04-09 21:18:37 +00:00
Fred Drake
375e30225e
Update to use the new \csimplemacro macro
2002-04-09 21:09:42 +00:00
Fred Drake
79bf99c505
Document the \csimplemacro macro and the csimplemacrodesc environment.
2002-04-09 20:17:42 +00:00
Fred Drake
19f827e765
Add \csimplemacro to parallel the csimplemacrodesc environment.
...
Fix a typo in the comments for csimplemacrodesc.
2002-04-09 20:16:47 +00:00
Neal Norwitz
6b35370c65
Update docs for bool changes by Guido around April 6
2002-04-09 18:15:00 +00:00
Neal Norwitz
803a8ea47e
Update docstring to reflect code change to bool
2002-04-09 18:12:58 +00:00
Guido van Rossum
50ee94fd41
is_builtin() is not a Boolean -- it can return -1, 0, 1. [SF #541652 ]
2002-04-09 18:00:58 +00:00
Fred Drake
eee12e9aba
Ignore an output directory for intermediates here as well.
2002-04-09 14:54:26 +00:00
Fred Drake
fd867719bc
Fix typo: coverted --> converted. Reported by Francois Pinard.
2002-04-09 14:39:10 +00:00
Thomas Heller
4c7fb96b7a
Remove unconditional debugging prints.
2002-04-09 14:16:07 +00:00
Thomas Heller
fd0e82a385
Set the warn_dir option to 0 before running the install command.
...
This suppresses bogus warnings about modules installed into a directory
not in sys.path.
Bugfix candidate.
2002-04-09 14:14:38 +00:00
Thomas Heller
1630520e5c
Fix an obvious bug.
2002-04-09 12:50:13 +00:00
Fred Drake
77f4438f1a
Update the table of releases.
2002-04-08 21:57:31 +00:00
Tim Peters
b0f3ceaf8b
Update table of releases.
2002-04-08 21:36:47 +00:00
Martin v. Löwis
688357e035
Patch #512005 : getrusage() returns struct-like object.
2002-04-08 21:28:20 +00:00
Tim Peters
6cca2f48ed
Change 2.1.3 release date.
2002-04-08 18:47:34 +00:00
Tim Peters
11c5d7259f
Update 2.1.3 Windows buildno.
2002-04-08 18:00:26 +00:00
Martin v. Löwis
8509ebc8f7
Patch #539392 : Invoke setlocale, try opening the file in demo mode.
2002-04-08 14:51:31 +00:00
Marc-André Lemburg
95de5c1631
Move Unicode finalization further down in the chain.
...
Fixes bug #525620 .
2002-04-08 08:19:36 +00:00
Fred Drake
bc82ab1c9f
Do not call "knee" a standard module, and point to the new location.
...
This addresses the issue in SF bug #515745 .
2002-04-08 05:22:30 +00:00
Tim Peters
2ea9111cf1
SF bug 538827: Python open w/ MSVC6: bad error msgs.
...
open_the_file: Some (not all) flavors of Windows set errno to EINVAL
when passed a syntactically invalid filename. Python turned that into an
incomprehensible complaint about the mode string. Fixed by special-casing
MSVC.
2002-04-08 04:13:12 +00:00
Guido van Rossum
0986d8250f
- A type can now inherit its metatype from its base type. Previously,
...
when PyType_Ready() was called, if ob_type was found to be NULL, it
was always set to &PyType_Type; now it is set to base->ob_type,
where base is tp_base, defaulting to &PyObject_Type.
- PyType_Ready() accidentally did not inherit tp_is_gc; now it does.
Bugfix candidate.
2002-04-08 01:38:42 +00:00
Martin v. Löwis
d1a3c8117d
Move knee.py from Lib/ to Demo/imputil/. Fixes #515745 .
2002-04-07 16:29:36 +00:00
Guido van Rossum
8ca162f417
Partial introduction of bools where appropriate.
2002-04-07 06:36:23 +00:00
Guido van Rossum
b8bff3f4a9
Return bools from functions named is_<whatever>().
2002-04-07 06:34:38 +00:00
Guido van Rossum
8fdc75ba5e
Lock methods acquire() and locked() now return bools.
2002-04-07 06:32:21 +00:00
Guido van Rossum
7f7666ff43
isatty() should return a bool.
2002-04-07 06:28:00 +00:00
Martin v. Löwis
c45929ecb6
Move autoheader declarations into configure.in.
2002-04-06 10:10:49 +00:00
Tim Peters
87bbdd3085
Minor clarification about what's actually promised for PyMem_Malloc(0).
...
I probably didn't do a correct thing for the LaTeX spelling of the
integer 1.
2002-04-06 09:14:33 +00:00
Mark Hammond
303d05d317
Add standard header preamble and footer, a-la intobject.h. Main purpose is extern "C" for C++ programs.
2002-04-06 03:58:41 +00:00
Tim Peters
49f26817eb
Minor improvements to the stats output dump, including adding commas to
...
the big numbers.
2002-04-06 01:45:35 +00:00
Guido van Rossum
8ace1ab53a
- Changed new-style class instantiation so that when C's __new__
...
method returns something that's not a C instance, its __init__ is
not called. [SF bug #537450 ]
2002-04-06 01:05:01 +00:00
Guido van Rossum
181e41ad40
Some more news.
2002-04-06 00:23:25 +00:00
Fred Drake
68304ccce3
Move reference material on PyArg_Parse*() out of the Extending & Embedding
...
document to the C API reference. Move some instructional text from the API
reference to the Extending & Embedding manual.
Fix the descriptions of the es and es# formats for PyArg_Parse*().
This closes SF bug #536516 .
2002-04-05 23:01:14 +00:00
Guido van Rossum
6b8ab74c8a
Don't inherit tp_new! This is a retraction of half of the previous
...
checkin. And since that one was, this one is also a:
Bugfix candidate.
2002-04-05 22:04:18 +00:00
Guido van Rossum
d1bfe5e5fd
Add tests for binary pickles.
2002-04-05 20:57:02 +00:00
Fred Drake
9651198db4
Remove weird spacing in typeset version of the chapter head.
2002-04-05 19:54:19 +00:00