]> granicus.if.org Git - python/log
python
22 years agoremove unused import math
Neal Norwitz [Sun, 29 Jun 2003 04:18:15 +0000 (04:18 +0000)]
remove unused import math

22 years agoremove extra parameter from _java_getprop, remove duplicate imports
Neal Norwitz [Sun, 29 Jun 2003 04:17:45 +0000 (04:17 +0000)]
remove extra parameter from _java_getprop, remove duplicate imports

22 years agouse == like all the other conditionals
Neal Norwitz [Sun, 29 Jun 2003 04:16:49 +0000 (04:16 +0000)]
use == like all the other conditionals

22 years agofix problems found by pychecker
Neal Norwitz [Sun, 29 Jun 2003 04:16:28 +0000 (04:16 +0000)]
fix problems found by pychecker

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 03:29:42 +0000 (03:29 +0000)]
SF patch #760257: add socket.timeout exception

22 years agoAdded Bob Halley for work on socket.timeout
Raymond Hettinger [Sun, 29 Jun 2003 03:27:45 +0000 (03:27 +0000)]
Added Bob Halley for work on socket.timeout

22 years agoMissed a spot where the new optional optionflags argument needed to get
Tim Peters [Sun, 29 Jun 2003 03:11:20 +0000 (03:11 +0000)]
Missed a spot where the new optional optionflags argument needed to get
passed on.

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 03:08:05 +0000 (03:08 +0000)]
SF patch #760257: add socket.timeout exception
(Contributed by Bob Halley)

Added a new exception, socket.timeout so that timeouts can be differentiated
from other socket exceptions.

Docs, more tests, and newsitem to follow.

22 years agoBump version information for Python 2.3 beta 2.
Fred Drake [Sun, 29 Jun 2003 02:17:28 +0000 (02:17 +0000)]
Bump version information for Python 2.3 beta 2.

22 years agoDocument PyThreadState_SetAsyncExc().
Fred Drake [Sun, 29 Jun 2003 02:14:31 +0000 (02:14 +0000)]
Document PyThreadState_SetAsyncExc().

22 years agoBump release level to 2.3b2.
Tim Peters [Sun, 29 Jun 2003 00:57:17 +0000 (00:57 +0000)]
Bump release level to 2.3b2.

22 years agoSlight clarification on running the examples from the Finder.
Jack Jansen [Sun, 29 Jun 2003 00:24:12 +0000 (00:24 +0000)]
Slight clarification on running the examples from the Finder.

22 years agoSuggest people visit www.python.org/packman if the default database
Jack Jansen [Sun, 29 Jun 2003 00:17:23 +0000 (00:17 +0000)]
Suggest people visit www.python.org/packman if the default database
cannot be found.

22 years agoUse http://www.python.org/packman as the base URL. Also upped the version
Jack Jansen [Sun, 29 Jun 2003 00:09:18 +0000 (00:09 +0000)]
Use http://www.python.org/packman as the base URL. Also upped the version
number because of this.

22 years agoBy default build docs, don't download them.
Jack Jansen [Sat, 28 Jun 2003 23:38:04 +0000 (23:38 +0000)]
By default build docs, don't download them.

22 years agoAdd PyThreadState_SetAsyncExc(long, PyObject *).
Guido van Rossum [Sat, 28 Jun 2003 21:53:52 +0000 (21:53 +0000)]
Add PyThreadState_SetAsyncExc(long, PyObject *).

A new API (only accessible from C) to interrupt a thread by sending it
an exception.  This is not always effective, but might help some people.
Requested by Just van Rossum and Alex Martelli.  It is intentional
that you have to write your own C extension to call it from Python.

Docs will have to wait.

22 years agoAdded Steven Taschuk for efforts fixing zipfile.py
Raymond Hettinger [Sat, 28 Jun 2003 20:10:26 +0000 (20:10 +0000)]
Added Steven Taschuk for efforts fixing zipfile.py

22 years agoSF patch 703666: Several objects don't decref tmp on failure in subtype_new
Raymond Hettinger [Sat, 28 Jun 2003 20:04:25 +0000 (20:04 +0000)]
SF patch 703666: Several objects don't decref tmp on failure in subtype_new
Submitted By: Christopher A. Craig

Fillin some missing decrefs.

22 years agoA few minor improvements
Barry Warsaw [Sat, 28 Jun 2003 15:22:16 +0000 (15:22 +0000)]
A few minor improvements

22 years agoRewrote the docs for supporting cyclic garbage collection to reflect
Jim Fulton [Sat, 28 Jun 2003 13:29:16 +0000 (13:29 +0000)]
Rewrote the docs for supporting cyclic garbage collection to reflect
the new way that once writes types.

Deleted the old section and sample code and added a new section
building on the Noddy example.

22 years agoUpdated the depenencies to reflect changes in the sample code for
Jim Fulton [Sat, 28 Jun 2003 13:27:57 +0000 (13:27 +0000)]
Updated the depenencies to reflect changes in the sample code for
building new types.

22 years agoAdded tests for sample modules.
Jim Fulton [Sat, 28 Jun 2003 11:54:40 +0000 (11:54 +0000)]
Added tests for sample modules.

22 years agoAdded s setup module to make it easier to test the sample modules.
Jim Fulton [Sat, 28 Jun 2003 11:54:20 +0000 (11:54 +0000)]
Added s setup module to make it easier to test the sample modules.

22 years agoFixed bug in implementation of tp_init function. It should be an int
Jim Fulton [Sat, 28 Jun 2003 11:54:03 +0000 (11:54 +0000)]
Fixed bug in implementation of tp_init function. It should be an int
function, not a PyObject *.

22 years agoChanged the assignment of PyType_GenericNew to tp_new slot. Now do
Jim Fulton [Sat, 28 Jun 2003 11:53:29 +0000 (11:53 +0000)]
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
this in module initialization before calling PyType_Ready.  (Sorry
Tim.) This is necessary to compile on cygwin.  AFAIK, we support
cygwin. If so, then we need to write extentions this way.

22 years agoChanged the assignment of PyType_GenericNew to tp_new slot. Now do
Jim Fulton [Sat, 28 Jun 2003 11:53:12 +0000 (11:53 +0000)]
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
this in module initialization before calling PyType_Ready.  (Sorry
Tim.) This is necessary to compile on cygwin.  AFAIK, we support
cygwin. If so, then we need to write extentions this way.

Fixed bug in implementation of tp_init function. It should be an int
function, not a PyObject *.

22 years agoCorrect markup errors that prevented formatting.
Fred Drake [Sat, 28 Jun 2003 11:50:34 +0000 (11:50 +0000)]
Correct markup errors that prevented formatting.

22 years agoExplain source encodings. Fixes #683486.
Martin v. Löwis [Sat, 28 Jun 2003 08:11:55 +0000 (08:11 +0000)]
Explain source encodings. Fixes #683486.

22 years agoPatch #758910: Add pthread flag to CXX if possible.
Martin v. Löwis [Sat, 28 Jun 2003 07:46:38 +0000 (07:46 +0000)]
Patch #758910: Add pthread flag to CXX if possible.

22 years agoPatch #751916: Check for signals, fix some refcounting errors.
Martin v. Löwis [Sat, 28 Jun 2003 07:40:23 +0000 (07:40 +0000)]
Patch #751916: Check for signals, fix some refcounting errors.

22 years agoSF 662923: iterator for dbm keys
Raymond Hettinger [Sat, 28 Jun 2003 07:08:39 +0000 (07:08 +0000)]
SF 662923: iterator for dbm keys

When shelve and the bsdbm where expanded to a full mapping interface,
this module was missed.

22 years agoAdd take() to examples. Tighten the islice() example
Raymond Hettinger [Sat, 28 Jun 2003 05:44:36 +0000 (05:44 +0000)]
Add take() to examples.  Tighten the islice() example

22 years agofix markup nits
Fred Drake [Sat, 28 Jun 2003 03:09:06 +0000 (03:09 +0000)]
fix markup nits

22 years agoSF patch #756996: Bare except in ZipFile.testzip()
Raymond Hettinger [Fri, 27 Jun 2003 22:25:03 +0000 (22:25 +0000)]
SF patch #756996: Bare except in ZipFile.testzip()
(Contributed by Steven Taschuk)

Replaces a bare except that caused all errors to be mis-reported as
archive errors.

Added a related NEWS item.

22 years agoSF patch #761519: Fixes for bugs 760703 and 757821
Raymond Hettinger [Fri, 27 Jun 2003 21:43:39 +0000 (21:43 +0000)]
SF patch #761519: Fixes for bugs 760703 and 757821
SF bug #760703: SocketHandler and LogRecord don't work well together
SF bug #757821: logging module docs

Applied Vinay Sajip's patch with a few minor fixups and a NEWS item.

Patched __init__.py - added new function
makeLogRecord (for bug report 760703).

Patched handlers.py - updated some docstrings and
deleted some old commented-out code.

Patched test_logging.py to make use of makeLogRecord.

Patched liblogging.tex to fill documentation gaps (both
760703 and bug 757821).

22 years agoA hack to ease compatibility with pre-2.3 Pythons: by default, doctest
Tim Peters [Fri, 27 Jun 2003 20:48:05 +0000 (20:48 +0000)]
A hack to ease compatibility with pre-2.3 Pythons:  by default, doctest
now accepts "True" when a test expects "1", and similarly for "False"
versus "0".  This is un-doctest-like, but on balance makes it much
more pleasant to write doctests that pass under 2.2 and 2.3.  I expect
it to go away again, when 2.2 is forgotten.  In the meantime, there's
a new doctest module constant that can be passed to a new optional
argument, if you want to turn this behavior off.

Note that this substitution is very simple-minded:  the expected and
actual outputs have to consist of single tokens.  No attempt is made,
e.g., to accept [True, False] when a test expects [1, 0].  This is a
simple hack for simple tests, and I intend to keep it that way.

22 years agoDo not add extra "\n" after bang line.
Gustavo Niemeyer [Fri, 27 Jun 2003 19:33:38 +0000 (19:33 +0000)]
Do not add extra "\n" after bang line.

22 years agofix typo
Fred Drake [Fri, 27 Jun 2003 19:22:11 +0000 (19:22 +0000)]
fix typo

22 years agoadd mention of -l, --listfuncs to usage() small part of 542562
Skip Montanaro [Fri, 27 Jun 2003 19:09:33 +0000 (19:09 +0000)]
add mention of -l, --listfuncs to usage()  small part of 542562

22 years agoAdd a trivial test of getargspec() with a method.
Jeremy Hylton [Fri, 27 Jun 2003 18:43:12 +0000 (18:43 +0000)]
Add a trivial test of getargspec() with a method.

22 years agoA bit o' reformatting and removal of non-_getframe currentframe().
Jeremy Hylton [Fri, 27 Jun 2003 18:41:20 +0000 (18:41 +0000)]
A bit o' reformatting and removal of non-_getframe currentframe().

22 years agoDon't assume the name of the table of contents will be contents.html;
Fred Drake [Fri, 27 Jun 2003 18:26:01 +0000 (18:26 +0000)]
Don't assume the name of the table of contents will be contents.html;
that won't be right when mkhowto is called with --numeric (as it is
for the Python Tutorial).  Save the actual name we use when we build
the table of contents, then use that in the page head metadata.  The
node2label.pl script will munge this properly when --numeric isn't
given, so this works in both cases.
Closes SF bug #761830.

22 years agoFix for SF bug 620190: getargspec() doesn't work with methods.
Jeremy Hylton [Fri, 27 Jun 2003 18:14:39 +0000 (18:14 +0000)]
Fix for SF bug 620190: getargspec() doesn't work with methods.

22 years agoAdd tests for __nonzero__() problems.
Jeremy Hylton [Fri, 27 Jun 2003 17:40:16 +0000 (17:40 +0000)]
Add tests for __nonzero__() problems.

22 years agoRequire that __nonzero__() return a bool or exactly an int.
Jeremy Hylton [Fri, 27 Jun 2003 17:38:27 +0000 (17:38 +0000)]
Require that __nonzero__() return a bool or exactly an int.

22 years agoAdd definitions of the test and testlist symbols in the grammar so
Fred Drake [Fri, 27 Jun 2003 17:12:43 +0000 (17:12 +0000)]
Add definitions of the test and testlist symbols in the grammar so
there are no gaps in the definitions.
Closes SF bug #726150.

22 years agoRevert previous checkin and just add a comment about constructor_ob.
Jeremy Hylton [Fri, 27 Jun 2003 16:58:43 +0000 (16:58 +0000)]
Revert previous checkin and just add a comment about constructor_ob.

There's no point to passing it anymore, but there's a test that
expects the call to fail if you pass a non-callable object.

22 years agoCheck return type of __nonzero__() method.
Jeremy Hylton [Fri, 27 Jun 2003 16:46:45 +0000 (16:46 +0000)]
Check return type of __nonzero__() method.

The language reference says you must return an int or a bool.  This
fix limits the scope of SF bug 759227 (infinite recursion) to
subclasses of int.

22 years agofix link-hovering so <a name='...'> (no href attribute) doesn't get
Fred Drake [Fri, 27 Jun 2003 16:32:27 +0000 (16:32 +0000)]
fix link-hovering so <a name='...'> (no href attribute) doesn't get
the hovering background

22 years agoFix several bugs in handling of exceptions with trace function enabled.
Jeremy Hylton [Fri, 27 Jun 2003 16:13:17 +0000 (16:13 +0000)]
Fix several bugs in handling of exceptions with trace function enabled.

If the callback raised an exception but did not set curexc_traceback,
the trace function was called with PyTrace_RETURN.  That is, the trace
function was called with an exception set.  The main loop detected the
exception when the trace function returned; it complained and disabled
tracing.

Fix the logic error so that PyTrace_RETURN only occurs if the callback
returned normally.

The trace function must be called for exceptions, too.  So we had
to add new functionality to call with PyTrace_EXCEPTION.  (Leads to a
rather ugly ifdef / else block that contains only a '}'.)

Reverse the logic and name of NOFIX_TRACE to FIX_TRACE.

Joint work with Fred.

22 years agoSome Windows changes preparing for 2.3b2.
Tim Peters [Fri, 27 Jun 2003 15:49:35 +0000 (15:49 +0000)]
Some Windows changes preparing for 2.3b2.

22 years ago(HTML|Text)Repr.repr1: Guard against objects whos types have no __name__
Skip Montanaro [Fri, 27 Jun 2003 15:45:41 +0000 (15:45 +0000)]
(HTML|Text)Repr.repr1: Guard against objects whos types have no __name__
attribute. Patch and bug report from Geoff Talvola. Closes patch #672855.

22 years agoJacob Hallen cornered me here at EuroPython and got me to look at
Michael W. Hudson [Fri, 27 Jun 2003 12:32:39 +0000 (12:32 +0000)]
Jacob Hallen cornered me here at EuroPython and got me to look at
patch:

[ 750008 ] 'compiler' module bug with 'import foo.bar as baz'

which I'm now checking in.

after import foo.bar as baz, baz would refer to foo.

22 years agoSF bug #761337: datetime.strftime fails on trivial format string
Raymond Hettinger [Fri, 27 Jun 2003 08:14:17 +0000 (08:14 +0000)]
SF bug #761337: datetime.strftime fails on trivial format string

The interning of short strings violates the refcnt==1 assumption for
_PyString_Resize().

A simple fix is to boost the initial value of "totalnew" by 1.
Combined with an NULL argument to PyString_FromStringAndSize(),
this assures that resulting format string is not interned.
This will remain true even if the implementation of
PyString_FromStringAndSize() changes because only the uninitialized
strings that can be interned are those of zero length.

Added a test case.

22 years ago* Markup nits for the Invoking Descriptors section
Raymond Hettinger [Fri, 27 Jun 2003 06:57:56 +0000 (06:57 +0000)]
* Markup nits for the Invoking Descriptors section
* Documented __slots__
* Documented __metaclass__

Shamelessly plagarized from Guido's tutorial.

22 years agoDon't call constructor() from pickle().
Jeremy Hylton [Thu, 26 Jun 2003 23:20:20 +0000 (23:20 +0000)]
Don't call constructor() from pickle().

The constructor() call only made sense when it registered the
constructor as safe for unpickling.  We should probably remove the
module-global function, but need to worry about backwards
compatibility.

22 years agoSF patch #760792: "wo" in "word" now valid but not documented as such
Raymond Hettinger [Thu, 26 Jun 2003 19:32:10 +0000 (19:32 +0000)]
SF patch #760792: "wo" in "word" now valid but not documented as such
Revised version of a contribution from Gerrit Holl.

Update the docs for the extended behavior of __contains__

22 years agoPortion of SF patch #761104. Fixes a minor docstring error.
Raymond Hettinger [Thu, 26 Jun 2003 18:49:28 +0000 (18:49 +0000)]
Portion of SF patch #761104.   Fixes a minor docstring error.
_TemporarilyImmutableSet is in fact a subclass of BaseSet

22 years ago* Fixed an unmatched parenthesis early in the text.
Raymond Hettinger [Thu, 26 Jun 2003 17:41:40 +0000 (17:41 +0000)]
* Fixed an unmatched parenthesis early in the text.

* Clarified the meaning of lexicographic sequence ordering as discussed on
  comp.lang.python:  http://groups.google.com/groups?th=e163c9f9ba114493

22 years agoEnable tracing of multi-threaded applications.
Jeremy Hylton [Thu, 26 Jun 2003 14:56:17 +0000 (14:56 +0000)]
Enable tracing of multi-threaded applications.

Fix bug in computation of coverage percentage: Only count a line if it
was executed or if we print the >>>>>> marker.

22 years agoFixing bug described in patch #756032, where SRE reads invalid data
Gustavo Niemeyer [Thu, 26 Jun 2003 14:41:08 +0000 (14:41 +0000)]
Fixing bug described in patch #756032, where SRE reads invalid data
due to a corrupted end pointer.

22 years agomarkup consistency nits
Fred Drake [Thu, 26 Jun 2003 03:11:57 +0000 (03:11 +0000)]
markup consistency nits

22 years agoremove _ from label: LaTeX rejects this due to all the magic we use to
Fred Drake [Thu, 26 Jun 2003 03:11:20 +0000 (03:11 +0000)]
remove _ from label: LaTeX rejects this due to all the magic we use to
get the _ character to format like a normal character

22 years agoRemoved useless intra-section references which jump to the top of the
Raymond Hettinger [Wed, 25 Jun 2003 20:36:20 +0000 (20:36 +0000)]
Removed useless intra-section references which jump to the top of the
section instead of the specific item being referenced.

22 years agoSF bug #696777: How to make a class iterable using a member generator.
Raymond Hettinger [Wed, 25 Jun 2003 19:03:22 +0000 (19:03 +0000)]
SF bug #696777:  How to make a class iterable using a member generator.

* Added a note that a container class can implement the iterator protocol
  by defining its __iter__() method as a generator.

22 years ago* Document how descriptors are invoked.
Raymond Hettinger [Wed, 25 Jun 2003 18:29:36 +0000 (18:29 +0000)]
* Document how descriptors are invoked.
* Fix minor parenthesis matching errors in ref3.tex.

22 years agoSF bug #757822: Additional index items, other minor details
Raymond Hettinger [Wed, 25 Jun 2003 15:07:45 +0000 (15:07 +0000)]
SF bug #757822: Additional index items, other minor details

* Minor grammatical fix.

22 years agoWhitespace normalization.
Walter Dörwald [Wed, 25 Jun 2003 13:12:18 +0000 (13:12 +0000)]
Whitespace normalization.

22 years agoSF bug #759889: Pickling of Random is broken
Raymond Hettinger [Tue, 24 Jun 2003 20:29:04 +0000 (20:29 +0000)]
SF bug #759889:  Pickling of Random is broken

* Implement __reduce__() to support pickling.
* Add a test case to prove a successful roundtrip through pickle.

22 years ago_make_boundary(): A minor optimization suggested by the Timbot.
Barry Warsaw [Tue, 24 Jun 2003 20:19:34 +0000 (20:19 +0000)]
_make_boundary(): A minor optimization suggested by the Timbot.

22 years agoDeal with a couple XXX comments which asked questions.
Greg Stein [Tue, 24 Jun 2003 06:35:19 +0000 (06:35 +0000)]
Deal with a couple XXX comments which asked questions.

In response to "shouldn't the client close the file?", the answer is
"no". The original design behind HTTPConnection is that the client did
not have to worry about it. The response would close itself when you
read the last of the data from it. This closing also dealt with
allowing the connection to perform another request/response (if it was
a persistent connection).

However... the auto-close behavior broke compatibility with the
classic httplib.HTTP class' behavior when a zero-length response body
was present. In that situation, the HTTPResponse object was
auto-closing it since there was no data present, and for an HTTP/1.0
connection-close socket (or an HTTP/0.9 request) connection, that also
ended up closing the socket. When an httplib.HTTP user went to read
the socket... boom. A patch to correct the auto-close (for compat with
old httplib users) was added in rev 1.22.

But for non-zero-length *chunked* bodies, we should keep the
auto-close behavior. The library user is not reading the socket (they
can't cuz of the chunked response we just got done handling), so they
should be immune to the response closing the socket. In fact, I would
like to see (one day) the auto-close restored, and the HTTP subclass
would simply have a flag to disable that behavior (for back-compat
purposes).

22 years agoSF patch #736962. Converted test_compile to unittest format.
Raymond Hettinger [Mon, 23 Jun 2003 13:36:57 +0000 (13:36 +0000)]
SF patch #736962.  Converted test_compile to unittest format.

22 years agoIdlefork patch #682347: convert Unicode strings from readline to
Martin v. Löwis [Sun, 22 Jun 2003 07:52:56 +0000 (07:52 +0000)]
Idlefork patch #682347: convert Unicode strings from readline to
IOBinding.encoding. Also set sys.std{in,out,err}.encoding, for both
the local and the subprocess case.

22 years ago2.3b2 on Windows will ship with Tcl/Tk 8.4.3. Note: this still didn't
Tim Peters [Sun, 22 Jun 2003 01:42:20 +0000 (01:42 +0000)]
2.3b2 on Windows will ship with Tcl/Tk 8.4.3.  Note:  this still didn't
fix the hangs on Win98SE when starting IDLE via "python" from a DOS box,
but did appear to make them harder to provoke.  I closed that bug report
as being hopeless (and if someone wants to open it again, don't dare
assign it to me again <0.1 wink>).

22 years agoGive compileall a -d option so it works correctly in the face of
Jack Jansen [Sat, 21 Jun 2003 22:07:16 +0000 (22:07 +0000)]
Give compileall a -d option so it works correctly in the face of
DESTDIR being non-null.

22 years agoBetter error message
Jeremy Hylton [Sat, 21 Jun 2003 21:35:25 +0000 (21:35 +0000)]
Better error message

22 years agosome old changes to this unused module
Just van Rossum [Sat, 21 Jun 2003 14:49:14 +0000 (14:49 +0000)]
some old changes to this unused module

22 years agochanged 8-space indentation to 4
Just van Rossum [Sat, 21 Jun 2003 14:41:32 +0000 (14:41 +0000)]
changed 8-space indentation to 4

22 years agoPatch #640236: Better eplain unused data.
Martin v. Löwis [Sat, 21 Jun 2003 14:15:25 +0000 (14:15 +0000)]
Patch #640236: Better eplain unused data.

22 years agoPatch #755087: Deal with emptied dumbdbm files correctly.
Martin v. Löwis [Sat, 21 Jun 2003 13:54:55 +0000 (13:54 +0000)]
Patch #755087: Deal with emptied dumbdbm files correctly.

22 years agoPatch #755683: Document that there might be a maximum indentation limit.
Martin v. Löwis [Sat, 21 Jun 2003 13:40:02 +0000 (13:40 +0000)]
Patch #755683: Document that there might be a maximum indentation limit.
Fixes #700827

22 years agoSet -d in compileall, to get proper path in case DESTDIR is not empty.
Martin v. Löwis [Sat, 21 Jun 2003 13:26:28 +0000 (13:26 +0000)]
Set -d in compileall, to get proper path in case DESTDIR is not empty.
Also add force, to recompile string.pyc in DESTDIR (which would normally
compiled by running compileall.py).

22 years agoAdded a field that allows the user to set sys.argv-style arguments
Jack Jansen [Fri, 20 Jun 2003 22:21:03 +0000 (22:21 +0000)]
Added a field that allows the user to set sys.argv-style arguments
to the script. Fixes #757544.

22 years agoAdd some documentation which describes how to use the email package
Barry Warsaw [Fri, 20 Jun 2003 22:04:03 +0000 (22:04 +0000)]
Add some documentation which describes how to use the email package
instead of rfc822 as the Message factory.

22 years ago- do the right thing with symlinks inside directories we're copying
Just van Rossum [Fri, 20 Jun 2003 21:43:36 +0000 (21:43 +0000)]
- do the right thing with symlinks inside directories we're copying
- move the normpath stuff around a bit
- added dubious special case to addPythonFramework()

22 years agoCop out, and set things to be group-writeable recursively. The various
Jack Jansen [Fri, 20 Jun 2003 21:40:57 +0000 (21:40 +0000)]
Cop out, and set things to be group-writeable recursively. The various
xxxMODE flags don't cut it. Also set the umask to 2 before doing the
compileall on the destination system.

22 years agomake sure paths to dirs don't end in a /
Just van Rossum [Fri, 20 Jun 2003 21:26:55 +0000 (21:26 +0000)]
make sure paths to dirs don't end in a /

22 years agoReworked --strip option: it will now look at _any_ file that's marked
Just van Rossum [Fri, 20 Jun 2003 21:18:22 +0000 (21:18 +0000)]
Reworked --strip option: it will now look at _any_ file that's marked
executable in the bundle. Therefore got rid of the "binaries" attribute.

22 years agoSet the executable bits when installing the shared library in a MacOSX
Jack Jansen [Fri, 20 Jun 2003 20:36:53 +0000 (20:36 +0000)]
Set the executable bits when installing the shared library in a MacOSX
framework. Fixes #758112.

22 years agoregister the library inside Python.framework as eligable for stripping
Just van Rossum [Fri, 20 Jun 2003 20:05:40 +0000 (20:05 +0000)]
register the library inside Python.framework as eligable for stripping

22 years agoAdd initial standalone support for Python.framework
Just van Rossum [Fri, 20 Jun 2003 18:56:10 +0000 (18:56 +0000)]
Add initial standalone support for Python.framework

22 years agoAdded regression test for SF #757818
Raymond Hettinger [Fri, 20 Jun 2003 18:41:26 +0000 (18:41 +0000)]
Added regression test for SF #757818

22 years agoSF #757229, fix libsocket.tex typo
Neal Norwitz [Fri, 20 Jun 2003 17:11:39 +0000 (17:11 +0000)]
SF #757229, fix libsocket.tex typo

22 years agoRemoved bytecode transformation for sequence packing/unpacking.
Raymond Hettinger [Fri, 20 Jun 2003 16:13:17 +0000 (16:13 +0000)]
Removed bytecode transformation for sequence packing/unpacking.
It depended on the previously removed basic block checker to
prevent a jump into the middle of the transformed block.

Clears SF 757818: tuple assignment -- SystemError: unknown opcode

22 years agoUpdated.
Jack Jansen [Fri, 20 Jun 2003 15:14:08 +0000 (15:14 +0000)]
Updated.

22 years agoAt startup, test that PythonLauncher is the default application for files
Jack Jansen [Fri, 20 Jun 2003 14:36:58 +0000 (14:36 +0000)]
At startup, test that PythonLauncher is the default application for files
of type .py, .pyw and .pyc. If not, post a warning.

22 years agoInstallation of PythonLauncher has been failing silently, probably since
Jack Jansen [Fri, 20 Jun 2003 14:33:38 +0000 (14:33 +0000)]
Installation of PythonLauncher has been failing silently, probably since
the DESTDIR patch. Fixed.

22 years agoRemove heading from orphan section.
Fred Drake [Fri, 20 Jun 2003 14:27:27 +0000 (14:27 +0000)]
Remove heading from orphan section.

22 years agoUpdate link to Python book information.
Fred Drake [Fri, 20 Jun 2003 14:00:49 +0000 (14:00 +0000)]
Update link to Python book information.

22 years agominor __doc__ string tweakage
Skip Montanaro [Fri, 20 Jun 2003 01:01:19 +0000 (01:01 +0000)]
minor __doc__ string tweakage