Jack Jansen
d9d0b5fab1
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.
2001-01-12 23:37:14 +00:00
Jack Jansen
bef8f68d84
Always use c2pstrcpy in stead of c2pstr, not only when compiling for carbon.
2001-01-12 23:36:13 +00:00
Fred Drake
1beb3d204f
Added note that this module was added in Python 2.1.
2001-01-12 22:57:32 +00:00
Fred Drake
f1fbc62a8c
Update the docstring for apply() so that "args" is marked as optional
...
(since it is).
2001-01-12 17:05:05 +00:00
Guido van Rossum
1cc8f83666
News about from...import.
2001-01-12 16:25:08 +00:00
Guido van Rossum
18d4d8f71d
Two changes to from...import:
...
1) "from M import X" now works even if M is not a real module; it's
basically a getattr() operation with AttributeError exceptions
changed into ImportError.
2) "from M import *" now looks for M.__all__ to decide which names to
import; if M.__all__ doesn't exist, it uses M.__dict__.keys() but
filters out names starting with '_' as before. Whether or not
__all__ exists, there's no restriction on the type of M.
2001-01-12 16:24:03 +00:00
Guido van Rossum
ad991775ab
(Modified) patch by Ping - SF Patch #102681 .
...
- Make error messages from issubclass() and isinstance() a bit more
descriptive (Ping, modified by Guido)
- Couple of tiny fixes to other docstrings (Ping)
- Get rid of trailing whitespace (Guido)
2001-01-12 16:03:05 +00:00
Andrew M. Kuchling
234fb632a3
Change LONG_BIT error warning to mention glibc, too, since this is really
...
a glibc, not a gcc, problem.
2001-01-12 15:06:28 +00:00
Tim Peters
1baa22aff0
A variant of SF patch 103028 (Make tempfile.mktemp threadsafe).
...
Tested on Windows. Should be tested on Linux. Should also be
tested on some platform without threads (I simulated that by
making the "import thread" fail, but that's not the same as
actually doing it!).
2001-01-12 10:02:46 +00:00
Jack Jansen
264630e855
When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being.
2001-01-11 23:04:32 +00:00
Jack Jansen
6ba34aa07f
Disabled a few other routines that are available in CarbonLib.
2001-01-11 23:03:56 +00:00
Jack Jansen
6993f27c82
Added GUSI-Carbon targets (both threading and nonthreading), and they work!! YEAH!!!
2001-01-11 23:03:20 +00:00
Fred Drake
ca7e1ee01a
Updated descriptions to incorporate additional information from Tim Peters.
...
This mostly closes SF bug #128251 .
2001-01-11 22:49:49 +00:00
Tim Peters
d8aaec04ba
Export mmap's entry point under Windows (thanks, MarkH & Guido!).
2001-01-11 22:46:45 +00:00
Martin v. Löwis
a177c40daf
Document \code{import} in pth files.
2001-01-11 22:07:25 +00:00
Fred Drake
49c9ac30a4
Fixed minor markup nits for consistency with the rest of the library
...
reference.
2001-01-11 16:02:08 +00:00
Thomas Wouters
9fdcf4ad39
Conform the new module to /the/ C style.
...
Noone but me cares, but Guido said to go ahead and fix it if it bothered me.
2001-01-11 15:40:39 +00:00
Andrew M. Kuchling
0d36206afd
Delete unused import of pprint module
2001-01-11 15:35:16 +00:00
Guido van Rossum
ae72d87822
Typo.
2001-01-11 15:00:14 +00:00
Thomas Wouters
ade16076a1
Move the _socket module closer to the SSL-_socket line (mmap and
...
xreadlines inserted themselves inbetween the two) and clarify that the
normal socket module should be commented out. (Someone also suggested the
latter on c.l.py some time ago, I forget who, sorry.)
2001-01-11 14:46:40 +00:00
Martin v. Löwis
bb0a4b7898
Patch #103134 : Support import lines in pth files.
2001-01-11 13:02:43 +00:00
Moshe Zadka
f5df3834eb
Fixed bugs noted by Greg Stein
...
* x wasn't initialized to NULL
* Did not DECREF result from displayhook function
2001-01-11 11:55:37 +00:00
Eric S. Raymond
ab78beca2f
Added pointer on POP3 variations.
2001-01-11 10:22:34 +00:00
Greg Stein
ceb9b7c700
stdout is sometimes a macro; use "outf" instead.
...
Submitted by: Mark Favas <m.favas@per.dem.csiro.au>
2001-01-11 09:27:34 +00:00
Moshe Zadka
f68f2fec7d
Implementation of PEP-0217.
...
This closes the PEP, and patch 103170
2001-01-11 05:41:27 +00:00
Eric S. Raymond
5ac97957f7
Corrections and additions to the documentation for POP3 and IMAP library
...
support, based on my fetchmail experience.
2001-01-11 04:19:52 +00:00
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