Fred Drake
9ad70f9cb0
Add more text from Guido on the type structure fields.
...
Small additional changes.
2002-04-16 16:22:24 +00:00
Skip Montanaro
6c7bc31089
added small clarification to the descriptions of encode() and decode()
2002-04-16 15:12:10 +00:00
Thomas Heller
0e661dcdbf
Replace the simpleminded string.find with a re.search looking only for
...
full words. Before that, something like 'PyObject_Call' was missed
because 'PyObject_CallFunction' was found.
Passes PyChecker now.
2002-04-16 15:04:56 +00:00
Barry Warsaw
4eaf50f435
test_mktime(): Removed. This wasn't really testing anything useful
...
(or platform independent). Closes SF bug #460357 .
Bug fix candidate.
2002-04-16 12:37:55 +00:00
Martin v. Löwis
e8aea58b99
Move WITH_UNIVERSAL_NEWLINES template into configure.in.
2002-04-16 05:51:02 +00:00
Barry Warsaw
16f9055a9b
Whitespace normalization, while using non-whitespace literals for
...
intended whitespace.
2002-04-16 05:06:42 +00:00
Guido van Rossum
6184c117e9
Expect test_email_codecs to be skipped -- few users or developers will
...
have the needed optional Japanese codecs installed.
2002-04-16 02:14:04 +00:00
Tim Peters
27dba87b78
Apparently 3 of the tests here rely on trailing whitespace and/or hard
...
tab characters, so reverting the whitespace normalization. Barry,
please repair this.
2002-04-16 02:08:51 +00:00
Fred Drake
c0a02c084b
Remove repeated index entry; adds nothing different.
...
Closes SF bug #518985 .
2002-04-16 02:03:05 +00:00
Tim Peters
4d9b466ea5
Fewer deprecation warnings.
2002-04-16 01:59:17 +00:00
Tim Peters
d0cc4f0b49
resetwarnings(): Remove extra space from docstring guts.
2002-04-16 01:51:25 +00:00
Tim Peters
863ac44b74
Whitespace normalization.
2002-04-16 01:38:40 +00:00
Tim Peters
c86c1b88f9
resetwarnings(): change the docstring to reflect what the code
...
actually does. Note that the description in the Library Reference
manual is already accurate.
Bugfix candidate.
2002-04-16 01:33:59 +00:00
Tim Peters
d392506c43
Tighten up some warning filters, and break some dependencies on the
...
order in which the tests are normally run.
2002-04-16 01:27:44 +00:00
Tim Peters
50ac30ee01
OK, don't call resetwarnings().
2002-04-16 00:29:27 +00:00
Tim Peters
7d79948103
It makes more sense to call resetwarnings() after every test runs than
...
to keep doing that in every test that wants to filter a warning.
2002-04-16 00:01:09 +00:00
Tim Peters
a91a02a76d
I expect test_univnewlines to be skipped on Windows. I expect this
...
because it *is* skipped. I'm not entirely sure it should be skipped, but
figuring that out would take actual thought <wink>.
2002-04-15 23:56:04 +00:00
Tim Peters
f022a4d451
Reduce the number of test-suite DeprecationWarnings; start adding
...
resetwarnings() calls too.
2002-04-15 23:52:04 +00:00
Neal Norwitz
c15acef4a4
Fix grammar
2002-04-15 22:57:46 +00:00
Barry Warsaw
c9ad32c5d1
test_main(): Added this so the test can actually get run under the
...
regrtest framework. Keep the original standalone-unittest
scaffolding (i.e. suite() and __main__).
2002-04-15 22:14:06 +00:00
Barry Warsaw
24fd0252c4
parseaddr(): Don't use rfc822.parseaddr() because this now implies a
...
double call to AddressList.getaddrlist(), and /that/ always returns an
empty list for the second and subsequent calls.
Instead, instantiate an AddressList directly, and get the parsed
addresses out of the addresslist attribute.
2002-04-15 22:00:25 +00:00
Fred Drake
0e0b6180ba
Add documentation for PyObject_Call().
...
Note that PyObject_Size() is a synonym for PyObject_Length().
This closes SF patch #544330 (contributed by Thomas Heller).
2002-04-15 20:51:19 +00:00
Fred Drake
34adb8a8ec
Separate out a \cfuncline macro from the cfuncdesc environment.
...
This matches many other of the *desc environments, and is useful when
multiple functions share a description.
2002-04-15 20:48:40 +00:00
Fred Drake
1251b0eb24
Document the cmemberdesc environment.
2002-04-15 20:10:23 +00:00
Barry Warsaw
be22ae6def
ehlo(): A proper fix for SF bug #498572 . RFC 1869 describes ESMTP
...
which requires that if there are ehlo parameters returned with an ehlo
keyword (in the response to EHLO), the keyword and parameters must be
delimited by an ASCII space. Thus responses like
250-AUTH=LOGIN
should be ignored as non-conformant to the RFC (the `=' isn't allowed
in the ehlo keyword).
This is a bug fix candidate.
2002-04-15 20:03:30 +00:00
Fred Drake
8a5a270000
Better documentation for GetArgv() and the ProgressBar type.
...
Back-porting to release22-maint.
This closes SF patch #496705 .
2002-04-15 19:53:35 +00:00
Fred Drake
e19a5bcc7b
Be consistent in presenting the signatures.
2002-04-15 19:46:40 +00:00
Fred Drake
154985587b
Add docs for os.fchdir().
2002-04-15 19:41:27 +00:00
Fred Drake
4d1e64bb46
posix_fildes(): New helper: run a function that takes a file descriptor
...
and returns None. This allows any object that supports the fileno()
method to be passed as a file descriptor, not just an integer.
posix_fchdir(): New exposed function: implements posix.fchdir(). This
closes SF feature #536796 .
posix_fsync(), posix_fdatasync(): Convert to use posix_fildes() instead
of posix_int(). This also changes them from METH_VARARGS to METH_O
functions.
setup_confname_table(): Remove unused variable. Change to take a module
rather than a dict to save the resulting table into.
setup_confname_tables(): Change to take a module instead of a dict to
pass to setup_confname_table().
2002-04-15 19:40:07 +00:00
Fred Drake
0157276cf8
Generate the right annotations in the index entries.
...
Thanks to Thomas Heller for the sharp eye.
2002-04-15 19:35:29 +00:00
Fred Drake
6b3cc524c0
Add a test for fchdir().
...
This is part of SF feature #536796 .
2002-04-15 19:20:27 +00:00
Fred Drake
188ecd141a
Integrated more text from Guido.
2002-04-15 18:44:46 +00:00
Fred Drake
c63042bcc4
Move the listing of the type structure, since both the C API reference and
...
the Extending & Embedding manual use it.
2002-04-15 18:43:20 +00:00
Walter Dörwald
0fe940c862
Return the orginal string only if it's a real str or unicode
...
instance, otherwise make a copy.
2002-04-15 18:42:15 +00:00
Fred Drake
8a5e6790d9
Clean up the application of style to verbatim text.
...
This moves styling to the stylesheet; the use of <dl> structures to control
style sometimes produced improper indentation of subsequent text in many
browsers when the text was already part of the <dl> structure (as in a
function or class description).
2002-04-15 18:41:31 +00:00
Fred Drake
eeb5ec42e0
Add support for \cmemberline and the cmemberdesc environment.
2002-04-15 17:46:00 +00:00
Neal Norwitz
726e013eff
Remove unused variable reported by Walter Dörwald
2002-04-15 16:29:00 +00:00
Andrew M. Kuchling
8e8af6e722
Add item
2002-04-15 14:05:59 +00:00
Guido van Rossum
3aa3fc46c8
Remove 'const' from local variable declaration in string_zfill() -- it
...
isn't constant, so why bother.
Folded long lines.
Whitespace normalization.
2002-04-15 13:48:52 +00:00
Walter Dörwald
068325ef92
Apply the second version of SF patch http://www.python.org/sf/536241
...
Add a method zfill to str, unicode and UserString and change
Lib/string.py accordingly.
This activates the zfill version in unicodeobject.c that was
commented out and implements the same in stringobject.c. It also
adds the test for unicode support in Lib/string.py back in and
uses repr() instead() of str() (as it was before Lib/string.py 1.62)
2002-04-15 13:36:47 +00:00
Neal Norwitz
b384c72639
posix.mknod() and {}.pop() were added
2002-04-15 12:46:11 +00:00
Guido van Rossum
69cf3c7641
Deprecate % as well. The message for deprecation of //, % and divmod
...
is the same in all three cases (mostly because // calls divmod :-).
2002-04-15 12:39:12 +00:00
Guido van Rossum
862fe3c52e
Add news about deprecated complex ops.
2002-04-15 12:36:47 +00:00
Andrew MacIntyre
6c65531511
update build infrastructure for pymalloc and bool changes
2002-04-15 12:09:45 +00:00
Andrew M. Kuchling
f367651472
Add items
2002-04-15 02:27:55 +00:00
Guido van Rossum
9ec4c78a54
SF bug #543387 .
...
Complex numbers implement divmod() and //, neither of which makes one
lick of sense. Unfortunately this is documented, so I'm adding a
deprecation warning now, so we can delete this silliness, oh, around
2005 or so.
Bugfix candidate (At least for 2.2.2, I think.)
2002-04-15 01:41:56 +00:00
Guido van Rossum
a3a4300fe0
Four more names for the hall of fame.
2002-04-15 01:05:01 +00:00
Guido van Rossum
b6b8942f53
SF bug #541883 (Vincent Fiack).
...
A stupid bug in object_set_class(): didn't check for value==NULL
before checking its type.
Bugfix candidate.
2002-04-15 01:03:30 +00:00
Guido van Rossum
d1c08f33f2
Add exit as alias for quit, as the easiest way to address SF bug
...
#543674 .
Bugfix candidate.
2002-04-15 00:48:24 +00:00
Guido van Rossum
beae477767
SF bug #543318 (Frank J. Tobin).
...
In DatagramRequestHandler.setup(), the wfile initialization should be
StringIO.StringIO(), not StringIO.StringIO(slf.packet).
Bugfix candidate (all the way back to Python 1.5.2 :-).
2002-04-15 00:36:48 +00:00