Charles G. Waldman
eec72a7fd9
Add missing Py_DECREF in fast_cfunction. Partial fix for SF bug
...
#127699 .
2001-01-10 22:11:59 +00:00
Guido van Rossum
2a78cf2288
SF Patch #102357 by bbum: Add support for frameworks and objective-c
...
source. Uesful for both GnuStep and for OSXS/OSX/Darwin.
(Note: I changed $(CCC) to $(CXX) since that's now the name of the C++
compiler. Please test!
2001-01-10 21:46:05 +00:00
Guido van Rossum
acb14c716f
SF Patch #102362 by bbum: Support dynamic module loading under OSX
...
[including support for modules w/Objective-C].
2001-01-10 21:41:16 +00:00
Guido van Rossum
fef124346e
Oops, one more part of the cygwin patch (SF patch #102409 by jlt63:
...
Cygwin Python DLL and Shared Extension Patch). Add module.dll as a
valid extension.
jlt63 writes: Note that his change essentially backs out the fix for
bug #115973 . Should ".pyd" be retained instead for posterity?
2001-01-10 21:17:27 +00:00
Guido van Rossum
b961920ff4
Final part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
...
Extension Patch.
These are the changes to the Modules Makefile and makesetup script for
Cygwin.
2001-01-10 21:12:18 +00:00
Guido van Rossum
aef734b182
Part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
...
Extension Patch.
Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
2001-01-10 21:09:12 +00:00
Guido van Rossum
5a53019b0d
Part of SF patch #102409 by jlt63 to support building these modules
...
under CYGWIN as shared libraries (DLLs).
2001-01-10 21:03:32 +00:00
Guido van Rossum
4c3f57cf05
SF Patch #103154 by jlt63: Cygwin Check Import Case Patch.
...
Note: I've reordered acconfig.h and config.h.in to obtain alphabetical
order (modulo case and leading _).
2001-01-10 20:40:46 +00:00
Guido van Rossum
f61f166bca
Added a whole slew of news items. Not striving for completeness --
...
I've skipped all bugfixes, Unicode, distutils changes. But this
should be a start!
2001-01-10 20:13:55 +00:00
Eric S. Raymond
8321026ff4
SourceForge patch #103140 , checked in at fdrake's invitation. Minor fixes and
...
additions to library docs.#
2001-01-10 19:34:52 +00:00
Guido van Rossum
62c11155eb
Adapted version of SF Patch #103173 by pyretic: make uu.decode work
...
with spaces in filename.
I changed the module to use string methods instead of the string
module. Also, instead of stripping the last character of the filename
(assuming this is the linefeed), I strip trailing whitespace (assuming
creating files with trailing whitespace in their name cannot possibly
be a wise idea).
(Note that I believe that /F's "workaround for broken uuencoders" is
no longer needed since the recent fix to binascii.c, but I'll leave it
in since it appears pretty harmless.)
2001-01-10 19:14:28 +00:00
Guido van Rossum
3d15bd8806
Adapted version of Eric Raymond's patches to automatically configure
...
curses and readline (for Linux, at least).
These are done as shared libraries by default, and so is bsddb -- that
seems to make the most sense.
2001-01-10 18:53:48 +00:00
Guido van Rossum
3559d1f9b3
Add loop.c -- a test program for repeatedly calling Py_Initialize()
...
and Py_Finalize(). It seems to dump core right now...
2001-01-10 17:11:51 +00:00
Guido van Rossum
7339f4c72d
Fix weird typo caused by ANSIfication (nobody bothered to test it
...
since! :-( ).
2001-01-10 17:09:00 +00:00
Marc-André Lemburg
ef34274d3b
Moved the test codec definition to a new module and updated the test and
...
codec to test all charmap codec features.
As side-effect of moving the test codec into a new module, the encodings
package codec import mechanism is checked as well.
2001-01-10 10:21:11 +00:00
Tim Peters
0d9f9dcf67
Windows mmap should (as the docs probably <wink> say) create a mapping
...
without a name when the optional tagname arg isn't specified. Was
actually creating a mapping with an empty string as the name.
2001-01-10 05:42:18 +00:00
Fred Drake
fe338ca540
Fix a typo, remove one copy of a duplicated name.
2001-01-10 05:33:38 +00:00
Tim Peters
140d67081c
Make Windows build compile new xreadlinesmodule.
2001-01-09 23:27:12 +00:00
Tim Peters
58c82f0b56
Assorted xreadlines problems:
...
Wasn't built on Windows; not in config.c either.
Module init function missing DL_EXPORT magic.
test_xreadline output file obviously wrong (started w/ "test_xrl").
test program very unclear about what was expected.
2001-01-09 23:26:39 +00:00
Fred Drake
675e1d0a0d
Remove bogus "echo" command.
2001-01-09 22:50:13 +00:00
Fred Drake
3c48ef7de8
Added documentation for the xreadlines module & related changes. The
...
documentation was written by Jeff Epler (thanks!).
2001-01-09 22:47:46 +00:00
Jack Jansen
92f4b366cb
Resurrected Small Carbon Python as a target in PythonStandSmall. Still no GUSI, though, so no socket/select/threads.
2001-01-09 22:27:24 +00:00
Jack Jansen
ebadcb1c1d
FSSpec names may be longer on carbon (1024 chars), cater for that in buffer sizes.
2001-01-09 22:25:49 +00:00
Jack Jansen
91faef83ca
Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.
2001-01-09 22:24:56 +00:00
Jack Jansen
6ff228c6d2
If we're not using GUSI the "keep open on unseen output" becomes the same as "always keep open".
2001-01-09 22:24:06 +00:00
Jack Jansen
e7bfc915da
Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc.
2001-01-09 22:22:58 +00:00
Jack Jansen
a9e3db354d
Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-(
2001-01-09 22:10:16 +00:00
Jack Jansen
0d202b7403
Various tweaks to make it everything build and compile again under carbon. Mainly greylisted functions.
2001-01-09 22:09:31 +00:00
Fred Drake
42181dba8e
Added a --global-module-index option to specify a (possibly relative) URL
...
to the Global Module Index for a set of documents. This is used to include
a reference to the global index from the per-document module indexes, so
that it is just a little easier to find.
(Someone suggested this, but I do not remember who. Please let me know if
it was you -- thanks!)
2001-01-09 22:02:10 +00:00
Guido van Rossum
e07d5cf966
Jeff Epler's patch adding an xreadlines() method. (It just imports
...
the xreadlines module and lets it do its thing.)
2001-01-09 21:50:24 +00:00
Guido van Rossum
07b78a8778
Test for xreadline.
2001-01-09 21:47:44 +00:00
Guido van Rossum
ea3375d96b
Jeff Epler's xreadlines module, with slight reformatting and some
...
changes for safety and tuning.
2001-01-09 21:46:50 +00:00
Fred Drake
c49480ed51
Miscellaneous updates.
2001-01-09 21:40:52 +00:00
Fred Drake
347a62505c
Steve Holden <sholden@holdenweb.com>:
...
Clarify the handling of characters following backslashes in raw strings.
2001-01-09 21:38:16 +00:00
Fred Drake
d5f0198dec
Added names.
2001-01-09 20:55:09 +00:00
Fred Drake
986eafdc2b
Added missing word; fixed minor nits.
2001-01-09 20:54:15 +00:00
Fred Drake
37f1b34b62
Added entry for fpectl module documentation.
...
Moved the mutex docs to be adjacent to the sched docs, since these are
meant to be used together (if they are used at all!).
2001-01-09 20:52:49 +00:00
Fred Drake
fa214cca61
Added entry for fpectl module documentation.
2001-01-09 20:50:02 +00:00
Fred Drake
a5e7ad99d5
Documentation for the fpectl module, from Lee Busby. (Thanks!)
2001-01-09 20:38:54 +00:00
Andrew M. Kuchling
705a3ada6f
Check in patch #102971 : if library_dirs is a string, split it using
...
os.pathsep
2001-01-09 03:15:47 +00:00
Andrew M. Kuchling
9d56cd100e
Patch #102953 : Fix bug #125452 , where shlex.shlex hangs when it
...
encounters a string with an unmatched quote, by adding a check for
EOF in the 'quotes' state.
2001-01-09 03:01:15 +00:00
Guido van Rossum
92d8917f83
Address a bug in the uuencode decoder, reported bu "donut" in SF bug
...
#127718 : '@' and '`' seem to be confused.
2001-01-09 02:11:57 +00:00
Guido van Rossum
dcf5715db1
Tsk, tsk, tsk. Treat FreeBSD the same as the other BSDs when defining
...
a fallback for TELL64. Fixes SF Bug #128119 .
2001-01-09 02:00:11 +00:00
Andrew M. Kuchling
a9586c7273
Remove configure test for getline(), since it's no longer used at all
2001-01-08 17:58:56 +00:00
Guido van Rossum
e2ad633051
Anonymous SF bug report #128053 point out that the #ifdef for
...
including "tmpfile" in the posix_methods[] array is wrong -- should be
HAVE_TMPFILE, not HAVE_TMPNAM.
2001-01-08 17:51:55 +00:00
Fred Drake
45b1d6a831
Explain that long options are matched based on a unique prefix rather than
...
requiring the whole option to be typed out.
This closes SF bug #126863 .
2001-01-08 16:05:51 +00:00
Fred Drake
e1fd5260ea
GetoptError is always initialized with exactly two parameters, so simplify
...
the constructor.
2001-01-08 15:39:32 +00:00
Moshe Zadka
b2a0a838e0
Fixed bug which caused HTTPS not to work at all with string URLs
2001-01-08 07:09:25 +00:00
Neil Schemenauer
010b0cc218
Fix a silly bug in float_pow. Sorry Tim.
2001-01-08 06:29:50 +00:00
Fred Drake
81473b12b7
The Python/C API deals in PyObject*, not PyDictObject*.
2001-01-08 05:53:53 +00:00