Ronald Oussoren
c55555400e
- Change fixapplepython23.py to ensure that it will run with /usr/bin/python
...
on intel macs.
- Fix some minor problems in the installer for OSX
2006-06-11 20:24:45 +00:00
Ronald Oussoren
4fbb080bc1
Use configure to substitute the correct prefix instead of hardcoding
2006-06-11 20:23:29 +00:00
Ronald Oussoren
e0cfb16f99
Remove message about using make frameworkinstall, that's no longer necesssary
2006-06-11 19:45:57 +00:00
Tim Peters
231c3c8804
Add missing svn:eol-style property to text files.
2006-06-11 19:43:49 +00:00
Tim Peters
4f96f1f2b5
Whitespace normalization.
2006-06-11 19:42:51 +00:00
Thomas Heller
0d5d222959
Release the GIL during COM method calls, to avoid deadlocks in
...
Python coded COM objects.
2006-06-11 17:04:22 +00:00
Greg Ward
0e0c9f4740
Bug #1498146 : fix optparse to handle Unicode strings in option help,
...
description, and epilog.
2006-06-11 16:24:11 +00:00
Greg Ward
d1c797e624
SF #1366250 : optparse docs: fix inconsistency in variable name; minor tweaks.
2006-06-11 14:42:41 +00:00
Ronald Oussoren
19302d927e
This patch improves the L&F of IDLE on OSX. The changes are conditionalized on
...
being in an IDLE.app bundle on darwin. This does a slight reorganisation of the
menus and adds support for file-open events.
2006-06-11 14:33:36 +00:00
Neal Norwitz
6aaccc6b55
Fix errors found by pychecker
2006-06-11 08:35:14 +00:00
Neal Norwitz
e588c2ba97
Fix errors found by pychecker.
...
I think these changes are correct, but I'm not sure. Could someone
who knows how this module works test it? It can at least start on
the cmd line.
2006-06-11 07:27:56 +00:00
Neal Norwitz
d3c52de557
warnings was imported at module scope, no need to import again
2006-06-11 07:26:50 +00:00
Neal Norwitz
f992a2b11e
Fix errors found by pychecker
2006-06-11 07:26:27 +00:00
Neal Norwitz
7d5b6e8991
f_code can't be NULL based on Frame_New and other code that derefs it.
...
So there doesn't seem to be much point to checking here.
2006-06-11 05:48:14 +00:00
Neal Norwitz
8e6675a7dc
Update doc to make it agree with code.
...
Bottom factor out some common code.
2006-06-11 05:47:14 +00:00
Neal Norwitz
a754a229b4
Add versionadded to doc
2006-06-11 05:45:47 +00:00
Neal Norwitz
3c5431e132
Wrap some long lines
...
Top/Bottom factor out some common expressions
Add a XXX comment about widing offset.
2006-06-11 05:45:25 +00:00
Neal Norwitz
b4fcf8d787
Fix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL.
...
We know it's not NULL from the ParseTuple and DbObject_Check will verify
it's not NULL.
2006-06-11 05:44:18 +00:00
Greg Ward
7f54740c4d
Bug #1361643 : fix textwrap.dedent() so it handles tabs appropriately,
...
i.e. do *not* expand tabs, but treat them as whitespace that is not
equivalent to spaces. Add a couple of test cases. Clarify docs.
2006-06-11 00:40:49 +00:00
Tim Peters
0e1159583c
shuffle() doscstring: Removed warning about sequence length
...
versus generator period. While this was a real weakness of the
older WH generator for lists with just a few dozen elements,
and so could potentially bite the naive ;-), the Twister should
show excellent behavior up to at least 600 elements.
Module docstring: reflowed some jarringly short lines.
2006-06-10 22:51:45 +00:00
Skip Montanaro
9a8ae8f46b
Suppress warning on MacOSX about possible use before set of proc.
2006-06-10 22:38:13 +00:00
Thomas Heller
9af2b44805
Handle failure of PyMem_Realloc.
2006-06-10 22:01:50 +00:00
Thomas Heller
9123edcc63
Don't use C++ comment.
2006-06-10 21:56:03 +00:00
Thomas Heller
eb6dcf6b0d
Fix the second occurrence of the problematic printf format.
2006-06-10 21:17:58 +00:00
Thomas Heller
5218ab263a
Fix a wrong printf format.
2006-06-10 21:07:19 +00:00
Thomas Heller
82578c895c
New docs for ctypes.
2006-06-10 20:29:34 +00:00
Fred Drake
9a7e4451d2
credit for SF patch #1303595
2006-06-10 20:02:58 +00:00
Fred Drake
5e30626f7f
SF patch #1303595 : improve description of __builtins__, explaining how it
...
varies between __main__ and other modules, and strongly suggest not touching
it but using __builtin__ if absolutely necessary
2006-06-10 20:01:34 +00:00
Thomas Heller
5114826950
Upgrade to ctypes version 0.9.9.7.
...
Summary of changes:
- support for 'variable sized' data
- support for anonymous structure/union fields
- fix severe bug with certain arrays or structures containing more than 256 fields
2006-06-10 19:55:36 +00:00
Thomas Heller
45f59ab3ee
Upgrade to ctypes version 0.9.9.7.
...
Summary of changes:
- support for 'variable sized' data
- support for anonymous structure/union fields
- fix severe bug with certain arrays or structures containing more than 256 fields
2006-06-10 19:51:46 +00:00
Greg Ward
c5221e157e
Sync with Optik docs (rev 518):
...
* restore "Extending optparse" section
* document ALWAYS_TYPED_ACTIONS (SF #1449311 )
2006-06-10 16:40:01 +00:00
Skip Montanaro
86116e2b75
document the class, not its initializer
2006-06-10 14:09:11 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Armin Rigo
acd0d6d416
SF bug #1503294 .
...
PyThreadState_GET() complains if the tstate is NULL, but only in debug mode.
2006-06-10 10:57:40 +00:00
Martin v. Löwis
787fe6d9f6
Port cygwin kill_python changes from 2.4 branch.
2006-06-10 08:14:03 +00:00
Georg Brandl
90e27d38f5
Apply perky's fix for #1503157 : "/".join([u"", u""]) raising OverflowError.
...
Also improve error message on overflow.
2006-06-10 06:40:50 +00:00
Brett Cannon
6946ea0be0
Fix bug introduced in rev. 46806 by not having variable declaration at the top of a block.
2006-06-09 22:45:54 +00:00
Brett Cannon
22565aac3b
An object with __call__ as an attribute, when called, will have that attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute. This can lead to an infinite recursion.
...
Closes bug #532646 , again. Will be backported.
2006-06-09 22:31:23 +00:00
Georg Brandl
b2afe855e5
Make use of new str.startswith/endswith semantics.
...
Occurences in email and compiler were ignored due to backwards compat requirements.
2006-06-09 20:43:48 +00:00
Thomas Heller
3ebef999e6
set eol-style svn property
2006-06-09 20:01:01 +00:00
Thomas Heller
2ad7bd5f56
set eol-style svn property
2006-06-09 19:59:11 +00:00
Andrew M. Kuchling
b3f2985c8d
Add some wsgiref text
2006-06-09 19:56:05 +00:00
Andrew M. Kuchling
2007d4e892
Remove unused variable
2006-06-09 19:43:25 +00:00
Tim Peters
e558486953
Implementing a happy idea from Georg Brandl: make runtest() try to
...
clean up files and directories the tests often leave behind by
mistake. This is the first time in history I don't have a bogus
"db_home" directory after running the tests ;-)
Also worked on runtest's docstring, to say something about all the
arguments, and to document the non-obvious return values.
New functions runtest_inner() and cleanup_test_droppings() in
support of the above.
2006-06-09 19:24:44 +00:00
Andrew M. Kuchling
a04d118586
Describe startswith()/endswiith() change; add reminder about wsgiref
2006-06-09 19:03:16 +00:00
Georg Brandl
242508160e
RFE #1491485 : str/unicode.endswith()/startswith() now accept a tuple as first argument.
2006-06-09 18:45:48 +00:00
Brett Cannon
932f5afbe8
svn:ignore .pyc and .pyo files.
2006-06-09 18:40:46 +00:00
Georg Brandl
e7ec81f130
Test file.__exit__.
2006-06-09 18:29:52 +00:00
Tim Peters
982c30b861
Whitespace normalization.
2006-06-09 17:47:00 +00:00
Brett Cannon
c48b0e6657
Fix inconsistency in naming within an enum.
2006-06-09 17:05:48 +00:00