Martin v. Löwis
9e9a7c3dd7
Patch #640236 : Better eplain unused data.
2003-06-21 14:15:25 +00:00
Martin v. Löwis
5b8bfdf67c
Patch #755087 : Deal with emptied dumbdbm files correctly.
2003-06-21 13:54:55 +00:00
Martin v. Löwis
171be76bdd
Patch #755683 : Document that there might be a maximum indentation limit.
...
Fixes #700827
2003-06-21 13:40:02 +00:00
Martin v. Löwis
975302dbbe
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).
2003-06-21 13:26:28 +00:00
Jack Jansen
d7cccdd591
Added a field that allows the user to set sys.argv-style arguments
...
to the script. Fixes #757544 .
2003-06-20 22:21:03 +00:00
Barry Warsaw
47db252786
Add some documentation which describes how to use the email package
...
instead of rfc822 as the Message factory.
2003-06-20 22:04:03 +00:00
Just van Rossum
dc31dc02f7
- do the right thing with symlinks inside directories we're copying
...
- move the normpath stuff around a bit
- added dubious special case to addPythonFramework()
2003-06-20 21:43:36 +00:00
Jack Jansen
b6b988bceb
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.
2003-06-20 21:40:57 +00:00
Just van Rossum
6a55242685
make sure paths to dirs don't end in a /
2003-06-20 21:26:55 +00:00
Just van Rossum
00a0b97dc5
Reworked --strip option: it will now look at _any_ file that's marked
...
executable in the bundle. Therefore got rid of the "binaries" attribute.
2003-06-20 21:18:22 +00:00
Jack Jansen
4735b234d8
Set the executable bits when installing the shared library in a MacOSX
...
framework. Fixes #758112 .
2003-06-20 20:36:53 +00:00
Just van Rossum
9e50023898
register the library inside Python.framework as eligable for stripping
2003-06-20 20:05:40 +00:00
Just van Rossum
3166f59d2a
Add initial standalone support for Python.framework
2003-06-20 18:56:10 +00:00
Raymond Hettinger
4327521688
Added regression test for SF #757818
2003-06-20 18:41:26 +00:00
Neal Norwitz
3a03de4a27
SF #757229 , fix libsocket.tex typo
2003-06-20 17:11:39 +00:00
Raymond Hettinger
b9572c3456
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
2003-06-20 16:13:17 +00:00
Jack Jansen
7c0d7ba99d
Updated.
2003-06-20 15:14:08 +00:00
Jack Jansen
c30d7c37ee
At startup, test that PythonLauncher is the default application for files
...
of type .py, .pyw and .pyc. If not, post a warning.
2003-06-20 14:36:58 +00:00
Jack Jansen
94d09f84be
Installation of PythonLauncher has been failing silently, probably since
...
the DESTDIR patch. Fixed.
2003-06-20 14:33:38 +00:00
Fred Drake
2664cbbeba
Remove heading from orphan section.
2003-06-20 14:27:27 +00:00
Fred Drake
0799d0a9e3
Update link to Python book information.
2003-06-20 14:00:49 +00:00
Skip Montanaro
8df717a499
minor __doc__ string tweakage
2003-06-20 01:01:19 +00:00
Skip Montanaro
c5e5e51a3a
typo
2003-06-20 01:00:20 +00:00
Gustavo Niemeyer
25fe0bf91a
Many new tests, based on gcov's coverage information.
...
From gcov's output (based on a locally changed _sre.c):
82.07% of 1372 source lines executed in file ./Modules/_sre.c
2003-06-20 00:25:14 +00:00
Jack Jansen
8cf644df52
Install Demo and Tools too.
2003-06-19 22:45:37 +00:00
Jack Jansen
7b9a386ef9
MacPython-2.3 has progressed so far that building a set of Mac 2.3
...
extensions on top of Python 2.2 no longer seems feasible.
2003-06-19 22:44:57 +00:00
Jack Jansen
a1b77584f2
Added a target frameworkinstallextras (OSX framework build specific,
...
and not part of a normal frameworkinstall) that installs Demo and Tools
and a readme file into /Applications/MacPython-2.3/Extras. This will
give people access to the demos and tools if they instal Python through
the binary installer.
2003-06-19 22:35:20 +00:00
Jack Jansen
e53be4e855
dded notes on reporting bugs and becoming an active developer.
2003-06-19 21:25:44 +00:00
Skip Montanaro
f5ed9819b0
Avoid using 'dir' as a variable name and use os.path.join() to create
...
paths.
2003-06-19 18:10:37 +00:00
Walter Dörwald
fc1efa371a
Make the comment prefix 7 character long, so the lines are properly
...
aligned.
2003-06-19 10:36:17 +00:00
Walter Dörwald
a9da5ae07a
Use find() instead of looping over the string in expanduser().
...
From SF patch #757058 .
2003-06-19 10:21:14 +00:00
Tim Peters
76ca1d428f
randrange(): Repaired my overly optimistic rewrite, and added comments
...
explaining what's wrong with the two simpler variants.
2003-06-19 03:46:46 +00:00
Tim Peters
afb8979771
randrange(): 2.3 can no longer raises OverflowError on an int() call, so
...
some of this code because useless, and (worse) could return a long
instead of int (in Zope that's important, because a long can't be used
as a key in an IOBTree or IIBTree).
2003-06-19 03:23:06 +00:00
Jack Jansen
0b1b5adaee
- Added a "community" section.
...
- Cleaned up the HTML.
2003-06-18 22:10:27 +00:00
Jack Jansen
fc3542f678
- Create TMPDIR only if it doesn't exist yet
...
- Set the installer to use our permissions, not influenced by the umask.
2003-06-18 21:28:44 +00:00
Raymond Hettinger
befa37dd05
Minor updates:
...
* Updated comment on design of imap()
* Added untraversed object in izip() structure
* Replaced the pairwise() example with a more general window() example
2003-06-18 19:25:37 +00:00
Fred Drake
3a8fbe7eec
Include "instances of most classes" in a warning about mutable objects
...
as default values of function/method parameters.
2003-06-18 17:14:29 +00:00
Walter Dörwald
5edd785bbb
Port test_complex.py to unittest.
...
Move the constructor tests from test_builtin to test_complex.
Add a bunch of tests (code coverage is a 94%).
From SF patch #736962 .
2003-06-18 14:26:18 +00:00
Jack Jansen
39c5d666c9
Give default _elemdict and _propdict attributes to OSA classes, so
...
we don't get infinite recursion for suites that don't have an application
class.
Also got rid of some tabs.
2003-06-18 14:19:08 +00:00
Jack Jansen
2cf9b956f7
An indenting error in the code made it miss some suites that have an application
...
class.
2003-06-18 14:17:34 +00:00
Walter Dörwald
9ff3f03c3e
Fix whitespace.
2003-06-18 14:17:01 +00:00
Raymond Hettinger
b5155e30ce
Fix typo.
2003-06-18 01:58:31 +00:00
Raymond Hettinger
96a8233b64
SF patch #751038 fixing SF bug#750092: exec doesn't need newline
...
Patch contributed by Steven Taschuk.
2003-06-18 01:32:24 +00:00
Raymond Hettinger
be9715398b
SF bug #753451 : classmethod abuse --> SystemError
...
Check the argument to classmethod for callability.
Backport candidate.
2003-06-18 01:13:41 +00:00
Greg Ward
9b15878369
Remove debug print on filename with NUL byte.
2003-06-18 00:54:28 +00:00
Greg Ward
8e36d28f3c
SF patch #755987 (Jim Ahlstrom):
...
This is a patch for Bug 755031: If a null byte appears in
a file name, Python zipfile.py retains it, but InfoZip
terminates the name. Null bytes in file names are used
as a trick by viruses. I tested WinZip, and it also
truncates the file name at the null byte.
The patch also fixes a buglet: If a zipfile incorrectly
uses a directory separator other than '/', there was an
invalid complaint that the central directory name does
not match the file header name.
I also removed my name from the top of the file. It was
there for legal reasons which I believe no longer apply.
Many people have worked on this file besides me.
2003-06-18 00:53:06 +00:00
Raymond Hettinger
7d98fb9806
Add missing DECREF.
2003-06-17 23:14:40 +00:00
Brett Cannon
783eaf4774
Change all header strings to be as if they were capitalize()'ed. Also call
...
capitalize in AbstractHTTPHandler before inserting headers into HTTP instance.
Closes bug #649742 , again.
2003-06-17 21:52:34 +00:00
Walter Dörwald
5ecd6c4db2
Fix typo in comment.
2003-06-17 20:22:24 +00:00
Walter Dörwald
e8049befdf
Use _PyEval_SliceIndex to handle list.index() calls with
...
huge start and stop arguments. Add tests.
2003-06-17 19:27:39 +00:00