Jack Jansen
30620ac641
Workaround for the fact that urllib2 doesn't default to "file:" urls.
2005-01-07 12:50:12 +00:00
Jack Jansen
c110f8665f
Always set CONFIGURE_MACOSX_DEPLOYMENT_TARGET otherwise it may be set
...
to an empty value and distutils will get confused lateron.
2005-01-07 10:49:32 +00:00
Raymond Hettinger
97db05de3e
SF #75103 : imghdr -- identify JPEGs in EXIF format
2005-01-07 08:15:41 +00:00
Andrew McNamara
dd3e6cb213
Fix to use PEP7 brace style.
2005-01-07 06:46:50 +00:00
Andrew McNamara
1196cf185c
Improved the implementation of the internal "dialect" type. The new
...
implementation features better error reporting, and better compliance
with the PEP.
2005-01-07 04:42:45 +00:00
Raymond Hettinger
72b83c86a9
SF patch 1094011: Docs for file() vs open().
2005-01-07 04:33:44 +00:00
Facundo Batista
bccc9a956a
Added example to os.stat()
2005-01-07 02:50:22 +00:00
Raymond Hettinger
17a7924667
SF bug #1091740 : garbage collector still documented as optional
2005-01-07 00:49:17 +00:00
Andrew McNamara
575a00b575
Delete Reader_getiter and replace with PyObject_SelfIter.
2005-01-06 02:25:41 +00:00
Skip Montanaro
becbdec1d9
add two missing items
2005-01-05 07:19:11 +00:00
Skip Montanaro
b80bad4366
add descriptions of exported data attributes
2005-01-05 07:13:32 +00:00
Skip Montanaro
4f49e7d0e7
describe reset()
2005-01-05 07:03:53 +00:00
Skip Montanaro
bb0c9dc852
add a couple missing items
2005-01-05 06:58:15 +00:00
Skip Montanaro
f26285ce0b
add a couple missing docstrings
2005-01-05 06:54:58 +00:00
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