Jack Jansen
97e3f0060c
Disabled -prebind again when linking the interpreter on MacOSX. It caused
...
a serious slowdown when loading dynamic modules that depend on large shared
libraries or frameworks.
2003-02-23 22:59:01 +00:00
Jack Jansen
c2dd2f0966
Expect to skip test_iconv_codecs on MacOSX.
2003-02-23 22:56:58 +00:00
Neal Norwitz
71b13e8b4c
Fix SF bug #690081 , test_posix fails when run in non-interactive mode
...
Don't bother testing os.getlogin() if we aren't running from a tty (terminal)
It fails when run without a tty (e.g., when run from cron).
2003-02-23 22:12:24 +00:00
Neal Norwitz
c3bbeb3749
ossaudiodev has been building, so remove unnecessary pass and invalid comment
2003-02-23 21:47:05 +00:00
Neal Norwitz
3e59076b1d
Fix SF bug #690435 , apply fails to check if warning raises exception
...
(patch provided by Greg Chapman)
2003-02-23 21:45:43 +00:00
Neal Norwitz
7aba3d471f
Fix SF bug #691276 , shutil.copytree documentation bug
2003-02-23 21:36:47 +00:00
Neal Norwitz
a4c93b68f1
Fix SF bug #691276 , shutil.copytree documentation bug
...
Also use True/False instead of 1/0 for symlink flag.
2003-02-23 21:36:32 +00:00
Raymond Hettinger
61fe64d5de
User requested changes to the itertools module.
...
Subsumed times() into repeat().
Added cycle() and chain().
2003-02-23 04:40:07 +00:00
Michael W. Hudson
c85b6a2d4d
After the removal of SET_LINENO, PyCode_Addr2Line has always been
...
called to find tb_lineno -- even if Py_OptimizeFlag is true.
So don't call it again when printing the traceback.
2003-02-22 13:07:53 +00:00
Jack Jansen
d9bb1a0b01
Getting rid of macfs.
2003-02-21 23:18:48 +00:00
Jack Jansen
8cb1ff5e8b
Get rid of macfs.
2003-02-21 23:14:30 +00:00
Jack Jansen
5bb97e66dc
Checking mac-specific stuff from the 2.3a2 branch in on the trunk.
2003-02-21 22:33:55 +00:00
Jack Jansen
4c641d0ce1
getpid doesn't exist on MacOS9.
2003-02-21 22:29:45 +00:00
Guido van Rossum
be53242f49
Remove _reduce_2, it's now implemented in C.
2003-02-21 22:20:31 +00:00
Jack Jansen
2bc4a47c86
WASTEconst.py goes one level above the toolbox directory.
2003-02-21 22:11:45 +00:00
Guido van Rossum
036f999669
Implementing the salient parts of __reduce_ex__ in C.
...
This still falls back to helpers in copy_reg for:
- pickle protocols < 2
- calculating the list of slot names (done only once per class)
- the __newobj__ function (which is used as a token but never called)
2003-02-21 22:02:54 +00:00
Tim Peters
7107a7fbcc
SF bug 690622: test_cpickle overflows stack on MacOS9.
...
test_nonrecursive_deep(): Reduced nesting depth to 60.
Not a bugfix candidate. 2.3 increased the number of stack frames
needed to pickle a list (in order to get implement the "list
batching" unpickling memory optimization new in 2.3).
2003-02-21 20:14:35 +00:00
Michael W. Hudson
f5dd753f4d
I'm am the PyPy sprint waiting for a Grand Renaming so I killed a few
...
seconds making the doc for get_completer marginally less minimal :)
2003-02-21 20:11:09 +00:00
Neal Norwitz
b7d1d3cf23
Add some minimal doc for get_completer added for patch 676342
2003-02-21 18:57:05 +00:00
Walter Dörwald
e9b851a5e9
Use 'ISO8859-1' instead of 'ASCII' when testing whether byteswapping
...
is required for the chosen internal encoding in the init function,
as this seems to have a better chance of working under Irix and
Solaris.
Also change the test character from '\x01' to '0'.
This might fix SF bug #690309 .
2003-02-21 18:18:49 +00:00
Tim Peters
14821c5914
Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failures
...
on the boxes I use.
2003-02-21 16:45:41 +00:00
Jack Jansen
d7c1723742
Added a method WMAvailable(). This will return True if and only if there
...
is a window manager and we can connect to it, i.e. if it is safe to try
and put up windows.
As a side effect the first call will make the current process frontmost.
2003-02-21 16:31:11 +00:00
Walter Dörwald
0fd583ce4d
Port all string tests to PyUnit and share as much tests
...
between str, unicode, UserString and the string module
as possible. This increases code coverage in stringobject.c
from 83% to 86% and should help keep the string classes
in sync in the future. From SF patch #662807
2003-02-21 12:53:50 +00:00
Raymond Hettinger
1b56de05d5
Fill in missing table entries.
2003-02-21 05:42:13 +00:00
Raymond Hettinger
a97e4f3a49
SF bug #685775 : turtle circle() documentation error
2003-02-21 03:14:08 +00:00
Raymond Hettinger
3004b090ad
SF bug #690377 : Dud footnote reference in distutils docs
2003-02-21 02:47:09 +00:00
Raymond Hettinger
1b18ba49ab
Markup and nits.
2003-02-21 01:45:34 +00:00
Raymond Hettinger
785d0a37e5
SF bug #690083 : test_random fails sometimes
...
time.sleep(1) sometimes delays for fractionally less than a second
resulting in too short of an interval for C's time.time() function
to create a distinct seed.
2003-02-21 01:41:36 +00:00
Neal Norwitz
c355f0cae9
flex_complete looks like a private (but callback) function, so make it static
2003-02-21 00:30:18 +00:00
Neal Norwitz
d08baa9504
Add some notes about HIGHEST_PROTOCOL.
2003-02-21 00:26:33 +00:00
Thomas Heller
850566b644
Strange control flow in PyInt_AsLong. When nb_int is called inside
...
the PyInt_AsLong function, and this returns a long, the value is first
retrieved with PyLong_AsLong, but afterwards overwritten by a call to
PyInt_AS_LONG.
Fixes SF #690253 .
2003-02-20 20:32:11 +00:00
Guido van Rossum
81e26590e4
Update PY_VERSION to indicate that we're beyond 2.3a2 now.
2003-02-20 18:46:54 +00:00
Michael W. Hudson
2aec8b744e
As far as I can tell PyEval_GetOwner was removed in 1997 (when it was
...
called something else!). I can't imagine removing the prototype is
going to hurt, but put it back if *you* can.
2003-02-20 17:59:17 +00:00
Guido van Rossum
14ee89c785
Add PEP 301 metadata.
2003-02-20 02:52:04 +00:00
Guido van Rossum
12471d6389
Don't use self.announce() in a function that's not a method.
...
Use level=3 (i.e. log.WARN) for the warnings about failed imports.
(Hmm... Why is that code in an "if 1: ..."? What's the else branch
for?)
2003-02-20 02:11:43 +00:00
Guido van Rossum
af16065918
announce(): use the level argument to control the log level.
2003-02-20 02:10:08 +00:00
Guido van Rossum
a85dbeb61f
set_verbosity(): do something reasonable for out-of-range verbosity
...
levels. (Previously, -vvv would be the same as -q!)
2003-02-20 02:09:30 +00:00
Guido van Rossum
351a7dd64a
Prepped for 2.3b1.
...
Added an extra blank line before "What's New in Python 2.2 final?".
2003-02-20 01:56:17 +00:00
Guido van Rossum
16c8517988
Match parentheses.
2003-02-20 01:52:48 +00:00
Guido van Rossum
a003290da5
Merge in changes made to the 2.3a2 release.
2003-02-20 01:38:31 +00:00
David Goodger
dd83cce8ea
fixed markup
2003-02-19 23:31:51 +00:00
Guido van Rossum
22e2f73d91
Update versions/dates for release of 2.3a2. Added some last-minute news.
2003-02-19 18:18:47 +00:00
Guido van Rossum
b76bdf8ef7
The connect timeout code wasn't working on Windows.
...
Rather than trying to second-guess the various error returns
of a second connect(), use select() to determine whether the
socket becomes writable (which means connected).
2003-02-19 17:50:16 +00:00
Walter Dörwald
2ffec02b48
Add a note about the recent PEP 293 changes.
2003-02-19 16:34:11 +00:00
Fred Drake
cade71387e
Added a note about the new itertools module. (Omission noted by
...
Gerrit Holl in email to python-docs.)
2003-02-19 16:08:08 +00:00
Guido van Rossum
6297a7a9fb
- PyEval_GetFrame() is now declared to return a PyFrameObject *
...
instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
2003-02-19 15:53:17 +00:00
Guido van Rossum
162e38c6a3
- sys.path[0] (the directory from which the script is loaded) is now
...
turned into an absolute pathname, unless it is the empty string.
(SF patch #664376 , by Skip Montanaro.)
2003-02-19 15:25:10 +00:00
Andrew M. Kuchling
80be59b275
Include download_url in the data POSTed to the catalog server
2003-02-19 14:27:21 +00:00
Andrew M. Kuchling
188d85f475
[Patch #683939 ] Add download_url field to metadata
2003-02-19 14:16:01 +00:00
Andrew M. Kuchling
23c98c5f47
[Patch #684398 ] Rename verbose argument to show-response; don't conditionalize the get_classifiers() call
2003-02-19 13:49:35 +00:00