Commit Graph

31748 Commits

Author SHA1 Message Date
Raymond Hettinger 31043cd6d8 Clarify that DictMixin is still useful. Only the UserDict class was supplanted. 2005-01-04 21:25:00 +00:00
Martin v. Löwis d61788b9ae Fix typo. 2005-01-03 23:42:01 +00:00
Jack Jansen af304a6c16 - Added an "installer" flavor, which uses the "open" command to install
something (overridable through Install-command entry)
- Hidden status is now determined by flavor == hidden, not by
  missing Download-URL. Hidden packages behave like installer packages.
- Made some error messages a bit more understandable.

Because there's new functionality the version has been upped to 0.5.
2005-01-03 15:44:18 +00:00
Raymond Hettinger 362b929222 Removed unused line. 2005-01-03 07:33:16 +00:00
Raymond Hettinger 0c26ab02e6 Removed unused line. 2005-01-03 07:14:12 +00:00
Brett Cannon 44837719ef Since it is a possibility that LDFLAGS or CPPFLAGS were set with options that
in no way affect library or include directories the code must take that into
account and not assume some options were found.
2005-01-02 21:54:07 +00:00
Raymond Hettinger c34f8673a1 Teach the peephole optimizer to fold simple constant expressions. 2005-01-02 06:17:33 +00:00
Jack Jansen 64585988af Create the wrapper scripts for gcc/g++ too. 2005-01-01 22:33:36 +00:00
Peter Astrand f791d7a278 On UNIX, when the execution of the child fails, we must waitpid() to
prevent leaving zombies.
2005-01-01 09:38:57 +00:00
Peter Astrand 454f76711c New subprocess utility function: check_call. Closes #1071764. 2005-01-01 09:36:35 +00:00
Raymond Hettinger ed2dbe3f33 SF patch #1094007: Remove witty comment in pydoc.py
(Removed at Ping's request.)
2005-01-01 07:51:01 +00:00
Raymond Hettinger 346e67f805 SF patch #1051395: locale.getdefaultlocale does not return tuple in some OS
(Contributed by Jiwon Seo.)
2005-01-01 06:10:26 +00:00
Raymond Hettinger 68804315e0 SF Patch #1093896: miscellaneous doc typos 2005-01-01 00:28:46 +00:00
Raymond Hettinger f871d833dd Remove some lambdas. 2004-12-31 21:59:02 +00:00
Raymond Hettinger a617271dbd Use cStringIO where available. 2004-12-31 19:15:26 +00:00
Thomas Heller 54266fce8d cvsignore files generated by make_versioninfo. 2004-12-31 16:37:32 +00:00
Brett Cannon 4810eb9a08 Strip out double dashes and dashes for options not used during parsing of
LDFLAGS and CPPFLAGS for library and include directories, respectively.  Solves
issue of either env var containing other options that do not pertain to the
directories being searched for.
2004-12-31 08:11:21 +00:00
Raymond Hettinger 79e0531aef SF bug #1090139: presentation typo in lib: 6.21.4.2 How callbacks are called 2004-12-31 01:07:27 +00:00
Martin v. Löwis 5c9e55e813 Add more test directories to testsuite. Will backport to 2.4. 2004-12-30 14:08:18 +00:00
Martin v. Löwis 658b50f579 Update to VC 7.1. Will backport to 2.4. 2004-12-30 10:44:32 +00:00
Walter Dörwald ee1d24703f Add a test that checks the basic functionality of every encoding. 2004-12-29 16:04:38 +00:00
Walter Dörwald 6cea693362 Fix wrong variable name. 2004-12-29 15:28:09 +00:00
Martin v. Löwis a2cc2695bb Update example to VC 7.1. Will backport to 2.4. 2004-12-29 14:15:58 +00:00
Walter Dörwald e1a0391b49 Fix wrong variable name. 2004-12-29 13:11:10 +00:00
Andrew M. Kuchling 0aa8ef1545 Typo fix 2004-12-29 12:34:21 +00:00
Jack Jansen 702af67d47 - getDefaultDatabase wasn't listed in __all__.
- using a different database for non-final releases should only be done
  for X.Y.0. Non-final micro releases can use the default database just fine,
  as they are required to be backward compatible.
2004-12-28 21:33:27 +00:00
Jack Jansen 935ca1018e Just passing -undefined dynamic_lookup isn't enough: we also need to set
the MACOSX_DEPLOYMENT_TARGET environment variable to 10.3 when calling the
loader. And we do this with "env" because distutils apparently doesn't
understand environment variable assignments before command names.
2004-12-28 21:30:35 +00:00
Andrew M. Kuchling 3b585b30c0 [Bug #1083110] calling .flush() on decompress objects causes a segfault due to an uninitialized pointer: fixes the problem and adds a test case 2004-12-28 20:10:48 +00:00
Jack Jansen 078824e4f6 Added quotes around the destroot arguments, so empty destroot works. 2004-12-27 16:13:39 +00:00
Jack Jansen de2ecb8466 Updated version numbers. 2004-12-27 15:53:20 +00:00
Jack Jansen c77f6dfd92 Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destroot
option to various tools, and do the right thing when we're doing a destroot
install.

Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Jack Jansen be95462c1c After discussion on the PythonMac-SIG it was decided that it is better
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.

Will backport.
2004-12-26 23:07:48 +00:00
Jack Jansen 6116f07fdc A script to fix Apple-installed Python 2.3 (and a test whether the user
needs to run it in the Makefile).

After installing a newer framework Python the apple-installed Python can
no longer build extension modules, because they will inadvertantly be linked
against the newer framework. This script modifies lib/config/Makefile so
it will link extensions with "-undefined dynamic_lookup", which forestalls
this problem.

Will backport to 2.4 and 2.3.
2004-12-26 23:02:05 +00:00
Skip Montanaro 9935e7fac0 correct decorator example, tweak description slightly 2004-12-26 15:29:28 +00:00
Martin v. Löwis 2eba0d6eb2 Update VC references. Backported to 2.4. 2004-12-24 08:28:28 +00:00
Matthias Klose 7dbeed7d2e Use = instead of == as operator to test 2004-12-24 08:22:17 +00:00
Brett Cannon ac7836ae55 Fix sentence stating TextEdit only saves in RTF; can save in plaintext as well.
Closes bug #1085300.  Thanks unclewalrus.
2004-12-24 02:40:59 +00:00
Armin Rigo a174813113 Dima Dorfman's patch for coercion/comparison of C types (patch #995939), with
a minor change after the coercion, to accept two objects not necessarily of
the same type but with the same tp_compare.
2004-12-23 22:13:13 +00:00
Fred Drake 0a6864ecc5 discuss how the __builtin__ module is normally used, and try to clarify the
difference between __builtins__ and __builtin__ (based on an email comment)
2004-12-23 16:50:36 +00:00
Fred Drake fb915fe812 fix weird capitalization of "built-in" 2004-12-23 16:22:45 +00:00
Kurt B. Kaiser e852c194e3 Improve error message if rpc'l localcall() fails with unexpected
exception.
2004-12-23 04:39:55 +00:00
Kurt B. Kaiser 5c3df35b6b The GUI was hanging if the shell window was closed while a raw_input()
was pending.  Restored the quit() of the readline() mainloop().
http://mail.python.org/pipermail/idle-dev/2004-December/002307.html

M NEWS.txt
M PyShell.py
2004-12-23 04:20:59 +00:00
Thomas Heller ee4bb6612a Recompiled after source changes. 2004-12-22 17:24:36 +00:00
Thomas Heller 0f25b72228 Close stdout and stderr, which are redirected into a temp file, before
trying to remove this file - the file was never removed before.

Fixes [ 1067732 ] wininst --install-script leaves residual files

Already backported.
2004-12-22 17:24:14 +00:00
Jeremy Hylton b300ae3a79 Two small changes, SF bug #974757 and SF patch #1037974.
Pass the full URL to find_user_password(), in particular so that hosts
with port numbers can be looked up.

Also specify the digest algorithm, even if it's MD5.  Titus Brown
verified that this fixes a problem with LiveJournal.
2004-12-22 14:27:19 +00:00
Jeremy Hylton 6414cd8717 SF patch #1055159 via Titus Brown: Document redirect limitation.
Bug fix candidate.
2004-12-22 14:19:09 +00:00
Martin v. Löwis 9fda931ff0 Patch #1088716: build and incorporate libpython24.a. Backported to 2.4 2004-12-22 13:41:49 +00:00
Martin v. Löwis ac191dac9a Properly quote IDLE shortcut. Will backport to 2.4. 2004-12-22 12:55:44 +00:00
Walter Dörwald 3673369951 Add NEWS entry about bug #1076985. 2004-12-22 12:50:50 +00:00
Brett Cannon 1902146ea1 Remove outdated comments about expanduser and expandvars for Macintosh that
referred to OS 9 semantics.
2004-12-22 05:40:45 +00:00