Tim Peters
231e22facb
Repair legit compiler warning.
2001-02-02 21:10:53 +00:00
Jeremy Hylton
dbfb66296c
fix a couple last-minute bugs in the raw socket support
2001-02-02 19:55:17 +00:00
Jeremy Hylton
5e7cb240af
Add minimal interface to symtable: _symtable module.
2001-02-02 18:24:26 +00:00
Marc-André Lemburg
bc7cbcbc8f
Added new Python C API _test module to the build mechanism on Unix.
2001-02-02 12:07:22 +00:00
Tim Peters
9ea17ac595
Patch derived from Trent's 101162: a Python/C API testing framework.
...
STILL NEEDS UNIX BUILD CHANGES.
2001-02-02 05:57:15 +00:00
Jeremy Hylton
2230865043
SF patch 101137 from Grant Edwards
...
Adds support for raw packets (AF_PACKET) under Linux. I haven't
tested this code thoroughly; it compiles and the basic calls all work
without crashing. Not sure what to actually do with raw sockets though.
Not sure what other platforms this might be useful for.
2001-02-02 03:23:09 +00:00
Tim Peters
747d5b63db
Teach Windows build about the _weakref module.
2001-02-02 00:07:07 +00:00
Jeremy Hylton
42dd01add5
An ssl-wrapped socket now returns '' on EOF, just like a regular
...
socket -- as suggested by Clarence Gardner.
Fix httplib to comply with the new ssl-socket interface.
2001-02-01 23:35:20 +00:00
Jeremy Hylton
6fe0a82ecb
move extra arguments to the back of the new.code() arglist
2001-02-01 19:50:29 +00:00
Fred Drake
41deb1efc2
PEP 205, Weak References -- initial checkin.
2001-02-01 05:27:45 +00:00
Fred Drake
2de7471d69
Add entries for the weakref module to the build control.
2001-02-01 05:26:54 +00:00
Tim Peters
ee826f88c9
Docs for new Windows zlib build procedure.
2001-01-31 19:39:44 +00:00
Mark Hammond
ae8c268a2b
Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash
...
This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
2001-01-31 10:28:03 +00:00
Mark Hammond
0850137fe4
Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpopen.exe.
...
"Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself. So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons:
* Embedded apps that set sys.prefix or use PYTHONHOME will work
* The exception raised on failure to find the executable is far more obvious
2001-01-31 07:30:29 +00:00
Mark Hammond
64aae6695f
Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows.
2001-01-31 05:38:47 +00:00
Jeremy Hylton
55087f0c35
Cleanup logic a little. Check args first, then try to create the
...
object. This avoids creation + decref if bogus arguments are passed.
2001-01-29 22:46:35 +00:00
Andrew M. Kuchling
2d339f9369
Patch #103485 from Donn Cave: patches to make the module compile on AIX and
...
NetBSD
2001-01-29 20:47:59 +00:00
Andrew M. Kuchling
e1c4352f98
Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined
...
in term.h
2001-01-29 20:31:29 +00:00
Andrew M. Kuchling
e7c6691796
Add back most of the old contents of Setup.dist, with all the modules
...
commented out.
2001-01-29 20:13:11 +00:00
Andrew M. Kuchling
399b8af563
Bug #130117 : add a prototype required to compile cleanly on IRIX
...
(contributed by Paul Jackson)
2001-01-28 18:10:23 +00:00
Fred Drake
ceb2bff09e
new_instance(): Use PyInstance_NewRaw() instead of knowing too much
...
about the internal initialization of instance objects. Make the
dict parameter optional, and allow None as equivalent to omission.
2001-01-28 03:55:09 +00:00
Neil Schemenauer
09ac1fde1c
Fix a typo.
2001-01-27 21:43:40 +00:00
Fred Drake
2174f80c66
init_curses_panel(): Be more consistent with indentation and blank lines.
2001-01-27 18:58:04 +00:00
Andrew M. Kuchling
93b747efce
Bug #129904 : Put back the path component for the Tkinter modules
2001-01-27 01:31:35 +00:00
Neil Schemenauer
83356ef31d
- Use PY_CFLAGS when compile modules that will be part of the interpreter.
...
- Put shared modules in the same place as object files.
2001-01-26 16:22:26 +00:00
Guido van Rossum
2b597e4f54
Correct one-line typo, reported by yole @ SF, bug 130077.
2001-01-25 22:12:43 +00:00
Jeremy Hylton
78dc825a41
Fix arguments for PyFrame_New(). The previous checkin used the wrong
...
arguments, which were based on an interim development API.
2001-01-25 21:48:14 +00:00
Jeremy Hylton
903f654ac9
PEP 227 implementation
...
Track changes to PyFrame_New() and PyFuntion_New().
2001-01-25 20:07:56 +00:00
Sjoerd Mullender
82e00d6350
Let's keep things portable to non GCC compilers, please.
...
You can only use mult-line strings in C if each line ends in \.
2001-01-25 10:10:39 +00:00
Barry Warsaw
bd3dc1f0cb
lockf_doc: a much better description of the lockf() function, based on
...
an eyeballing of the code.
2001-01-25 00:20:13 +00:00
Guido van Rossum
05bbb9a8fb
The array type was missing the Py_TPFLAGS_DEFAULT initializer for the
...
tp_flags. This will become important when I introduce
Py_TPFLAGS_HAVE_RICHCOMPARE (as I should have!).
2001-01-24 21:44:21 +00:00
Neil Schemenauer
d32a337cf3
Changes for flat makefile. Building of modules happens from toplevel
...
directory. Modify meaning of -s option to specify the Modules directory.
Add -l option to specify library source directory when building extension
modules. Perhaps these names should be switched to avoid breaking old
code. Add -c compiler option to when emitting rules to build object files.
2001-01-24 17:16:22 +00:00
Neil Schemenauer
6cf0702a79
Build now happens in toplevel directory, not Modules. Don't monkey with
...
VPATH.
2001-01-24 17:13:11 +00:00
Fredrik Lundh
9f30b753b2
ucnhash is no longer used
2001-01-24 08:20:40 +00:00
Fredrik Lundh
42e655908a
ucnhash is no longer used
2001-01-24 08:02:00 +00:00
Fredrik Lundh
06d126803c
Move uchhash functionality into unicodedata (after the recent
...
crop of changes, the files are small enough to do this). Also
adds "name" and "lookup" functions to unicodedata.
2001-01-24 07:59:11 +00:00
Barry Warsaw
9ac33509de
_PyImport_Inittab: define the exceptions module's init function.
...
Fixes bug #121706 .
2001-01-23 21:46:57 +00:00
Guido van Rossum
d0e74eac6b
Clean up some comments and the default VERSION.
2001-01-23 01:57:40 +00:00
Guido van Rossum
25b163d579
Get rid of weird @SET_CXX@ and @SET_DLLLIBRARY@ macro occurrences.
2001-01-23 01:54:07 +00:00
Guido van Rossum
2528b19a86
Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete()
...
and PyEval_ReleaseThread().
This fixes SF bug #125673 PyThreadState_Delete: invalid tstate (Unix
only?).
2001-01-23 01:47:18 +00:00
Guido van Rossum
a120ffcf12
SF Patch #103185 , by jlt63: Some more standard modules cleanup for Cygwin
2001-01-22 15:29:14 +00:00
Martin v. Löwis
3af7cc034c
Fix off-by-one error in array size.
2001-01-22 08:19:10 +00:00
Fredrik Lundh
d852e46be4
unicodedatabase.[ch] are no longer used.
2001-01-22 07:28:10 +00:00
Fredrik Lundh
f147c30199
removed unicodedatabase.[ch] references from Makefile.pre.in.
...
also added unicodename_db.h dependency to ucnhash.
2001-01-22 07:25:44 +00:00
Tim Peters
e815786858
Fixed teensy memory leak, but doesn't help test_sax on Windows.
2001-01-22 03:20:55 +00:00
Thomas Wouters
e75e6d06d2
Move declaration of 'clnt_create()' NIS function to pyport.h, as it's
...
supposed to be declared in system include files (with a proper prototype.)
Should be moved to a platform-specific block if anyone finds out which
broken platforms need it :-)
2001-01-21 23:34:12 +00:00
Fredrik Lundh
b2dfd73bdc
Unicode nits: Don't include unicodedatabase.h no more. And make sure
...
to build *all* tables in makeunicodedata.py.
2001-01-21 23:31:52 +00:00
Fredrik Lundh
7b7dd107b3
compress unicode decomposition tables (this saves another 55k)
2001-01-21 22:41:08 +00:00
Fredrik Lundh
9e9bcda547
forgot to check in the new makeunicodedata.py script
2001-01-21 17:01:31 +00:00
Martin v. Löwis
6512dbd5be
Fix typo: MICRO instead of MINOR.
2001-01-21 10:22:12 +00:00