Thomas Heller
1328b52c6f
Two new public API functions, Py_IncRef and Py_DecRef. Useful for
...
dynamic embedders of Python.
2004-04-22 17:23:49 +00:00
Thomas Heller
1a9d32b8d4
cvs ignore the user options files *.suo
2004-04-22 17:11:49 +00:00
Thomas Heller
8598b10037
Modules/heapqmodule.c removed.
...
Modules/_heapmodule.c added.
2004-04-22 17:03:33 +00:00
Kurt B. Kaiser
54d1a3b920
- New Extension: CodeContext. Provides block structuring hints for code
...
which has scrolled above an edit window. Patch 936169 Noam Raphael.
A CodeContext.py
M NEWS.txt
M config-extensions.def
2004-04-21 20:06:26 +00:00
Hye-Shik Chang
9f62eccb66
SF #926075 : Fixed the bug that returns a wrong pattern object for
...
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
2004-04-20 21:30:07 +00:00
Hye-Shik Chang
0f5bf1ebdd
SF #926075 : Fixed the bug that returns a wrong pattern object for
...
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
2004-04-20 21:11:11 +00:00
Raymond Hettinger
1660e0c1f1
* Restore the pure python version of heapq.py.
...
* Mark the C version as private and only use when available.
2004-04-19 19:21:43 +00:00
Raymond Hettinger
c46cb2a1a9
* Restore the pure python version of heapq.py.
...
* Mark the C version as private and only use when available.
2004-04-19 19:06:21 +00:00
Martin v. Löwis
61e40bd897
Special case normalization of empty strings. Fixes #924361 .
...
Backported to 2.3.
2004-04-17 19:36:48 +00:00
Raymond Hettinger
e5fced781b
SF bug #936827 : PyNumber_And() 's description
...
Fix typo.
2004-04-17 11:57:40 +00:00
Thomas Heller
b4fb86243e
The wininst-6.exe template binary for bdist_wininst is now linked
...
with zlib-1.2.1.
2004-04-16 18:49:35 +00:00
Thomas Heller
89adf0a601
The wininst-7.1.exe template binary for bdist_wininst is now linked
...
with zlib-1.2.1.
UPX needs the --force flag to be able to compress it.
2004-04-16 18:47:50 +00:00
Fred Drake
0ed663443e
really scream out that people should use the file objects instead of
...
file descriptor operations for normal applications
2004-04-16 15:20:01 +00:00
Skip Montanaro
c00fc8452e
Open file in universal newline mode when passing to compile(). Solution
...
from Felix Wiemann. Closes patch #934971 .
2004-04-16 03:28:19 +00:00
Skip Montanaro
10659f2540
bring description of optional and keyword args for DictReader and DictWriter
...
classes into line with the actual code. I didn't see any obvious examples
of latex formatting for *args and **kwds so I just guessed.
2004-04-16 03:21:01 +00:00
Skip Montanaro
26510d42b0
delete timing output - it appears after the </html> line.
2004-04-16 03:12:12 +00:00
Thomas Heller
9614219140
Minor reformatting.
2004-04-15 18:19:02 +00:00
Fred Drake
8efc74d35e
remove bogus markup that caused the docs to be wrong
2004-04-15 06:18:48 +00:00
Hye-Shik Chang
54f9439b7c
Bug #934635 : Fix a bug where the configure script couldn't detect
...
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)
2004-04-14 07:55:31 +00:00
Brett Cannon
0046839dd2
Change two instance of format strings for PyString_FromFormat() to use %ld
...
instead of %d .
2004-04-13 02:43:53 +00:00
Raymond Hettinger
7892b1c651
* Add unittests for iterators that report their length
...
* Document the differences between them
* Fix corner cases covered by the unittests
* Use Py_RETURN_NONE where possible for dictionaries
2004-04-12 18:10:01 +00:00
Raymond Hettinger
45d0b5cc44
Use Py_RETURN_NONE macro where applicable.
2004-04-12 17:21:03 +00:00
Raymond Hettinger
501f02cd02
Small refactoring saving one function() and eliminating some indirection.
...
* Applied app1() to listappend().
* Inlined ins() into its one remaining caller.
2004-04-12 14:01:16 +00:00
Raymond Hettinger
40a03821ae
* Specialize ins1() into app1() for appends. Saves several unnecessary
...
steps and further improves the speed of list append.
* Add guards to the list iterator length method to handle corner cases.
2004-04-12 13:05:09 +00:00
Tim Peters
71b2411566
Record test_bsddb3 test results on WinXP.
2004-04-11 19:02:59 +00:00
Tim Peters
a0d781a543
Update the OpenSSL version example from c to d (the current stable one),
2004-04-11 18:23:06 +00:00
Tim Peters
0e93309eb5
The native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
...
removed the comment saying they don't work, and changed the build step
to run them. If they're failing for someone else, please give details
about what failed.
2004-04-11 17:45:31 +00:00
Tim Peters
011de6cc96
Record Tcl and Tk test results for WinXP Pro.
2004-04-11 17:29:12 +00:00
Raymond Hettinger
c8aa08b172
Some (but not all) of the why code bitfield tests ran faster as
...
separate equality tests. Now, all are set to their best timing.
2004-04-11 14:59:33 +00:00
Andrew MacIntyre
b88820058f
add AF_UNIX notes
2004-04-11 12:05:28 +00:00
Andrew MacIntyre
daedf21852
Fixes for AF_UNIX support on OS/2:
...
- return the full size of the sockaddr_un structure, without which
bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
fork() can't handle the stress.
2004-04-11 12:03:57 +00:00
Kurt B. Kaiser
cf6f1b69eb
M EditorWindow.py
...
M IOBinding.py
M NEWS.txt
M configDialog.py
- If nulls somehow got into the strings in recent-files.lst
EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
2004-04-11 03:16:07 +00:00
Raymond Hettinger
5bed456056
Revert 2.393, elimination of pre-decrementing, which
...
did not stand-up to additional timings.
2004-04-10 23:34:17 +00:00
Skip Montanaro
249369c7f0
atof: correct parameter name
2004-04-10 16:39:32 +00:00
Skip Montanaro
5bfd98498a
Refactor common code out of globaltrace_trackcallers() and
...
globaltrace_countfuncs() into file_module_function_of().
In that function use Michael Hudson's suggestion of gc.get_referrers() to
back up from the code object to a function, then to a class's dict and
finally to a class object if one exists.
2004-04-10 16:29:58 +00:00
Fred Drake
6b3b046ab0
fix up some markup
2004-04-09 18:26:40 +00:00
Raymond Hettinger
7dacda2947
Provide more information representations of repeat() and count().
2004-04-08 21:54:00 +00:00
Fred Drake
94ffbb71a8
give rational filenames to some of the generated HTML
2004-04-08 19:44:31 +00:00
Fred Drake
4cc425a0a3
switch to PNG navigation icons by default
2004-04-08 18:51:39 +00:00
Fred Drake
4f580e8394
include both the GIF and PNG icons in the HTML package
2004-04-08 18:50:51 +00:00
Fred Drake
899072ab71
avoid stripping space after indexing macros
2004-04-08 15:30:12 +00:00
Skip Montanaro
d0c0c41fe9
note --trackcalls flag in trace module
2004-04-07 16:03:02 +00:00
Skip Montanaro
cafc811415
Added --trackcalls command line arg to display crude caller/callee
...
relationships at program exit. Output is a bit prettier than that for
--listfuncs but won't parse as easily using downstream postprocessing tools.
2004-04-07 15:46:05 +00:00
Raymond Hettinger
7eddd78a15
Use continue instead of break whereever possible.
2004-04-07 14:38:08 +00:00
Raymond Hettinger
d3b836d202
* Improve readability and remove data dependencies by converting
...
pre-increment forms to post-increment forms. Post-incrementing
also eliminates the need for negative array indices for oparg fetches.
* In exception handling code, check for class based exceptions before
the older string based exceptions.
2004-04-07 13:17:27 +00:00
Raymond Hettinger
467a698bd2
Small code improvements for readability, code size, and/or speed.
...
BINARY_SUBSCR:
* invert test for normal case fall through
* eliminate err handling code by jumping to slow_case
LOAD_LOCALS:
* invert test for normal case fall through
* continue instead of break for the non-error case
STORE_NAME and DELETE_NAME:
* invert test for normal case fall through
LOAD_NAME:
* continue instead of break for the non-error case
DELETE_FAST:
* invert test for normal case fall through
LOAD_DEREF:
* invert test for normal case fall through
* continue instead of break for the non-error case
2004-04-07 11:39:21 +00:00
Andrew M. Kuchling
22ab06e4de
Fix comment typo
2004-04-06 19:43:03 +00:00
Andrew M. Kuchling
d9b38d2729
Remove specific Python version from #!
2004-04-06 19:42:34 +00:00
Raymond Hettinger
7c9586545e
Simplify previous checkin (bitfields for WHY codes).
...
Restores the self-documenting enum declaration.
2004-04-06 10:11:10 +00:00
Raymond Hettinger
06032cb664
Coded WHY flags as bitfields (taking inspiration from tp_flags).
...
This allows multiple flags to be tested in a single compare
which eliminates unnecessary compares and saves a few bytes.
2004-04-06 09:37:35 +00:00