Barry Warsaw
214a0b1382
init_sre(): Plug a little leak reported by Insure.
2001-08-16 20:33:48 +00:00
Barry Warsaw
2f7045576d
Fixed a couple of minor formatting nits where lines were > 79 columns wide.
2001-08-16 16:55:10 +00:00
Barry Warsaw
b44740f741
select_select(): Closing bug #448351 the easy way, i.e. by changing
...
the "#ifdef MS_WINDOWS" to "#ifdef SELECT_USES_HEAP" and by
setting SELECT_USES_HEAP when FD_SETSIZE > 1024.
The indirection seems useful since this subtly changes the path
that "normal" Windows programs take (where Timmie sez FD_SETSIZE =
512). If that's a problem for Windows, he has only one place to
change.
2001-08-16 16:52:59 +00:00
Fred Drake
7fdc0a1835
Use METH_O where possible (two functions). This does not lead to real
...
performance changes since the affected functions are not expected to be
used frequently, but reduces the volume of code.
2001-08-16 14:11:30 +00:00
Guido van Rossum
83f56cb2db
Change the type names to xxsublist.<name>.
2001-08-16 09:10:42 +00:00
Guido van Rossum
88dcf03068
Add 'state' as a get/set attribute to spamlist. This serves as an
...
example.
2001-08-15 18:18:58 +00:00
Guido van Rossum
e6b90eaea1
Add 'state' as a read-only attribute to spamdict. This serves as an
...
example.
2001-08-15 18:09:11 +00:00
Martin v. Löwis
f95dd0a298
Fix portability problems with glibc 2.0, as reported in #449157 .
2001-08-15 17:14:33 +00:00
Fred Drake
13130bc5b1
Use the abstract object interfaces when digging around in module objects
...
instead of directly manipulating the underlying dictionary.
2001-08-15 16:44:56 +00:00
Jack Jansen
e925faff8e
With WITH_NEXT_FRAMEWORK defined we now also expect a normal Python
...
installation.
If there is no LANDMARK we assume we're a bare framework in the
install directory (again WITH_NEXT_FRAMEWORK only).
2001-08-15 01:14:40 +00:00
Martin v. Löwis
f65b1a175f
Bump size of sprintf buffer. Suggested by Alex Coventry.
2001-08-12 09:28:40 +00:00
Martin v. Löwis
1ba3fd5d51
Autotest for netpacket/packet.h, as it is not available on all Linux versions.
...
Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157
2001-08-10 20:29:40 +00:00
Martin v. Löwis
c4416d5a2c
_DATE_FMT does not always accompany CODESET.
2001-08-10 19:41:45 +00:00
Neil Schemenauer
17e7be60b4
Remove "referents" structure (it's not needed). Check return value
...
of PyList_Append.
2001-08-10 14:46:47 +00:00
Martin v. Löwis
9b75dca192
Expose nl_langinfo through locale where available.
2001-08-10 13:58:50 +00:00
Fred Drake
428e75fc3e
Add wrappers around the rich-comparison operations.
...
This closes SF patch #428320 .
Add wrappers to expose "floor" and "true" division.
This closes SF feature request #449093 .
2001-08-09 20:14:34 +00:00
Neil Schemenauer
c7c8d8e32d
Add get_objects function. This is a low level function (like
...
get_referents, and is not yet documented in the library manual).
Suggestions for a better name welcome.
2001-08-09 15:58:59 +00:00
Neil Schemenauer
48c7034454
Add get_referents function. Closes SF patch #402925 .
2001-08-09 15:38:31 +00:00
Martin v. Löwis
f9836ba4fe
Put conditional S_ISDIR definition(s) into pyport.h.
2001-08-08 10:28:06 +00:00
Tim Peters
fe71f81367
Part of SF patch [ #431848 ] mathmodule.c: doc strings & conversion, from
...
Peter Schneider-Kamp.
Clarified some docstrings in the spirit of the patch; left out the
degrees() and radians() functions (see the patch comments on SF).
2001-08-07 22:10:00 +00:00
Guido van Rossum
528b7eb0b0
- Rename PyType_InitDict() to PyType_Ready().
...
- Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c
(just for the heck of it, really -- we should either explicitly
ready all types, or none).
2001-08-07 17:24:28 +00:00
Jack Jansen
f249addeed
Got rid of (hopefully) the last 68k-mac related ifdefs.
2001-08-07 15:32:37 +00:00
Martin v. Löwis
bcf4b35871
Add more constants. Contributed by itojun.
2001-08-04 22:37:23 +00:00
Martin v. Löwis
864e9ffb14
Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the three
...
exception classes in the module dictionary.
2001-08-04 22:32:03 +00:00
Martin v. Löwis
ae26dc23a9
Do not use the system getaddrinfo on Mac OS X. Fixes bug #445928 .
...
Since getnameinfo is not implemented, remove __APPLE__ check here.
2001-08-03 10:02:29 +00:00