]> granicus.if.org Git - python/log
python
24 years agoWhitespace normalization.
Tim Peters [Tue, 16 Jan 2001 07:12:46 +0000 (07:12 +0000)]
Whitespace normalization.

24 years agodoctest-- The Little Module That Could --finally makes it to the Big Show <wink>.
Tim Peters [Tue, 16 Jan 2001 07:10:57 +0000 (07:10 +0000)]
doctest-- The Little Module That Could --finally makes it to the Big Show <wink>.

24 years agofixed a memory leak in pattern cleanup (patch #103248 by cgw)
Fredrik Lundh [Tue, 16 Jan 2001 07:05:29 +0000 (07:05 +0000)]
fixed a memory leak in pattern cleanup (patch #103248 by cgw)

24 years agoFix for SF bug #123625: some newsservers need 'authinfo' *before* 'mode
Thomas Wouters [Tue, 16 Jan 2001 06:35:14 +0000 (06:35 +0000)]
Fix for SF bug #123625: some newsservers need 'authinfo' *before* 'mode
readers', others *after*. (Netscape Collabra for the first category,
INN-which-forks-nnrpd for the second.)

24 years agoPlug memory leak.
Neil Schemenauer [Tue, 16 Jan 2001 04:27:47 +0000 (04:27 +0000)]
Plug memory leak.

24 years agoAdd strip_dir argument to the single call to .object_filenames(), to
Andrew M. Kuchling [Tue, 16 Jan 2001 03:10:43 +0000 (03:10 +0000)]
Add strip_dir argument to the single call to .object_filenames(), to
    prevent creating files such as build/lib.whatever/Modules/foo.o
    when given a source filename such as Modules/foo.c.

24 years agoVariant of Skip's patch 103246 (Remove unneeded string exception compat from Queue).
Tim Peters [Mon, 15 Jan 2001 22:53:46 +0000 (22:53 +0000)]
Variant of Skip's patch 103246 (Remove unneeded string exception compat from Queue).

24 years agoUgh. Sorry. Checked in the wrong file. Please ignore revision 1.3;
Ka-Ping Yee [Mon, 15 Jan 2001 22:27:06 +0000 (22:27 +0000)]
Ugh.  Sorry.  Checked in the wrong file.  Please ignore revision 1.3;
it anticipates another patch i was about to propose.

24 years agobetter format names and error messages
Ka-Ping Yee [Mon, 15 Jan 2001 22:21:39 +0000 (22:21 +0000)]
better format names and error messages

24 years agoThis patch makes sure that the function name always appears in the error
Ka-Ping Yee [Mon, 15 Jan 2001 22:14:16 +0000 (22:14 +0000)]
This patch makes sure that the function name always appears in the error
message, and tries to make the messages more consistent and helpful when
the wrong number of arguments or duplicate keyword arguments are supplied.
Comes with more tests for test_extcall.py and and an update to an error
message in test/output/test_pyexpat.

24 years agoAdd tokenizer support and tests for u'', U"", uR'', Ur"", etc.
Ka-Ping Yee [Mon, 15 Jan 2001 22:04:30 +0000 (22:04 +0000)]
Add tokenizer support and tests for u'', U"", uR'', Ur"", etc.

24 years agoAdd a test case suggested by Guido, where a method is created with the
Barry Warsaw [Mon, 15 Jan 2001 21:00:02 +0000 (21:00 +0000)]
Add a test case suggested by Guido, where a method is created with the
new module.

24 years agoeffbot caught a typo!
Barry Warsaw [Mon, 15 Jan 2001 20:51:40 +0000 (20:51 +0000)]
effbot caught a typo!

24 years agoAdd a NEWS item about function attributes.
Barry Warsaw [Mon, 15 Jan 2001 20:43:18 +0000 (20:43 +0000)]
Add a NEWS item about function attributes.

24 years agoCommitting PEP 232, function attribute feature, approved by Guido.
Barry Warsaw [Mon, 15 Jan 2001 20:40:19 +0000 (20:40 +0000)]
Committing PEP 232, function attribute feature, approved by Guido.
Closes SF patch #103123.

funcobject.h:

    PyFunctionObject: add the func_dict slot.

funcobject.c:

    PyFunction_New(): Initialize the func_dict slot to NULL.

    func_getattr(): Rename to func_getattro() and change the
    signature.  It's more efficient to use attro methods and dig the C
    string out than it is to re-convert a C string to a PyString.

    Also, add support for getting the __dict__ (a.k.a. func_dict)
    attribute, and for getting an arbitrary function attribute.

    func_setattr(): Rename to func_setattro() and change the signature
    for the same reason.  Also add support for setting __dict__
    (a.k.a. func_dict) and any arbitrary function attribute.

    func_dealloc(): Be sure to DECREF the func_dict slot.

    func_traverse(): Be sure to traverse func_dict too.

    PyFunction_Type: make the necessary func_?etattro() changes.

classobject.c:

    instancemethod_memberlist: Add __dict__

    instancemethod_setattro(): New method to set arbitrary attributes
    on methods (really the underlying im_func).  Raise TypeError when
    the instance is bound or when you're trying to set one of the
    reserved im_* attributes.

    instancemethod_getattr(): Renamed to instancemethod_getattro()
    since that's what it really is.  Also, added support fo getting
    arbitrary attributes through the im_func.

    PyMethod_Type: Do the ?etattr{,o} dance.

24 years agoCommitting PEP 232, function attribute feature, approved by Guido.
Barry Warsaw [Mon, 15 Jan 2001 20:30:15 +0000 (20:30 +0000)]
Committing PEP 232, function attribute feature, approved by Guido.
Closes SF patch #103123.

Regression test for function attributes, with output file.

24 years agoDocument function attributes for both the function type and the method
Barry Warsaw [Mon, 15 Jan 2001 20:28:50 +0000 (20:28 +0000)]
Document function attributes for both the function type and the method
type.  The method documentation also includes a new brief discussion
of `bound' vs. `unbound' and why setting an attr on a bound method is
a TypeError.  Includes Skip's suggested text.

24 years agoAdd note about new and improved xrange().
Guido van Rossum [Mon, 15 Jan 2001 19:11:10 +0000 (19:11 +0000)]
Add note about new and improved xrange().

24 years agoSF patch #103158 by Greg Ball: Don't do unsafe arithmetic in xrange
Guido van Rossum [Mon, 15 Jan 2001 18:58:56 +0000 (18:58 +0000)]
SF patch #103158 by Greg Ball: Don't do unsafe arithmetic in xrange
object.

This fixes potential overflows in xrange()'s internal calculations on
64-bit platforms.  The fix is complicated because the sq_length slot
function can only return an int; we want to support
xrange(sys.maxint), which is a 64-bit quantity on most 64-bit
platforms (except Win64).  The solution is hacky but the best
possible: when the range is that long, we can use it in a for loop but
we can't ask for its length (nor can we actually iterate beyond
2**31-1, because the sq_item slot function has the same restrictions
on its arguments.  Fixing those restrictions is a project for another
day...

24 years ago- Make sure to quote the username and password (SF patch #103236 by
Guido van Rossum [Mon, 15 Jan 2001 18:31:13 +0000 (18:31 +0000)]
- Make sure to quote the username and password (SF patch #103236 by
  dogfort).

- Don't drop the data argument when calling open_https() from the
  authentication error handler.

24 years agofrom the really-stupid-bug department: uppercase literals should match
Fredrik Lundh [Mon, 15 Jan 2001 18:28:14 +0000 (18:28 +0000)]
from the really-stupid-bug department: uppercase literals should match
uppercase strings also when the IGNORECASE flag is set (bug #128899)

(also added test cases for recently fixed bugs to the regression suite
-- or in other words, check in re_tests.py too...)

24 years agomwh@sourceforge found that UnicodeError can be raised by compiling.
Guido van Rossum [Mon, 15 Jan 2001 18:13:35 +0000 (18:13 +0000)]
mwh@sourceforge found that UnicodeError can be raised by compiling.
Its base class ValueError can be raised too, so catch that.

24 years agoFixing author's email address.
Barry Warsaw [Mon, 15 Jan 2001 17:08:45 +0000 (17:08 +0000)]
Fixing author's email address.

24 years agoCommitting patch #103216, autodetect of dbmmodule support and building
Barry Warsaw [Mon, 15 Jan 2001 17:07:21 +0000 (17:07 +0000)]
Committing patch #103216, autodetect of dbmmodule support and building
of dbmmodule dynamically by default (otherwise it can pull in
dependencies with libdb that croak pybsddb3).  This change moves the
Setup line for dbmmodule to Setup.config.in.

24 years agoGeoffrey Gerrietts discovered that a KeyError was caught that probably
Guido van Rossum [Mon, 15 Jan 2001 16:53:58 +0000 (16:53 +0000)]
Geoffrey Gerrietts discovered that a KeyError was caught that probably
should have been a NameError.  I'm checking in a change that catches
both, just to be sure -- I can't be bothered trying to understand this
code any more. :-)

24 years agoDocument changed default to passive mode.
Guido van Rossum [Mon, 15 Jan 2001 16:37:05 +0000 (16:37 +0000)]
Document changed default to passive mode.

24 years agoAdd note about ftplib defaulting to passive mode.
Guido van Rossum [Mon, 15 Jan 2001 16:36:08 +0000 (16:36 +0000)]
Add note about ftplib defaulting to passive mode.

24 years agoDefault to passive mode. See SF bug #126851.
Guido van Rossum [Mon, 15 Jan 2001 16:32:49 +0000 (16:32 +0000)]
Default to passive mode.  See SF bug #126851.

This is slightly controversial, but after reading the argumentation in
the bug tracker for and against, I believe this is the right solution.
Let me know if it breaks for you, and how.

24 years agoFix from Jack Jansen for the Mac and the Metrowerks compiler, posted
Andrew M. Kuchling [Mon, 15 Jan 2001 16:09:35 +0000 (16:09 +0000)]
Fix from Jack Jansen for the Mac and the Metrowerks compiler, posted
to the Distutils-SIG and archived at
http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html

24 years agoAdded a separate extension (.carbon.slb) for Carbon dynamic modules.
Jack Jansen [Mon, 15 Jan 2001 16:00:40 +0000 (16:00 +0000)]
Added a separate extension (.carbon.slb) for Carbon dynamic modules.

24 years agoRevert a change I accidentally checked in together with Ping's
Guido van Rossum [Mon, 15 Jan 2001 14:34:20 +0000 (14:34 +0000)]
Revert a change I accidentally checked in together with Ping's
"smallest patch ever".

24 years agoadded "magic" number to the _sre module, to avoid weird errors caused
Fredrik Lundh [Mon, 15 Jan 2001 12:46:09 +0000 (12:46 +0000)]
added "magic" number to the _sre module, to avoid weird errors caused
by compiler/engine mismatches

24 years agoSpeed getline_via_fgets(), by supplying two "fast paths", although one is
Tim Peters [Mon, 15 Jan 2001 10:36:56 +0000 (10:36 +0000)]
Speed getline_via_fgets(), by supplying two "fast paths", although one is
faster than the other.  Should be faster for Mark Favas's 254-character
mail log lines, and *is* 3-4% quicker for my test case with much shorter
lines (but they're typical of *my* text files, and I'm tired of optimizing
for everyone else at my expense <wink> -- in fact, the only one who loses
here is Guido ...).

24 years agoUse the "MS" getline hack (fgets()) by default on non-get_unlocked
Tim Peters [Mon, 15 Jan 2001 06:33:19 +0000 (06:33 +0000)]
Use the "MS" getline hack (fgets()) by default on non-get_unlocked
platforms.  See NEWS for details.

24 years agoWhitespace normalization. Top level of Lib now fixed-point for reindent.py!
Tim Peters [Mon, 15 Jan 2001 03:34:38 +0000 (03:34 +0000)]
Whitespace normalization.  Top level of Lib now fixed-point for reindent.py!

24 years agoWhitespace normalization.
Tim Peters [Mon, 15 Jan 2001 03:26:36 +0000 (03:26 +0000)]
Whitespace normalization.

24 years agoWhitespace normalization.
Tim Peters [Mon, 15 Jan 2001 01:36:40 +0000 (01:36 +0000)]
Whitespace normalization.

24 years agoWhitespace normalization.
Tim Peters [Mon, 15 Jan 2001 01:18:21 +0000 (01:18 +0000)]
Whitespace normalization.

24 years agoWhitespace normalization.
Tim Peters [Mon, 15 Jan 2001 00:50:52 +0000 (00:50 +0000)]
Whitespace normalization.

24 years ago-- don't use recursion for unbounded non-greedy repeat
Fredrik Lundh [Sun, 14 Jan 2001 23:55:55 +0000 (23:55 +0000)]
-- don't use recursion for unbounded non-greedy repeat
(bugs #115903, #115696)

This is based on a patch by Darrel Gallion.  I'm not 100%
sure about this fix, but I haven't managed to come up with
any test case it cannot handle...

24 years agoWhitespace normalization.
Tim Peters [Sun, 14 Jan 2001 23:47:14 +0000 (23:47 +0000)]
Whitespace normalization.

24 years agoWhitespace normalization.
Tim Peters [Sun, 14 Jan 2001 23:36:06 +0000 (23:36 +0000)]
Whitespace normalization.

24 years ago- Don't hardcode Unix filename syntax when opening ~/.pdbrc.
Guido van Rossum [Sun, 14 Jan 2001 23:29:48 +0000 (23:29 +0000)]
- Don't hardcode Unix filename syntax when opening ~/.pdbrc.
- Conform to standard coding style in a few more places.

24 years ago- Use mimetypes.types_map to initialize extensions_map.
Guido van Rossum [Sun, 14 Jan 2001 23:21:25 +0000 (23:21 +0000)]
- Use mimetypes.types_map to initialize extensions_map.
- Change the default file type to application/octet-stream.
- Add support to recognize .py, .c, .h files as text/plain (this is
  what I use most :-).

24 years agoSF Patch #103211.
Guido van Rossum [Sun, 14 Jan 2001 23:09:35 +0000 (23:09 +0000)]
SF Patch #103211.

Ping apparently doesn't check in Accepted patches, so I'm doing this
for him.

According to Ping: The name of the controller class should be
"Konqueror", not "Konquerer". (See the website
http://www.konqueror.org/.)

24 years agoMake the copyright message the same as for the "real" interpreter.
Guido van Rossum [Sun, 14 Jan 2001 23:04:22 +0000 (23:04 +0000)]
Make the copyright message the same as for the "real" interpreter.

24 years agoConfig file for shared carbon Python.
Jack Jansen [Sun, 14 Jan 2001 23:02:32 +0000 (23:02 +0000)]
Config file for shared carbon Python.

24 years agoAdded PythonCoreCarbon and PythonInterpreterCarbon targets.
Jack Jansen [Sun, 14 Jan 2001 23:01:36 +0000 (23:01 +0000)]
Added PythonCoreCarbon and PythonInterpreterCarbon targets.

24 years agoWhitespace normalization.
Tim Peters [Sun, 14 Jan 2001 21:54:20 +0000 (21:54 +0000)]
Whitespace normalization.

24 years agoSF Patch #103232 by dougfort: Preserve Nonstandard Port Number in Host
Guido van Rossum [Sun, 14 Jan 2001 21:03:01 +0000 (21:03 +0000)]
SF Patch #103232 by dougfort: Preserve Nonstandard Port Number in Host
Header

Dougfort's comments: httplib does not include ':port ' in the HTTP 1.1
'Host:' header.  This causes problems if the server is not listening
on Port 80.  The test case I use is the login to /manage under Zope,
with Zope listening on port 8080. Zope returns a <frameset> with the
<frame> source URLs lacking the :8080.

24 years agoSRE: stricter pattern syntax checking (covers parts of bug #115900)
Fredrik Lundh [Sun, 14 Jan 2001 21:00:44 +0000 (21:00 +0000)]
SRE: stricter pattern syntax checking (covers parts of bug #115900)

24 years agoWhitespace standardization.
Tim Peters [Sun, 14 Jan 2001 18:09:23 +0000 (18:09 +0000)]
Whitespace standardization.

24 years agoreapplied Fred's "recommended style" patch...
Fredrik Lundh [Sun, 14 Jan 2001 15:15:37 +0000 (15:15 +0000)]
reapplied Fred's "recommended style" patch...

24 years agoSRE fixes for 2.1 alpha:
Fredrik Lundh [Sun, 14 Jan 2001 15:06:11 +0000 (15:06 +0000)]
SRE fixes for 2.1 alpha:

-- added some more docstrings
-- fixed typo in scanner class (#125531)
-- the multiline flag (?m) should't affect the \Z operator (#127259)
-- fixed non-greedy backtracking bug (#123769, #127259)
-- added sre.DEBUG flag (currently dumps the parsed pattern structure)
-- fixed a couple of glitches in groupdict (the #126587 memory leak
   had already been fixed by AMK)

24 years agoDocument filterwarnings(..., append=<bool>).
Guido van Rossum [Sun, 14 Jan 2001 14:10:18 +0000 (14:10 +0000)]
Document filterwarnings(..., append=<bool>).

24 years ago- Added keyword argument 'append' to filterwarnings(); if true, this
Guido van Rossum [Sun, 14 Jan 2001 14:08:40 +0000 (14:08 +0000)]
- Added keyword argument 'append' to filterwarnings(); if true, this
  appends to list of filters instead of inserting at the front.  This
  is useful to add a filter with a lower priority than -W options.

- Cosmetic improvements to a docstring and an error message.

24 years agoReverting a dumb experimental version I checked in by mistake.
Tim Peters [Sun, 14 Jan 2001 05:12:40 +0000 (05:12 +0000)]
Reverting a dumb experimental version I checked in by mistake.

24 years agoSF bug 128713: type(mmap_object) blew up on Linux.
Tim Peters [Sun, 14 Jan 2001 05:05:51 +0000 (05:05 +0000)]
SF bug 128713:  type(mmap_object) blew up on Linux.

24 years agoAdded Jeffery Collins.
Tim Peters [Sun, 14 Jan 2001 05:04:40 +0000 (05:04 +0000)]
Added Jeffery Collins.

24 years agoFix a variety of minor nits and typos caught by Chris Ryland
Fred Drake [Sun, 14 Jan 2001 02:57:14 +0000 (02:57 +0000)]
Fix a variety of minor nits and typos caught by Chris Ryland
<cpr@emsoftware.com>.

24 years agomwh: [ Patch #103228 ] traceback.py nit.
Guido van Rossum [Sat, 13 Jan 2001 22:14:31 +0000 (22:14 +0000)]
mwh: [ Patch #103228 ] traceback.py nit.

When the exception has no message, don't insert a colon after the
exception name.

24 years agoSF Patch #103227 by mwh: make code.py appreciate softspace
Guido van Rossum [Sat, 13 Jan 2001 22:10:41 +0000 (22:10 +0000)]
SF Patch #103227 by mwh: make code.py appreciate softspace

24 years agoNeil discovered a bad DECREF on warnoptions, that caused repeated
Guido van Rossum [Sat, 13 Jan 2001 22:06:05 +0000 (22:06 +0000)]
Neil discovered a bad DECREF on warnoptions, that caused repeated
re-initializing Python (Py_Finalize() followed by Py_Initialize()) to
blow up quickly.  With the DECREF removed I can't get it to fail any
more.  (Except it still leaks, but that's probably a separate issue.)

24 years agoNo text file relying on significant trailing whitespace is robust under
Tim Peters [Sat, 13 Jan 2001 19:16:21 +0000 (19:16 +0000)]
No text file relying on significant trailing whitespace is robust under
modification.  Removed the need for that.

24 years agoSF Patch #103225 by Ping: httplib: smallest Python patch ever
Guido van Rossum [Sat, 13 Jan 2001 16:55:33 +0000 (16:55 +0000)]
SF Patch #103225 by Ping: httplib: smallest Python patch ever

  The ASCII-art diagram at the top of httplib contains a backslash at
  the end of a line, which causes Python to remove the newline. This
  one-character patch adds a space after the backslash so it will
  appear at the end of the line in the docstring as intended.

24 years agoMention new curses.panel module
Andrew M. Kuchling [Sat, 13 Jan 2001 14:53:34 +0000 (14:53 +0000)]
Mention new curses.panel module

24 years agoDocument extensions to .pth files.
Martin v. Löwis [Sat, 13 Jan 2001 09:54:41 +0000 (09:54 +0000)]
Document extensions to .pth files.

24 years agoFix stupidity.
Tim Peters [Sat, 13 Jan 2001 03:45:59 +0000 (03:45 +0000)]
Fix stupidity.

24 years agoGuido found a brand new race in tempfile on Linux, due to Linux changing
Tim Peters [Sat, 13 Jan 2001 03:04:02 +0000 (03:04 +0000)]
Guido found a brand new race in tempfile on Linux, due to Linux changing
pid across threads (but in that case, it's still the same process, and so
still sharing the "template" cache in tempfile.py).  Repaired that, and
added a new std test.
On Linux, someone please run that standalone with more files and/or more
threads; e.g.,

    python lib/test/test_threadedtempfile.py -f 1000 -t 10

to run with 10 threads each creating (and deleting) 1000 temp files.

24 years agoFixed Carbon command-dot handling. There is still a problem, though, and you may...
Jack Jansen [Fri, 12 Jan 2001 23:42:28 +0000 (23:42 +0000)]
Fixed Carbon command-dot handling. There is still a problem, though, and you may have to hit it repeatedly.

24 years agoGot rid of ifdefs to enable MacTCP GUSI support, Open Transport always works fine...
Jack Jansen [Fri, 12 Jan 2001 23:41:46 +0000 (23:41 +0000)]
Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works fine nowadays.

24 years agoThe interruptRoutine attribute is gone under Carbon. Luckily it appears that nothing...
Jack Jansen [Fri, 12 Jan 2001 23:39:59 +0000 (23:39 +0000)]
The interruptRoutine attribute is gone under Carbon. Luckily it appears that nothing used it.

24 years agoSetpopupData and GetPopupData are gone under Carbon, use {Get,Set}PopupMenu{Handle...
Jack Jansen [Fri, 12 Jan 2001 23:39:00 +0000 (23:39 +0000)]
SetpopupData and GetPopupData are gone under Carbon, use {Get,Set}PopupMenu{Handle,ID} in stead.
The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled.

24 years agoxstat() will never be implemented under Carbon. Fortunately it also doesn't appear...
Jack Jansen [Fri, 12 Jan 2001 23:37:14 +0000 (23:37 +0000)]
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.

24 years agoAlways use c2pstrcpy in stead of c2pstr, not only when compiling for carbon.
Jack Jansen [Fri, 12 Jan 2001 23:36:13 +0000 (23:36 +0000)]
Always use c2pstrcpy in stead of c2pstr, not only when compiling for carbon.

24 years agoAdded note that this module was added in Python 2.1.
Fred Drake [Fri, 12 Jan 2001 22:57:32 +0000 (22:57 +0000)]
Added note that this module was added in Python 2.1.

24 years agoUpdate the docstring for apply() so that "args" is marked as optional
Fred Drake [Fri, 12 Jan 2001 17:05:05 +0000 (17:05 +0000)]
Update the docstring for apply() so that "args" is marked as optional
(since it is).

24 years agoNews about from...import.
Guido van Rossum [Fri, 12 Jan 2001 16:25:08 +0000 (16:25 +0000)]
News about from...import.

24 years agoTwo changes to from...import:
Guido van Rossum [Fri, 12 Jan 2001 16:24:03 +0000 (16:24 +0000)]
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.

24 years ago(Modified) patch by Ping - SF Patch #102681.
Guido van Rossum [Fri, 12 Jan 2001 16:03:05 +0000 (16:03 +0000)]
(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)

24 years agoChange LONG_BIT error warning to mention glibc, too, since this is really
Andrew M. Kuchling [Fri, 12 Jan 2001 15:06:28 +0000 (15:06 +0000)]
Change LONG_BIT error warning to mention glibc, too, since this is really
    a glibc, not a gcc, problem.

24 years agoA variant of SF patch 103028 (Make tempfile.mktemp threadsafe).
Tim Peters [Fri, 12 Jan 2001 10:02:46 +0000 (10:02 +0000)]
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!).

24 years agoWhen compiling for GUSI and Carbon disable te "keep open on unseen output", for the...
Jack Jansen [Thu, 11 Jan 2001 23:04:32 +0000 (23:04 +0000)]
When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being.

24 years agoDisabled a few other routines that are available in CarbonLib.
Jack Jansen [Thu, 11 Jan 2001 23:03:56 +0000 (23:03 +0000)]
Disabled a few other routines that are available in CarbonLib.

24 years agoAdded GUSI-Carbon targets (both threading and nonthreading), and they work!! YEAH!!!
Jack Jansen [Thu, 11 Jan 2001 23:03:20 +0000 (23:03 +0000)]
Added GUSI-Carbon targets (both threading and nonthreading), and they work!! YEAH!!!

24 years agoUpdated descriptions to incorporate additional information from Tim Peters.
Fred Drake [Thu, 11 Jan 2001 22:49:49 +0000 (22:49 +0000)]
Updated descriptions to incorporate additional information from Tim Peters.
This mostly closes SF bug #128251.

24 years agoExport mmap's entry point under Windows (thanks, MarkH & Guido!).
Tim Peters [Thu, 11 Jan 2001 22:46:45 +0000 (22:46 +0000)]
Export mmap's entry point under Windows (thanks, MarkH & Guido!).

24 years agoDocument \code{import} in pth files.
Martin v. Löwis [Thu, 11 Jan 2001 22:07:25 +0000 (22:07 +0000)]
Document \code{import} in pth files.

24 years agoFixed minor markup nits for consistency with the rest of the library
Fred Drake [Thu, 11 Jan 2001 16:02:08 +0000 (16:02 +0000)]
Fixed minor markup nits for consistency with the rest of the library
reference.

24 years agoConform the new module to /the/ C style.
Thomas Wouters [Thu, 11 Jan 2001 15:40:39 +0000 (15:40 +0000)]
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.

24 years agoDelete unused import of pprint module
Andrew M. Kuchling [Thu, 11 Jan 2001 15:35:16 +0000 (15:35 +0000)]
Delete unused import of pprint module

24 years agoTypo.
Guido van Rossum [Thu, 11 Jan 2001 15:00:14 +0000 (15:00 +0000)]
Typo.

24 years agoMove the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters [Thu, 11 Jan 2001 14:46:40 +0000 (14:46 +0000)]
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.)

24 years agoPatch #103134: Support import lines in pth files.
Martin v. Löwis [Thu, 11 Jan 2001 13:02:43 +0000 (13:02 +0000)]
Patch #103134: Support import lines in pth files.

24 years agoFixed bugs noted by Greg Stein
Moshe Zadka [Thu, 11 Jan 2001 11:55:37 +0000 (11:55 +0000)]
Fixed bugs noted by Greg Stein
* x wasn't initialized to NULL
* Did not DECREF result from displayhook function

24 years agoAdded pointer on POP3 variations.
Eric S. Raymond [Thu, 11 Jan 2001 10:22:34 +0000 (10:22 +0000)]
Added pointer on POP3 variations.

24 years agostdout is sometimes a macro; use "outf" instead.
Greg Stein [Thu, 11 Jan 2001 09:27:34 +0000 (09:27 +0000)]
stdout is sometimes a macro; use "outf" instead.

Submitted by: Mark Favas <m.favas@per.dem.csiro.au>

24 years agoImplementation of PEP-0217.
Moshe Zadka [Thu, 11 Jan 2001 05:41:27 +0000 (05:41 +0000)]
Implementation of PEP-0217.
This closes the PEP, and patch 103170

24 years agoCorrections and additions to the documentation for POP3 and IMAP library
Eric S. Raymond [Thu, 11 Jan 2001 04:19:52 +0000 (04:19 +0000)]
Corrections and additions to the documentation for POP3 and IMAP library
support, based on my fetchmail experience.

24 years agoAdd missing Py_DECREF in fast_cfunction. Partial fix for SF bug
Charles G. Waldman [Wed, 10 Jan 2001 22:11:59 +0000 (22:11 +0000)]
Add missing Py_DECREF in fast_cfunction.  Partial fix for SF bug
#127699.