]> granicus.if.org Git - python/log
python
18 years agoFix docstring punctuation
Andrew M. Kuchling [Sat, 29 Jul 2006 14:43:55 +0000 (14:43 +0000)]
Fix docstring punctuation

18 years ago[Bug #1519571] Document some missing functions: setup(), title(), done()
Andrew M. Kuchling [Sat, 29 Jul 2006 14:42:48 +0000 (14:42 +0000)]
[Bug #1519571] Document some missing functions: setup(), title(), done()

18 years ago[Bug #1529157] Mention raw_input() and input(); while I'm at it, reword the descripti...
Andrew M. Kuchling [Sat, 29 Jul 2006 14:21:15 +0000 (14:21 +0000)]
[Bug #1529157] Mention raw_input() and input(); while I'm at it, reword the description a bit

18 years agoReword paragraph to match the order of the subsequent sections
Andrew M. Kuchling [Sat, 29 Jul 2006 14:08:15 +0000 (14:08 +0000)]
Reword paragraph to match the order of the subsequent sections

18 years agoUpdate URL
Andrew M. Kuchling [Sat, 29 Jul 2006 14:04:47 +0000 (14:04 +0000)]
Update URL

18 years agoAdd example
Andrew M. Kuchling [Sat, 29 Jul 2006 13:56:48 +0000 (13:56 +0000)]
Add example

18 years agoupdate target version number
Fred Drake [Sat, 29 Jul 2006 13:22:49 +0000 (13:22 +0000)]
update target version number

18 years agoRevert rev 42617, it was introduced to work around bug #1441397.
Georg Brandl [Sat, 29 Jul 2006 10:25:46 +0000 (10:25 +0000)]
Revert rev 42617, it was introduced to work around bug #1441397.
test_compiler now passes again.

18 years agoBug #1441397: The compiler module now recognizes module and function
Georg Brandl [Sat, 29 Jul 2006 09:33:26 +0000 (09:33 +0000)]
Bug #1441397: The compiler module now recognizes module and function
docstrings correctly as it did in Python 2.4.

18 years agoBug #835255: The "closure" argument to new.function() is now documented.
Georg Brandl [Sat, 29 Jul 2006 08:51:21 +0000 (08:51 +0000)]
Bug #835255: The "closure" argument to new.function() is now documented.

18 years agoPatch #1529514: More openbsd platforms for ctypes.
Thomas Heller [Fri, 28 Jul 2006 21:43:20 +0000 (21:43 +0000)]
Patch #1529514: More openbsd platforms for ctypes.
Regenerated Modules/_ctypes/libffi/configure with autoconf 2.59.

Approved by Neal.

18 years agoFix svn merge spew.
Phillip J. Eby [Fri, 28 Jul 2006 21:31:54 +0000 (21:31 +0000)]
Fix svn merge spew.

18 years agoBug #1529871: The speed enhancement patch #921466 broke Python's compliance
Phillip J. Eby [Fri, 28 Jul 2006 21:12:07 +0000 (21:12 +0000)]
Bug #1529871: The speed enhancement patch #921466 broke Python's compliance
with PEP 302.  This was fixed by adding an ``imp.NullImporter`` type that is
used in ``sys.path_importer_cache`` to cache non-directory paths and avoid
excessive filesystem operations during imports.

18 years agoRemove a useless XXX comment.
Thomas Heller [Fri, 28 Jul 2006 19:42:40 +0000 (19:42 +0000)]
Remove a useless XXX comment.
Cosmetic changes to the code so that the #ifdef _UNICODE block
doesn't mess emacs code formatting.

18 years agoFix spelling.
Georg Brandl [Fri, 28 Jul 2006 18:36:01 +0000 (18:36 +0000)]
Fix spelling.

18 years agoPatch #1529686: also run test_email_codecs with regrtest.py.
Georg Brandl [Fri, 28 Jul 2006 18:31:39 +0000 (18:31 +0000)]
Patch #1529686: also run test_email_codecs with regrtest.py.

18 years agoAdd example. Should I propagate this example to all the other DBM-ish modules, too?
Andrew M. Kuchling [Fri, 28 Jul 2006 12:48:07 +0000 (12:48 +0000)]
Add example.  Should I propagate this example to all the other DBM-ish modules, too?

18 years agoDon't overwrite built-in name; add some blank lines for readability
Andrew M. Kuchling [Fri, 28 Jul 2006 12:45:55 +0000 (12:45 +0000)]
Don't overwrite built-in name; add some blank lines for readability

18 years agoAdd example
Andrew M. Kuchling [Fri, 28 Jul 2006 12:33:19 +0000 (12:33 +0000)]
Add example

18 years agoAdd example
Andrew M. Kuchling [Fri, 28 Jul 2006 12:32:43 +0000 (12:32 +0000)]
Add example

18 years agoTypo fix
Andrew M. Kuchling [Fri, 28 Jul 2006 12:18:22 +0000 (12:18 +0000)]
Typo fix

18 years ago[Patch #1529811] Correction to description of r|* mode
Andrew M. Kuchling [Fri, 28 Jul 2006 12:07:12 +0000 (12:07 +0000)]
[Patch #1529811] Correction to description of r|* mode

18 years agoAllow socketmodule to compile on NetBSD -current, whose bluetooth API
Matt Fleming [Fri, 28 Jul 2006 11:27:27 +0000 (11:27 +0000)]
Allow socketmodule to compile on NetBSD -current, whose bluetooth API
differs from both Linux and FreeBSD. Accepted by Neal Norwitz.

18 years agoAdd UUID for upcoming 2.5b3.
Martin v. Löwis [Fri, 28 Jul 2006 07:45:49 +0000 (07:45 +0000)]
Add UUID for upcoming 2.5b3.

18 years agoTry to find the MAC addr on various flavours of Unix. This seems hopeless.
Neal Norwitz [Fri, 28 Jul 2006 07:21:27 +0000 (07:21 +0000)]
Try to find the MAC addr on various flavours of Unix.  This seems hopeless.
The reduces the test_uuid failures, but there's still another method failing.

18 years agoLive with that "the hardware address" is an ill-defined
Tim Peters [Fri, 28 Jul 2006 04:51:59 +0000 (04:51 +0000)]
Live with that "the hardware address" is an ill-defined
concept, and that different ways of trying to find "the
hardware address" may return different results.  Certainly
true on both of my Windows boxes, and in different ways
(see whining on python-dev).

18 years agoEnsure the actual number matches the expected count
Neal Norwitz [Fri, 28 Jul 2006 04:22:34 +0000 (04:22 +0000)]
Ensure the actual number matches the expected count

18 years ago- pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename
Gregory P. Smith [Fri, 28 Jul 2006 01:35:25 +0000 (01:35 +0000)]
- pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename
  methods now allow their database parameter to be None as the
  sleepycat API allows.

Also adds an appropriate test case for DBEnv.dbrename and dbremove.

18 years agoNews about the repaired memory leak in defaultdict.
Tim Peters [Fri, 28 Jul 2006 00:30:00 +0000 (00:30 +0000)]
News about the repaired memory leak in defaultdict.

18 years agodefdict_reduce(): Plug leaks.
Tim Peters [Fri, 28 Jul 2006 00:23:15 +0000 (00:23 +0000)]
defdict_reduce():  Plug leaks.

We didn't notice these before because test_defaultdict didn't
actually do anything before Georg fixed that earlier today.
Neal's next refleak run then showed test_defaultdict leaking
9 references on each run.  That's repaired by this checkin.

18 years agoEnable the building of the _types module on Windows.
Barry Warsaw [Thu, 27 Jul 2006 23:50:40 +0000 (23:50 +0000)]
Enable the building of the _types module on Windows.

Note that this has only been tested for VS 2003 since that's all I have.

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Thu, 27 Jul 2006 23:46:36 +0000 (23:46 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Thu, 27 Jul 2006 23:45:48 +0000 (23:45 +0000)]
Whitespace normalization.

18 years agoBug #1529297: The rewrite of doctest for Python 2.4 unintentionally
Tim Peters [Thu, 27 Jul 2006 23:44:37 +0000 (23:44 +0000)]
Bug #1529297:  The rewrite of doctest for Python 2.4 unintentionally
lost that tests are sorted by name before being run.  ``DocTestFinder``
has been changed to sort the list of tests it returns.

18 years agoPatch #1520294: Support for getset and member descriptors in types.py,
Barry Warsaw [Thu, 27 Jul 2006 23:43:15 +0000 (23:43 +0000)]
Patch #1520294: Support for getset and member descriptors in types.py,
inspect.py, and pydoc.py.  Specifically, this allows for querying the type of
an object against these built-in C types and more importantly, for getting
their docstrings printed in the interactive interpreter's help() function.

This patch includes a new built-in module called _types which provides
definitions of getset and member descriptors for use by the types.py module.
These types are exposed as types.GetSetDescriptorType and
types.MemberDescriptorType.  Query functions are provided as
inspect.isgetsetdescriptor() and inspect.ismemberdescriptor().  The
implementations of these are robust enough to work with Python implementations
other than CPython, which may not have these fundamental types.

The patch also includes documentation and test suite updates.

I commit these changes now under these guiding principles:

1. Silence is assent.  The release manager has not said "no", and of the few
   people that cared enough to respond to the thread, the worst vote was "0".

2. It's easier to ask for forgiveness than permission.

3. It's so dang easy to revert stuff in svn, that you could view this as a
   forcing function. :)

Windows build patches will follow.

18 years agoAdd example
Andrew M. Kuchling [Thu, 27 Jul 2006 22:49:54 +0000 (22:49 +0000)]
Add example

18 years agoAdd example
Andrew M. Kuchling [Thu, 27 Jul 2006 22:49:38 +0000 (22:49 +0000)]
Add example

18 years agoReword paragraph
Andrew M. Kuchling [Thu, 27 Jul 2006 22:40:05 +0000 (22:40 +0000)]
Reword paragraph

18 years agocheck_node(): stop spraying mystery output to stderr.
Tim Peters [Thu, 27 Jul 2006 20:47:24 +0000 (20:47 +0000)]
check_node():  stop spraying mystery output to stderr.

When a node number disagrees, keep track of all sources & the
node numbers they reported, and stick all that in the error message.

Changed all callers to supply a non-empty "source" argument; made
the "source" argument non-optional.

On my box, test_uuid still fails, but with the less confusing output:

AssertionError: different sources disagree on node:
    from source 'getnode1', node was 00038a000015
    from source 'getnode2', node was 00038a000015
    from source 'ipconfig', node was 001111b2b7bf

Only the last one appears to be correct; e.g.,

C:\Code\python\PCbuild>getmac

Physical Address    Transport Name
=================== ==========================================================
00-11-11-B2-B7-BF   \Device\Tcpip_{190FB163-5AFD-4483-86A1-2FE16AC61FF1}
62-A1-AC-6C-FD-BE   \Device\Tcpip_{8F77DF5A-EA3D-4F1D-975E-D472CEE6438A}
E2-1F-01-C6-5D-88   \Device\Tcpip_{CD18F76B-2EF3-409F-9B8A-6481EE70A1E4}

I can't find anything on my box with MAC 00-03-8a-00-00-15, and am
not clear on where that comes from.

18 years agoIf binhex is higher-level than binascii, it should come first in the chapter
Andrew M. Kuchling [Thu, 27 Jul 2006 19:12:49 +0000 (19:12 +0000)]
If binhex is higher-level than binascii, it should come first in the chapter

18 years agoMention base64 module; rewrite last sentence to be more positive
Andrew M. Kuchling [Thu, 27 Jul 2006 19:11:07 +0000 (19:11 +0000)]
Mention base64 module; rewrite last sentence to be more positive

18 years agoAdd punctuation mark; add some examples
Andrew M. Kuchling [Thu, 27 Jul 2006 19:07:29 +0000 (19:07 +0000)]
Add punctuation mark; add some examples

18 years agoUpdate URL; add example
Andrew M. Kuchling [Thu, 27 Jul 2006 18:53:33 +0000 (18:53 +0000)]
Update URL; add example

18 years agoRepair typos
Andrew M. Kuchling [Thu, 27 Jul 2006 18:44:10 +0000 (18:44 +0000)]
Repair typos

18 years agoAdd missing word
Andrew M. Kuchling [Thu, 27 Jul 2006 18:42:41 +0000 (18:42 +0000)]
Add missing word

18 years agoTypo fix ('publically' is rare, poss. non-standard)
Andrew M. Kuchling [Thu, 27 Jul 2006 18:41:21 +0000 (18:41 +0000)]
Typo fix ('publically' is rare, poss. non-standard)

18 years agoRemove code that is no longer used (ctypes.com).
Thomas Heller [Thu, 27 Jul 2006 18:39:55 +0000 (18:39 +0000)]
Remove code that is no longer used (ctypes.com).

Fix the DllGetClassObject and DllCanUnloadNow so that they forward the
call to the comtypes.server.inprocserver module.

The latter was never documented, never used by published code, and
didn't work anyway, so I think it does not deserve a NEWS entry (but I
might be wrong).

18 years agoAdd example
Andrew M. Kuchling [Thu, 27 Jul 2006 18:37:33 +0000 (18:37 +0000)]
Add example

18 years agoMake uuid test suite pass on this box by requesting output with LC_ALL=C.
Georg Brandl [Thu, 27 Jul 2006 16:08:15 +0000 (16:08 +0000)]
Make uuid test suite pass on this box by requesting output with LC_ALL=C.

18 years agoAmend news entry.
Georg Brandl [Thu, 27 Jul 2006 15:38:33 +0000 (15:38 +0000)]
Amend news entry.

18 years agoWhitespace normalization.
Tim Peters [Thu, 27 Jul 2006 15:11:00 +0000 (15:11 +0000)]
Whitespace normalization.

18 years agoNews for patch #1529686.
Tim Peters [Thu, 27 Jul 2006 15:09:20 +0000 (15:09 +0000)]
News for patch #1529686.

18 years agoAdd test_main() methods. These three tests were never run
Georg Brandl [Thu, 27 Jul 2006 15:05:36 +0000 (15:05 +0000)]
Add test_main() methods. These three tests were never run
by regrtest.py.

We really need a simpler testing framework.

18 years agoReformat docstring; fix typo
Andrew M. Kuchling [Thu, 27 Jul 2006 12:18:20 +0000 (12:18 +0000)]
Reformat docstring; fix typo

18 years agoBump distutils version to 2.5, as several new features
Martin v. Löwis [Thu, 27 Jul 2006 06:38:16 +0000 (06:38 +0000)]
Bump distutils version to 2.5, as several new features
have been introduced since 2.4.

18 years agoNo functional change. Add comment and assert to describe why there cannot be overflo...
Neal Norwitz [Thu, 27 Jul 2006 04:04:50 +0000 (04:04 +0000)]
No functional change.  Add comment and assert to describe why there cannot be overflow which was reported by Klocwork.  Discussed on python-dev

18 years agoClosure can't be NULL at this point since we know it's a tuple.
Neal Norwitz [Thu, 27 Jul 2006 03:55:39 +0000 (03:55 +0000)]
Closure can't be NULL at this point since we know it's a tuple.

Reported by Klocwork # 74.

18 years agoDon't kill a normal instance of python running on windows when checking
Neal Norwitz [Thu, 27 Jul 2006 03:51:58 +0000 (03:51 +0000)]
Don't kill a normal instance of python running on windows when checking
to kill a cygwin instance.  build\\python.exe was matching a normal windows
instance.  Prefix that with a \\ to ensure build is a directory and not
PCbuild.  As discussed on python-dev.

18 years agoBug #1521947: possible bug in mystrtol.c with recent gcc.
Tim Peters [Thu, 27 Jul 2006 01:14:53 +0000 (01:14 +0000)]
Bug #1521947:  possible bug in mystrtol.c with recent gcc.

In general, C doesn't define anything about what happens when
an operation on a signed integral type overflows, and PyOS_strtol()
did several formally undefined things of that nature on signed
longs.  Some version of gcc apparently tries to exploit that now,
and PyOS_strtol() could fail to detect overflow then.

Tried to repair all that, although it seems at least as likely to me
that we'll get screwed by bad platform definitions for LONG_MIN
and/or LONG_MAX now.  For that reason, I don't recommend backporting
this.

Note that I have no box on which this makes a lick of difference --
can't really test it, except to note that it didn't break anything
on my boxes.

Silent change:  PyOS_strtol() used to return the hard-coded 0x7fffffff
in case of overflow.  Now it returns LONG_MAX.  They're the same only on
32-bit boxes (although C doesn't guarantee that either ...).

18 years agoWhitespace normalization.
Tim Peters [Wed, 26 Jul 2006 23:23:15 +0000 (23:23 +0000)]
Whitespace normalization.

18 years agoAllow the 'onerror' argument to walk_packages() to catch any Exception, not
Phillip J. Eby [Wed, 26 Jul 2006 19:48:27 +0000 (19:48 +0000)]
Allow the 'onerror' argument to walk_packages() to catch any Exception, not
just ImportError.  This allows documentation tools to better skip unimportable
packages.

18 years agoUse sys.exc_info()
Andrew M. Kuchling [Wed, 26 Jul 2006 18:15:45 +0000 (18:15 +0000)]
Use sys.exc_info()

18 years agoUse sys.exc_info()
Andrew M. Kuchling [Wed, 26 Jul 2006 18:03:12 +0000 (18:03 +0000)]
Use sys.exc_info()

18 years agoPut news item in right section
Andrew M. Kuchling [Wed, 26 Jul 2006 17:22:21 +0000 (17:22 +0000)]
Put news item in right section

18 years agoMinor grammar fix
Andrew M. Kuchling [Wed, 26 Jul 2006 17:19:39 +0000 (17:19 +0000)]
Minor grammar fix

18 years agoCorrect error message
Andrew M. Kuchling [Wed, 26 Jul 2006 17:18:01 +0000 (17:18 +0000)]
Correct error message

18 years ago[Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetns...
Andrew M. Kuchling [Wed, 26 Jul 2006 17:16:52 +0000 (17:16 +0000)]
[Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetnstr(); it was conditionalized a few lines below.  Fix from Paul Eggert.  I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment.

18 years agoBug #978833: Really close underlying socket in _socketobject.close.
Martin v. Löwis [Wed, 26 Jul 2006 12:12:56 +0000 (12:12 +0000)]
Bug #978833: Really close underlying socket in _socketobject.close.
Fix httplib.HTTPConnection.getresponse to not close the
socket if it is still needed for the response.

18 years agoPart of bug #1523610: fix miscalculation of buffer length.
Georg Brandl [Wed, 26 Jul 2006 08:03:10 +0000 (08:03 +0000)]
Part of bug #1523610: fix miscalculation of buffer length.

Also add a guard against NULL in converttuple and add a test case
(that previously would have crashed).

18 years agoBug #1459963: properly capitalize HTTP header names.
Georg Brandl [Wed, 26 Jul 2006 07:40:17 +0000 (07:40 +0000)]
Bug #1459963: properly capitalize HTTP header names.

18 years agoNEWS entry for #1525766.
Georg Brandl [Wed, 26 Jul 2006 07:23:32 +0000 (07:23 +0000)]
NEWS entry for #1525766.

18 years agoForward port some fixes that were in email 2.5 but for some reason didn't make
Barry Warsaw [Wed, 26 Jul 2006 05:54:46 +0000 (05:54 +0000)]
Forward port some fixes that were in email 2.5 but for some reason didn't make
it into email 4.0.  Specifically, in Message.get_content_charset(), handle RFC
2231 headers that contain an encoding not known to Python, or a character in
the data that isn't in the charset encoding.  Also forward port the
appropriate unit tests.

18 years agoHmm, only python2.x is installed, not plain python. Did that change recently?
Neal Norwitz [Wed, 26 Jul 2006 04:00:18 +0000 (04:00 +0000)]
Hmm, only python2.x is installed, not plain python.  Did that change recently?

18 years agoWhitespace normalization.
Tim Peters [Tue, 25 Jul 2006 22:30:24 +0000 (22:30 +0000)]
Whitespace normalization.

18 years agoFix bug #1517990: IDLE keybindings on OSX
Ronald Oussoren [Tue, 25 Jul 2006 20:28:55 +0000 (20:28 +0000)]
Fix bug #1517990: IDLE keybindings on OSX

This adds a new key definition for OSX, which is slightly different from the
classic mac definition.

Also add NEWS item for a couple of bugfixes I added recently.

18 years agoFix for bug #1525447 (renaming to MacOSmodule.c would also work, but not
Ronald Oussoren [Tue, 25 Jul 2006 19:20:54 +0000 (19:20 +0000)]
Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but not
without causing problems for anyone that is on a case-insensitive filesystem).

Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the
actual file is named macosmodule.c. This is no problem on the (default)
case-insensitive filesystem, but doesn't work on case-sensitive filesystems.

18 years agoInstall the compatibility symlink to libpython.a on OSX using 'ln -sf' instead
Ronald Oussoren [Tue, 25 Jul 2006 19:13:35 +0000 (19:13 +0000)]
Install the compatibility symlink to libpython.a on OSX using 'ln -sf' instead
of 'ln -s', this avoid problems when reinstalling python.

18 years agoDocument the crashers that will not go away soon as "won't fix",
Armin Rigo [Tue, 25 Jul 2006 18:38:39 +0000 (18:38 +0000)]
Document the crashers that will not go away soon as "won't fix",
and explain why.

18 years agoAdded another crasher, which hit me today (I was not intentionally
Armin Rigo [Tue, 25 Jul 2006 18:11:07 +0000 (18:11 +0000)]
Added another crasher, which hit me today (I was not intentionally
writing such code, of course, but it took some gdb time to figure out
what my bug was).

18 years agoDocument why is and is not a good way to fix the gc_inspection crasher.
Armin Rigo [Tue, 25 Jul 2006 18:09:57 +0000 (18:09 +0000)]
Document why is and is not a good way to fix the gc_inspection crasher.

18 years agoFix a bug in the messages for an assert failure where not enough arguments to a string
Brett Cannon [Tue, 25 Jul 2006 17:34:36 +0000 (17:34 +0000)]
Fix a bug in the messages for an assert failure where not enough arguments to a string
were being converted in the format.

18 years agoAdd comment for changes to test_ossaudiodev.
Brett Cannon [Tue, 25 Jul 2006 17:32:20 +0000 (17:32 +0000)]
Add comment for changes to test_ossaudiodev.

18 years agoPatch #1525766: correctly pass onerror arg to recursive calls
Georg Brandl [Tue, 25 Jul 2006 10:22:34 +0000 (10:22 +0000)]
Patch #1525766: correctly pass onerror arg to recursive calls
of pkg.walk_packages. Also improve the docstrings.

18 years agoRevert incomplete checkin.
Martin v. Löwis [Tue, 25 Jul 2006 10:11:14 +0000 (10:11 +0000)]
Revert incomplete checkin.

18 years agoBug #978833: Really close underlying socket in _socketobject.close.
Martin v. Löwis [Tue, 25 Jul 2006 10:05:47 +0000 (10:05 +0000)]
Bug #978833: Really close underlying socket in _socketobject.close.
Will backport to 2.4.

18 years agoBug #1525817: Don't truncate short lines in IDLE's tool tips.
Martin v. Löwis [Tue, 25 Jul 2006 09:53:12 +0000 (09:53 +0000)]
Bug #1525817: Don't truncate short lines in IDLE's tool tips.

18 years agocurrent_frames_with_threads(): There's actually no way
Tim Peters [Tue, 25 Jul 2006 04:07:22 +0000 (04:07 +0000)]
current_frames_with_threads():  There's actually no way
to guess /which/ line the spawned thread is in at the time
sys._current_frames() is called:  we know it finished
enter_g.set(), but can't know whether the instruction
counter has advanced to the following leave_g.wait().
The latter is overwhelming most likely, but not guaranteed,
and I see that the "x86 Ubuntu dapper (icc) trunk" buildbot
found it on the other line once.  Changed the test so it
passes in either case.

18 years agoDon't use standard assert: want tests to fail even when run with -O.
Greg Ward [Tue, 25 Jul 2006 02:11:12 +0000 (02:11 +0000)]
Don't use standard assert: want tests to fail even when run with -O.
Delete cruft.

18 years agoWhitespace normalization.
Tim Peters [Mon, 24 Jul 2006 21:02:15 +0000 (21:02 +0000)]
Whitespace normalization.

18 years agoRepair accidental NameError.
Georg Brandl [Mon, 24 Jul 2006 20:11:35 +0000 (20:11 +0000)]
Repair accidental NameError.

18 years ago- EditorWindow.test() was failing. Bug 1417598
Kurt B. Kaiser [Mon, 24 Jul 2006 18:05:51 +0000 (18:05 +0000)]
- EditorWindow.test() was failing.  Bug 1417598

M    EditorWindow.py
M    ScriptBinding.py
M    NEWS.txt

18 years agoEditorWindow failed when used stand-alone if sys.ps1 not set.
Kurt B. Kaiser [Mon, 24 Jul 2006 17:13:23 +0000 (17:13 +0000)]
EditorWindow failed when used stand-alone if sys.ps1 not set.
Bug 1010370 Dave Florek

M    EditorWindow.py
M    PyShell.py
M    NEWS.txt

18 years agoPatch #1515343: Fix printing of deprecated string exceptions with a
Georg Brandl [Mon, 24 Jul 2006 14:09:56 +0000 (14:09 +0000)]
Patch #1515343: Fix printing of deprecated string exceptions with a
value in the traceback module.

18 years agoPatch #1527744: right order of includes in order to have HAVE_CONIO_H defined properly.
Georg Brandl [Mon, 24 Jul 2006 13:46:47 +0000 (13:46 +0000)]
Patch #1527744: right order of includes in order to have HAVE_CONIO_H defined properly.

18 years agoPatch #1523356: fix determining include dirs in python-config.
Georg Brandl [Mon, 24 Jul 2006 13:28:57 +0000 (13:28 +0000)]
Patch #1523356: fix determining include dirs in python-config.

Also don't install "python-config" when doing altinstall, but
always install "python-config2.x" and make a link to it like
with the main executable.

18 years agoBug #1524310: Properly report errors from FindNextFile in os.listdir.
Martin v. Löwis [Mon, 24 Jul 2006 12:54:17 +0000 (12:54 +0000)]
Bug #1524310: Properly report errors from FindNextFile in os.listdir.
Will backport to 2.4.

18 years agoPatch #1232023: Don't include empty path component from registry,
Martin v. Löwis [Mon, 24 Jul 2006 11:54:53 +0000 (11:54 +0000)]
Patch #1232023: Don't include empty path component from registry,
so that the current directory does not get added to sys.path.
Also fixes #1526785.

18 years agoPatch #1448199: Release GIL around ConnectRegistry.
Martin v. Löwis [Mon, 24 Jul 2006 10:26:33 +0000 (10:26 +0000)]
Patch #1448199: Release GIL around ConnectRegistry.

18 years agoUpdate list of unsupported systems. Fixes #1510853.
Martin v. Löwis [Mon, 24 Jul 2006 05:05:22 +0000 (05:05 +0000)]
Update list of unsupported systems. Fixes #1510853.

18 years agoResync optparse with Optik 1.5.3: minor tweaks for/to tests.
Greg Ward [Sun, 23 Jul 2006 16:05:51 +0000 (16:05 +0000)]
Resync optparse with Optik 1.5.3: minor tweaks for/to tests.