Martin v. Löwis
f30d60edbc
Patch #510695 : Add TSC profiling for the VM.
2004-06-08 08:17:44 +00:00
Neil Schemenauer
d68d3ee3dd
Note that memory returned by PyBuffer_New is not specifically aligned.
...
Closes SF bug #472568 .
2004-06-08 02:58:50 +00:00
Tim Peters
604c013ef2
SF 952807: Unpickling pickled instances of subclasses of datetime.date,
...
datetime.datetime and datetime.time could yield insane objects. Thanks
to Jiwon Seo for the fix.
Bugfix candidate. I'll backport it to 2.3.
2004-06-07 23:04:33 +00:00
Raymond Hettinger
d348193ff2
Add genexps to the glossary.
2004-06-07 21:52:47 +00:00
Thomas Heller
90a764c5ee
Fix a refcount bug in an obscure code corner.
2004-06-07 15:12:44 +00:00
Thomas Heller
25653242fe
Fix a refcount bug in an obscure code corner.
...
Already backported.
2004-06-07 15:04:10 +00:00
Skip Montanaro
1c0228a519
Another nit found by Neal Norwitz using pychecker. This was caused by a
...
too-mechanical translation when converting html() to text() (simply stripped
strong() where it appeared).
2004-06-07 11:20:40 +00:00
Neal Norwitz
1cdd3632a0
Cleanup: the in operator already returns a bool, no need to bool() it again
...
Cleanup: use condition to be consistent with code above
CookieJar is in cookielib
2004-06-07 03:49:50 +00:00
Neal Norwitz
492faa5505
There is no reason to have an underscore after self
2004-06-07 03:47:06 +00:00
Neal Norwitz
c75f891879
Remove a useless operation, setting name to itself
2004-06-07 03:45:56 +00:00
Skip Montanaro
f2134842b4
correct name error caught by Neal Norwitz with pychecker
2004-06-07 02:40:05 +00:00
Raymond Hettinger
5dae505bbd
Fix typo in comment.
2004-06-07 02:07:15 +00:00
Andrew M. Kuchling
44cbfd7819
[Bug #953177 ] Mention .getlist(); text from Paul Moore
2004-06-06 23:28:23 +00:00
Neal Norwitz
9665271f92
Plug a few memory leaks in utime(). path is allocated from within
...
PyArg_ParseTuple() since the format is "et" This change should
be reviewed carefully.
Bugfix candidate.
2004-06-06 20:40:27 +00:00
Neal Norwitz
c28e7ad3d0
Try to improve test coverage for utime()
2004-06-06 20:27:05 +00:00
Neal Norwitz
fe92eef85b
Valgrind was reporting an uninitialized read for bad input.
...
This fixes the problem and the test passes. I'm not sure
the test is really correct though. It seems like it would
be better to raise an exception. I think that wasn't done
for backwards compatability.
Bugfix candidate.
2004-06-06 20:13:10 +00:00
Neal Norwitz
7b0a5057af
Look for the multibyte codec map files in the parent directory too
...
This is similar to test_normalization, so that many source trees
can reference the same test file(s).
2004-06-06 20:09:49 +00:00
Neal Norwitz
c3cd9df95a
Add some doc about using valgrind
2004-06-06 19:58:40 +00:00
Neal Norwitz
b5d7702e5c
whoops, I wanted that commented out by default, will add doc to Misc
2004-06-06 19:21:34 +00:00
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