Peter Schneider-Kamp
397be50a88
moving files to nondist/sf-html
2000-07-14 08:54:58 +00:00
Vladimir Marangozov
a1dbd1b21b
Gosh - clean up that messy HTML; make it valid XHTML instead.
2000-07-14 06:22:54 +00:00
Vladimir Marangozov
d57f5cff0e
Break the cycles after testing cmp() on cyclic objects.
2000-07-14 04:32:09 +00:00
Peter Schneider-Kamp
374724ed74
added information how to edit pages at http://python.sourceforge.net
2000-07-14 01:43:31 +00:00
Peter Schneider-Kamp
737bcc3466
small FAQ about Python CVS and patches at SourceForge
2000-07-14 01:28:47 +00:00
Andrew M. Kuchling
9f28a039f6
Use PyObject_AsFileDescriptor
2000-07-13 23:59:35 +00:00
Andrew M. Kuchling
8c46b30e0a
Document PyObject_AsFileDescriptor
2000-07-13 23:58:16 +00:00
Andrew M. Kuchling
06051edc0d
Added PyObject_AsFileDescriptor, which checks for integer, long integer,
...
or .fileno() method
2000-07-13 23:56:54 +00:00
Peter Schneider-Kamp
9656abd913
ANSI-fication (got lost in the deep seas of source forge <wink>)
2000-07-13 21:10:57 +00:00
Jeremy Hylton
fa521f1b2a
fix PyXXX_Length macros as suggested by Fred
2000-07-13 19:39:15 +00:00
Guido van Rossum
f67c2383da
Patch by Toby Dickenson, mentored by Mark Hammond, to support
...
automatically finding (most of) the standard PYD extensions, and to
remove the hardcoded Python version.
2000-07-13 15:45:17 +00:00
Eric S. Raymond
5e70cfe22f
Apply Greg Kochanski's fix for open/265.
2000-07-13 13:25:07 +00:00
Eric S. Raymond
dfbd4c7695
Fix bug open/243 reported by Dimitri Papadopoulos
2000-07-13 13:12:21 +00:00
Peter Schneider-Kamp
9a5086c598
just fixing the indentation
2000-07-13 06:24:29 +00:00
Peter Schneider-Kamp
11384c60f6
raise error on duplicate function arguments
...
example:
>>> def f(a,a):print a
...
SyntaxError: duplicate argument in function definition
2000-07-13 06:15:04 +00:00
Fred Drake
91826ed2a9
Improve the descriptions of expected exceptions for __getitem__(),
...
__setitem__(), and __delitem__(). Based on related comments from
Barry Warsaw.
2000-07-13 04:57:58 +00:00
Andrew M. Kuchling
8d2f2b2db2
From Sam Rushing's Medusa, via SF patch #100858: add & document
...
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
2000-07-13 01:26:58 +00:00
Skip Montanaro
4d5d5bf5ae
forgot to change copy.copy(m) to m[:]
2000-07-13 01:01:03 +00:00
Vladimir Marangozov
8dc19f672b
Propagate the current exception in get_inprogress_dict() -- it doesn't
...
need to be cleared.
2000-07-12 23:39:38 +00:00
Skip Montanaro
794b483d0d
deleted obsolete SYMANTEC__CFM68K__ tests
2000-07-12 17:26:09 +00:00
Skip Montanaro
6980dff3db
delete obsolete SYMANTEC__CFM68K__ #ifdefs
2000-07-12 17:21:42 +00:00
Skip Montanaro
97bc98aea7
fixed semantics of commonprefix to work by path elements instead of
...
characters.
2000-07-12 16:55:57 +00:00
Jeremy Hylton
03657cfdb0
replace PyXXX_Length calls with PyXXX_Size calls
2000-07-12 13:05:33 +00:00
Jeremy Hylton
6253f83b0a
change abstract size functions PySequence_Size &c.
...
add macros for backwards compatibility with C source
2000-07-12 12:56:19 +00:00
Guido van Rossum
f981c8f915
Add "exceptions" to list of built-in modules for the sake of
...
sys.builtin_module_names. (Noticed by Toby Dickenson.)
[Tim, please test!]
2000-07-12 12:11:36 +00:00
Guido van Rossum
3f2fa0a53d
Add "exceptions" to list of built-in modules for the sake of
...
sys.builtin_module_names. (Noticed by Toby Dickenson.)
2000-07-12 12:09:05 +00:00
Sjoerd Mullender
0ae528447f
Fixed up some ANSIfications.
2000-07-12 10:43:11 +00:00
Greg Stein
42bb8b3987
apply patch #100868 from Moshe Zadka:
...
refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst)
2000-07-12 09:55:30 +00:00
Barry Warsaw
35e459c3eb
debug_instance(): Use the same %p format directive as with
...
debug_cycle(), and don't cast the pointer to a long. Neither needs
the literal `0x' prefix as %p automatically inserts this (on Linux at
least).
2000-07-12 05:18:36 +00:00
Vladimir Marangozov
a618028e45
Second try: checks whether right shift extends the sign bit.
...
Adds caching and reverts back the 'return' to 'exit()' in
AC_TRY_RUN as recommended by the Autoconf documentation.
2000-07-12 05:05:06 +00:00
Fred Drake
0582df98d3
Convert coding style to be internally consistent and similar to the
...
rest of the Python C code: space between "if", "for" and "(", no space
between "(", ")" and function call parameters, etc.
2000-07-12 04:49:00 +00:00
Fred Drake
cc1be2401e
Always use the :funcname part of the format specifier for PyArg_ParseTuple()
...
so we get better error messages.
2000-07-12 04:42:23 +00:00
Fred Drake
bdcf91fda0
Documentation for the gc module. Text from Neil Schemenauer
...
<nascheme@enme.ucalgary.ca>, markup & minor revisions from Fred
Drake.
2000-07-12 04:22:53 +00:00
Tim Peters
bf26e07049
Worm around MSVC6 error on single string literal > 2Kb.
2000-07-12 04:02:10 +00:00
Andrew M. Kuchling
38f744195f
Remove extra argument to method call
2000-07-12 03:38:34 +00:00
Vladimir Marangozov
676aa8894c
Checks whether right shift extends the sign bit.
...
Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine
(in main(), use return instead of exit).
Closes patch #100832
2000-07-12 03:02:43 +00:00
Vladimir Marangozov
9a5a5d1cb0
Checks whether right shift extends the sign bit.
...
Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine
(in main(), use return instead of exit).
Closes patch #100832
(but I can't assign it to myself, nor close it -- sorry)
2000-07-12 03:02:16 +00:00
Andrew M. Kuchling
bd9848d02f
Fix typo in error message
2000-07-12 02:58:28 +00:00
Eric S. Raymond
7ae3a5e79d
Resynchronize the TeX docs with (a) the module docstring, and (b) my recent
...
fix to the code to make it behave like the module docstring.
2000-07-12 02:56:15 +00:00
Andrew M. Kuchling
c72c3bed77
Fix bugs in readinst():
...
* There was no error reported if the .read() method returns a non-string
* If read() returned too much data, the buffer would be overflowed causing a
core dump
* Used strncpy, not memcpy, which seems incorrect if there are embedded \0s.
* The args and bytes objects were leaked
2000-07-12 01:27:18 +00:00
Andrew M. Kuchling
a4e75d74f8
Patch #100854 from jhylton: eliminate compiler warnings in pyexpat:
...
The first two warnings seem harmless enough,
but the last one looks like a potential bug: an
uninitialized int is returned on error. (I also
ended up reformatting some of the code,
because it was hard to read.)
2000-07-12 00:53:41 +00:00
Vladimir Marangozov
9e3d73af93
Fix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc().
2000-07-12 00:49:17 +00:00
Skip Montanaro
56509a3cb8
new test for posixpath module
2000-07-12 00:20:45 +00:00
Skip Montanaro
e809b00f36
new test file for posixpath module
2000-07-12 00:20:08 +00:00
Peter Schneider-Kamp
618e25dfdf
Errare humanum est.
...
Changed parameter in getsockaddrlen from unsigned to socklen_t.
2000-07-11 23:00:12 +00:00
Jack Jansen
e17fd2a5af
Got rid of __SC__ ifdefs.
2000-07-11 22:37:03 +00:00
Jack Jansen
cbf630f0a9
Include macglue.h for some function prototypes, and renamed a few
...
mac-specific functions to have a PyMac_ name.
2000-07-11 21:59:16 +00:00
Jack Jansen
28fc880e9a
Include macglue.h on the macintosh, so function prototypes are in scope.
2000-07-11 21:47:20 +00:00
Jack Jansen
e4b4863296
One more include of limits.h (possibly to be moved elsewhere when there is
...
consensus where it should go).
2000-07-11 21:35:02 +00:00
Jack Jansen
1af5b082ab
Removed guesstabsize.c, which is obsolete.
2000-07-11 21:18:44 +00:00