Martin v. Löwis
be0e7f4262
Document tix directory.
2001-03-21 11:47:55 +00:00
Martin v. Löwis
0411f6f135
Add section on 2.1b2.
...
Report the addition of the Tix module.
2001-03-21 08:01:39 +00:00
Martin v. Löwis
b1d196927a
Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix
...
by requiring it. Also remove commentary from Setup.dist about commenting
in and out stuff.
2001-03-21 07:44:53 +00:00
Martin v. Löwis
b21cb5fa7d
Patch #410231 : Add the Python Tix library.
2001-03-21 07:42:07 +00:00
Martin v. Löwis
2c91c815d4
Patch #409504 : Fix regex problems, consider \-continuation lines in Makefile
...
and Setup.
2001-03-21 06:58:25 +00:00
Tim Peters
55f826cd6a
Update Windows installer for 2.1b2.
2001-03-21 06:09:14 +00:00
Tim Peters
eba5130e4f
Addrf simple test that import is case-sensitive.
2001-03-21 03:58:16 +00:00
Jack Jansen
9de05f4157
Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
2001-03-20 23:30:38 +00:00
Jack Jansen
875b51dff9
Added dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon.
2001-03-20 23:30:06 +00:00
Jack Jansen
aabdb0d5bf
Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon.
2001-03-20 23:29:41 +00:00
Fred Drake
4e6d09e369
Moved the description of the tzparse module to the "Obsolete" section
...
and note that it fails when the TZ environment variable is not set.
This closes SF bug #409683 .
2001-03-20 23:13:53 +00:00
Jack Jansen
4df3c5284f
Case-checking was broken on the Macintosh. Fixed.
2001-03-20 23:09:54 +00:00
Jack Jansen
fddef433d1
Got module to work under Carbon. Also disabled a few more bits of cfm68k support.
2001-03-20 21:55:51 +00:00
Jack Jansen
26d42df3c1
Added riscos modules to modules that don't have to be included.
2001-03-20 21:55:07 +00:00
Guido van Rossum
6b767ac81a
Lawrence Hudson, SF #401702 : Modify co_filename in frozen programs
...
This patch was developed primarily to reduce the size of the
frozen binary. It is particularly useful when freezing for 'small'
platforms, such as Palm OS, where you really want to save that
last miserable byte.
A limitation of this patch is that it does not provide any feedback
about the replacements being made. As the path matching
is case-sensitive this may lead to unexpected behaviour for DOS
and Windows people, eg
> freeze.py -r C:\Python\Lib\=py\ goats.py
should probably be:
> freeze.py -r c:\python\lib\=py\ goats.py
2001-03-20 20:43:34 +00:00
Guido van Rossum
b845cb0946
Bump version to 2.1b2.
2001-03-20 19:57:10 +00:00
Guido van Rossum
d0926940b7
Add a deprecation warning to this module.
...
Importing it typically fails anyway (no TZ variable defined), so this
is no great loss.
2001-03-20 18:36:48 +00:00
Andrew M. Kuchling
44f5f8fb26
Bug #409419 : delete seek() and tell() methods, so callers can use getattr()
...
to check for them (instead of calling them and then ignoring an
IOError)
2001-03-20 15:51:14 +00:00
Moshe Zadka
d3f193fe9d
* Fixing the password-proxy bug
...
* Not sending content-type and content-length twice
2001-03-20 13:14:28 +00:00
Guido van Rossum
6abce91a34
Get rid of --with-check-import-case. (Jason Tishler, SF #409924 )
2001-03-20 13:09:14 +00:00
Guido van Rossum
a1351fbd88
SF patch #408326 by Robin Thomas: slice objects comparable, not
...
hashable
This patch changes the behavior of slice objects in the following
manner:
- Slice objects are now comparable with other slice objects as though
they were logically tuples of (start,stop,step). The tuple is not
created in the comparison function, but the comparison behavior is
logically equivalent.
- Slice objects are not hashable. With the above change to being
comparable, slice objects now cannot be used as keys in dictionaries.
[I've edited the patch for style. Note that this fixes the problem
that dict[i:j] seemed to work but was meaningless. --GvR]
2001-03-20 12:41:34 +00:00
Tim Peters
26ae7cd75a
SF patch 407758, "timemodule patches for Cygwin", from Norman Vine.
...
http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470
2001-03-20 03:26:49 +00:00
Jeremy Hylton
ce7ef599d2
Fixup handling of free variables in methods when the class scope also
...
has a binding for the name. The fix is in two places:
- in symtable_update_free_vars, ignore a global stmt in a class scope
- in symtable_load_symbols, add extra handling for names that are
defined at class scope and free in a method
Closes SF bug 407800
2001-03-20 00:25:43 +00:00
Jeremy Hylton
e241e29f3d
Add test for a list comprehension that is nested in the left-hand part
...
of another list comp. This caused crashes reported as SF bugs 409230
and 407800.
Note that the new tests are in a function so that the name lookup code
isn't affected by how many *other* list comprehensions are in the same
scope.
2001-03-19 20:42:11 +00:00
Jeremy Hylton
23b4227ec8
Fix crashes in nested list comprehensions
...
SF bugs 409230 and 407800
Also remove bogus list comp code from symtable_assign().
2001-03-19 20:38:06 +00:00
Tim Peters
baa03e80f4
When building the installer, prompt for the location of the system directory
...
on the current machine. Wise doesn't seem to know this itself, and it
varies across Windows flavors.
2001-03-19 19:19:45 +00:00
Guido van Rossum
a8423a95b8
Add a whole lot of stuff to __all__.
...
(Excluding the logging stuff, which doesn't lend itself to use via
"from cgi import *" -- it manipulates globals.)
2001-03-19 13:40:44 +00:00
Fred Drake
f531ad698c
Markup nit: For the Python documents, we use \empt instead of \textit.
2001-03-19 04:19:56 +00:00
Tim Peters
9e6f278fc1
Repair test_doctest's expected-output file (Guido added some new output).
2001-03-18 20:14:25 +00:00
Skip Montanaro
64de1a4b08
add errorTab to __all__ on win*
...
closes bug #406642
2001-03-18 19:53:21 +00:00
Moshe Zadka
8f4eab2345
Committing patch 405101
2001-03-18 17:11:56 +00:00
Guido van Rossum
261d91a3f9
Make doctest's self-test succeed after the previous change.
2001-03-18 17:05:58 +00:00
Guido van Rossum
af00a46599
Print a bunch of asterisks before the failure summary, to separate it
...
from the last failure report.
2001-03-18 16:58:44 +00:00
Eric S. Raymond
1bb515b0e5
Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to use
...
the re package rather than the obsolete regex.
2001-03-18 11:27:58 +00:00
Tim Peters
0f33604e17
SF bug [ #409448 ] Complex division is braindead
...
http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470
Now less braindead. Also added test_complex.py, which doesn't test much, but
fails without this patch.
2001-03-18 08:21:57 +00:00
Andrew M. Kuchling
7620bbdcbf
Fix bug #233253 : the --define and --undef options didn't work, whether
...
specified on the command-line or in setup.cfg. The option processing
leaves them as strings, but they're supposed to be lists.
2001-03-17 20:15:41 +00:00
Andrew M. Kuchling
898f099dc6
Bug #409403 : Signal an error if the distribution's metadata has no version
2001-03-17 19:59:26 +00:00
Andrew M. Kuchling
9b5abcd48c
Tidy up the ordering of include and library directories, putting
...
/usr/local first and leaving /usr/include at the end. This addresses
the comments in bug #232609 .
2001-03-17 16:56:35 +00:00
Tim Peters
84e87f379e
SF bug [ #233200 ] cPickle does not use Py_BEGIN_ALLOW_THREADS.
...
http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470
Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets
Afraid I hit the "delete trailing whitespace key" too! Only two "real" sections
of code changed here.
2001-03-17 04:50:51 +00:00
Thomas Heller
d179be8b8b
Distutils version number has been changed from 1.0.1 to 1.0.2pre
...
before this get forgotten again.
Should probably be set to 1.0.2 before final release of python 2.1
Does someone still release distutils separate from python?
2001-03-16 21:00:18 +00:00
Thomas Heller
5c5ea1a461
The bdist_wininst.py command has been recreated after wininst.exe
...
has been changed to include an uninstaller.
I forgot to mention in the uninstaller checkin that the logfile
name (used for uninstalling) has been changed from
<module>.log to <module>-wininst.log. This should prevent
conflicts with a distutils logfile serving the same purpose.
The short form of the --bdist-dir (-d) option has been removed
because it caused conflicts with the short form of the --dist-dir
option.
2001-03-16 20:57:37 +00:00
Fred Drake
b15bbc8d3d
Add documentation for SGMLParser.handle_decl().
2001-03-16 20:39:41 +00:00
Fred Drake
669573726b
Change RuntimeError to SGMLParseError, which subclasses RuntimeError
...
for backward compatibility.
Add support for SGML declaration syntax (<!....>) to some reasonable
degree. This does not support everything allowed in SGML, but should
work with "real" HTML (internal subset in a DOCTYPE is not handled).
The content of the declaration is passed to the .handle_decl() method,
which can be overridden by subclasses.
2001-03-16 20:04:57 +00:00
Fred Drake
83e01bf6c8
Finally fill in the documentation for the PyDict_Next() function. It is
...
different enough to actually require an explanation. ;-)
Fix a couple of PyDictObject* types that should be PyObject* types.
2001-03-16 15:41:29 +00:00
Neil Schemenauer
cf20d4f5ad
Install the Python DLL with execute priviledge set. This is required for
...
Cygwin Python to startup correctly when in ntsec mode. Cygwin operating in
this mode is probably not the only system with this requirement.
2001-03-16 11:50:43 +00:00
Tim Peters
30edd2387d
Whitespace normalization.
2001-03-16 08:29:48 +00:00
Jack Jansen
4cf97c4972
Files for second 2.1b1 distribution.
2001-03-15 14:41:01 +00:00
Jack Jansen
5c82d13e1f
FindFolder argument is a short, not an unsigned short.
...
Added kLocalDomain and friends.
2001-03-15 14:39:37 +00:00
Jack Jansen
6b498de165
Handle the apple menu differently under Carbon.
2001-03-15 14:39:03 +00:00
Jack Jansen
abd703d0ce
FindFolder argument is a short, not an unsigned short.
2001-03-15 14:38:10 +00:00