Neal Norwitz
7eb3c9196d
SF bug 881641, make it easier to use valgrind
2004-06-06 19:20:22 +00:00
Tim Peters
0b4d1ee29d
SF 964876 mapping a 0 length file
...
Document that it can't be done on Windows.
2004-06-06 16:51:46 +00:00
Phillip J. Eby
de48307f76
Added documentation to address SF bug #963246 : limitations on multiple
...
inheritance in Python when a C type is one of the bases.
2004-06-06 15:59:18 +00:00
Skip Montanaro
0179a18034
add -L flag to cause leaks(1) command to run just before exit
2004-06-06 15:53:18 +00:00
Kurt B. Kaiser
4d5bc6031c
Noam Raphel: Further developemt of CodeContext feature.
...
The visibility state of the code context pane is now persistent between
sessions and the pane does not appear in the shell window.
M CodeContext.py
M EditorWindow.py
M NEWS.txt
M PyShell.py
M config-extensions.def
M configHandler.py
2004-06-06 01:29:22 +00:00
Nicholas Bastin
cfa157d808
Doc fix for SF #962633 .
2004-06-06 01:17:52 +00:00
Andrew M. Kuchling
41627bf78d
Reword message
2004-06-05 19:49:12 +00:00
Neil Schemenauer
6412b121f6
Remove a number of tests that differ only in input data size. It seems
...
no bug motivated their inclusion and the chance of them triggering a
problem seems unlikely. Refactor to reduce code duplication. Rename
'hamlet_scene' to 'HAMLET_SCENE'. Test is much faster now. Closes #960995 .
2004-06-05 19:34:28 +00:00
Andrew M. Kuchling
204d7861df
Fix exception wording
2004-06-05 19:29:41 +00:00
Andrew M. Kuchling
e1ca355425
[Bug #918710 ] Add paragraph to clarify docs
2004-06-05 19:25:30 +00:00
Andrew M. Kuchling
26f6bdf4f1
[Bug #758665 ] cgitb.scanvars() fails because of an unititialized value variable. Patch from Robin Becker.
2004-06-05 19:15:34 +00:00
Neil Schemenauer
94afd3e7ae
Remove lots of magic constants.
2004-06-05 19:02:52 +00:00
Andrew M. Kuchling
1b50b43bee
[Bug #936837 ] Add missing word
2004-06-05 19:00:55 +00:00
Hye-Shik Chang
2400e93057
SF #877165 : Give an info about what C++ compiler command should be
...
used in cygwin and mingw32. (Reported by Michael Droettboom)
2004-06-05 18:37:53 +00:00
Skip Montanaro
58fc5d0813
Rewrote to use temporary files instead of StringIO objects in most places.
...
Goal is to work in the direction of universal newline support.
2004-06-05 17:03:20 +00:00
Andrew M. Kuchling
a2c9a98a0a
[Bug #897935 ] Fix fd leak in pty.spawn(). Reported by James Henstridge; 2.3 bugfix candidate.
2004-06-05 16:27:16 +00:00
Andrew M. Kuchling
b7d8ce0275
[Bug #921657 ] Allow '@' in unquoted HTML attributes. Not strictly legal according to the HTML REC, but HTMLParser is already a pretty loose parser. Reported by Bernd Zimmermann.
2004-06-05 15:31:45 +00:00
Raymond Hettinger
9021c95595
SF bug #964230 : random.choice([]) should return more intelligible exception
...
Add a comment to make the traceback less mysterious.
2004-06-05 14:53:22 +00:00
Andrew M. Kuchling
ba8b6bc86f
[Bug #954364 ] inspect.getframeinfo() sometimes produces incorrect traceback line #s; fix is to look at tb.tb_lineno, not tb.frame.f_lineno. Patch from Robin Becker and me.
2004-06-05 14:11:59 +00:00
Hye-Shik Chang
39aef79821
Fix a bug that robotparser starves memory when the server responses
...
in HTTP/0.9 due to dissonance of httplib.LineAndFileWrapper and
urllib.addbase.
2004-06-05 13:30:56 +00:00
Andrew M. Kuchling
5962f457b4
[Bug #841757 ] Patch from /F to allow Unicode strings as struct keys
2004-06-05 12:35:58 +00:00
Andrew M. Kuchling
b12d97c275
[Bug #841757 ] Exercise handling of Unicode strings
2004-06-05 12:33:27 +00:00
Raymond Hettinger
f2c0830585
SF bug #963956 : Bad error mesage when subclassing a module
...
Add a more informative message for the common user mistake of subclassing
from a module name rather than another class (i.e. random instead of
random.random).
2004-06-05 06:16:22 +00:00
Brett Cannon
0096e262ff
Refactored site.py into functions. Also moved over to using sets.
...
New regression test suite.
2004-06-05 01:12:51 +00:00
Martin v. Löwis
642c8a11fd
Patch #926209 : Patch to setup.py to run on x86_64 Linux.
2004-06-04 13:55:13 +00:00
Hye-Shik Chang
2d6783b4bc
SF #966375 : Fix typo (Reported by Kristian Ovaska)
2004-06-04 09:33:18 +00:00
Raymond Hettinger
4ec44e851d
Replaced arbitrary addend in tuple_hash with one that is known to generate
...
many more prime multipliers and that performs well on collision tests.
2004-06-04 06:35:20 +00:00
Raymond Hettinger
4e49b836db
SF patch #961387 : Make IDLE's paragraph reformatting width configurable
2004-06-04 06:31:08 +00:00
Hye-Shik Chang
3c145449da
Reuse width/iswide tests from strings_test. (Suggested by Walter Dörwald)
2004-06-04 04:24:54 +00:00
Hye-Shik Chang
6838c557fa
Add comments for unicode-only methods to give hints on AttributeError
...
tracebacks. (Suggested by Walter Dörwald)
2004-06-04 04:23:29 +00:00
Hye-Shik Chang
7bd860655f
Fix typo.
2004-06-04 03:19:17 +00:00
Hye-Shik Chang
5f5125997b
Add iswide() and width() method for UserString according as the
...
addition to unicode objects.
2004-06-04 03:18:12 +00:00
Jack Jansen
0701bd64aa
Fix for #860242 : use correct names in the "save preferences" dialog.
2004-06-03 21:55:46 +00:00
Jack Jansen
30184f3611
- Fix for #862941 : "run with commandline python" crashed. Fixed.
...
- Prefer to use pythonw (if it exists) for "run with commandline python".
2004-06-03 21:27:15 +00:00
Fred Drake
22ec5c3639
if we must argue over the/they, we can just remove the unecessary word
2004-06-03 17:19:25 +00:00
Fred Drake
175d18840a
avoid backticks in examples; use repr() instead
2004-06-03 16:23:23 +00:00
Jack Jansen
1afd4807d9
Fix for #932977 : MacOSX does not pass the whole pathname in argv[0] for
...
#!-scripts, only the filename part, and this can lead to incorrect
initialization of sys.path and sys.executable if there is another python
on $PATH before the one used in #!.
The fix was picked up from the darwinports crowd, thanks!
2004-06-03 14:33:03 +00:00
Jack Jansen
76375745d5
On startup, attempt to set the working directory to $HOME.
...
Fixes #913581 .
2004-06-03 14:15:50 +00:00
Raymond Hettinger
2d1a2aa117
Fix typo: the-->they
2004-06-03 14:13:04 +00:00
Guido van Rossum
6dfed6c41f
Fix typo.
2004-06-03 13:56:05 +00:00
Michael W. Hudson
3151e18505
Small clarification.
2004-06-03 13:36:42 +00:00
Jack Jansen
8d562e6b4f
Very large scripts folders could crash the IDE, because it runs out
...
of Menu IDs (of which there are only 255 in Carbon). Fixed by stopping
examining the scripts folder when we allocate menu ID 200.
Fixes #959291 . Need to backport.
2004-06-03 13:31:51 +00:00
Fred Drake
d6d35d954b
- fix typo reported by John Belmonte
...
- wrap a long line
2004-06-03 13:31:22 +00:00
Martin v. Löwis
77ca6c4c84
Warn abou missing mutate flag to ioctl. Fixes #696535 .
2004-06-03 12:47:26 +00:00
Jack Jansen
6b08a40442
Partial fix for #887242 (link extensions with dynamic_lookup in stead
...
of hard linking against the framework).
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile.
Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was
recorded in the Makefile, and if it was insists that the current
value matches.
This is only a partial fix because it only applies to 2.4, and the
"two python problem" exists with Python 2.3 shipped with MacOSX 10.3,
which we have no influence over.
2004-06-03 12:41:45 +00:00
Hye-Shik Chang
bc555e386b
Fix the grammar a bit more. (Adjusted by Tony Meyer)
2004-06-03 11:10:58 +00:00
Martin v. Löwis
9bc4f2def3
Drop claims that Unicode always means UCS-2. Fixes #881861 .
2004-06-03 09:55:28 +00:00
Martin v. Löwis
4a9b8069e0
Document string methods that are locale-dependent. Fixes #935749 .
...
Will backport to 2.3.
2004-06-03 09:47:01 +00:00
Martin v. Löwis
558d9bf528
Patch #929192 : Improvements to bluetooth support.
...
Added setbdaddr and makebdaddr.
Extended makesockaddr to understand Bluetooth addresses.
Changed getsockaddr to expect the Bluetooth addresses as a string,
not a six element tuple.
Reformatted some of the Bluetooth code to be more consistent with PEP 7.
2004-06-03 09:24:42 +00:00
Martin v. Löwis
eac324b90b
Patch #957240 : Add count parameter to asyncore.loop.
2004-06-03 09:18:35 +00:00