Kristján Valur Jónsson
b15a0ccf6d
Update the PCBuild8 solution.
...
Facilitate cross-compilation by having binaries in separate Win32 and x64 directories.
Rationalized configs by making proper use of platforms/configurations.
Remove pythoncore_pgo project.
Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation.
Removed I64 support, but this can be easily added by copying the x64 platform settings.
2006-09-05 17:58:12 +00:00
Andrew M. Kuchling
e6728252a3
[Bug #1526834 ] Fix crash in pdb when you do 'b f(';
...
the function name was placed into a regex pattern and the unbalanced paren
caused re.compile() to report an error
2006-09-05 13:19:18 +00:00
Andrew M. Kuchling
a5453c48d5
[Bug #1525469 ] SimpleXMLRPCServer still uses the sys.exc_{value,type} module-level globals instead of calling sys.exc_info(). Reported by Russell Warren
2006-09-05 13:15:41 +00:00
Andrew M. Kuchling
a60b60e72e
Rearrange example a bit, and show rpartition() when separator is not found
2006-09-05 13:02:40 +00:00
Georg Brandl
c48c9e266f
Bug #1552618 : change docs of dict.has_key() to reflect recommendation
...
to use "in".
2006-09-05 12:44:58 +00:00
Hye-Shik Chang
2cad3e9299
Fix a typo: 2013 -> 0213
2006-09-05 12:14:57 +00:00
Hye-Shik Chang
199f1db1fa
Fix a few bugs on cjkcodecs found by Oren Tirosh:
...
- gbk and gb18030 codec now handle U+30FB KATAKANA MIDDLE DOT correctly.
- iso2022_jp_2 codec now encodes into G0 for KS X 1001, GB2312
codepoints to conform the standard.
- iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 2013:2
codepoints now.
2006-09-05 12:07:09 +00:00
Neal Norwitz
d042132268
M-x untabify
2006-09-05 04:00:12 +00:00
Neal Norwitz
e4d4f00aee
Add a comment about some refactoring. (There's probably more that should be done.) I will reformat this file in the next checkin due to the inconsistent tabs/spaces.
2006-09-05 03:58:26 +00:00
Neal Norwitz
dac090d3e6
Bug #1520864 (again): unpacking singleton tuples in list comprehensions and
...
generator expressions (x for x, in ... ) works again.
Sigh, I only fixed for loops the first time, not list comps and genexprs too.
I couldn't find any more unpacking cases where there is a similar bug lurking.
This code should be refactored to eliminate the duplication. I'm sure
the listcomp/genexpr code can be refactored. I'm not sure if the for loop
can re-use any of the same code though.
Will backport to 2.5 (the only place it matters).
2006-09-05 03:53:08 +00:00
Neal Norwitz
4bc2c0919b
Patch #1540470 , for OpenBSD 4.0. Backport candidate for 2.[34].
2006-09-05 02:57:01 +00:00
Neal Norwitz
d34e4272e0
Add a NEWS entry for str.rpartition() change
2006-09-05 02:36:20 +00:00
Neal Norwitz
919d5cc163
This was found by Guido AFAIK on p3yk (sic) branch.
2006-09-05 02:35:08 +00:00
Neal Norwitz
477ca1c953
Fix SF #1552093 , eval docstring typo (3 ps in mapping)
2006-09-05 02:25:41 +00:00
Neal Norwitz
a22975fb35
Fix SF bug #1546288 , crash in dict_equal.
2006-09-05 02:24:03 +00:00
Tim Peters
c4a70fbb78
Add missing svn:eol-style property to text files.
2006-09-05 02:22:17 +00:00
Tim Peters
dd5e7b9ae3
Whitespace normalization.
2006-09-05 02:21:19 +00:00
Tim Peters
c10c9d0d6b
"Conceptual" merge of rev 51711 from the 2.5 branch.
...
i_divmod(): As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.
This differs from the corresponding change on the 2.5 and 2.4
branches, using a less obscure approach, but one that /may/
tickle platform idiocies in their definitions of LONG_MIN.
The 2.4 + 2.5 change avoided introducing a dependence on
LONG_MIN, at the cost of substantially goofier code.
2006-09-05 02:18:09 +00:00
Raymond Hettinger
a0c95fa4d8
Fix endcase for str.rpartition()
2006-09-04 15:32:48 +00:00
Nick Coghlan
bb0996ccc5
NEWS entry on trunk for decimal module changes
2006-09-03 01:20:46 +00:00
Nick Coghlan
5a901c62cc
Typo fix for decimal docs
2006-09-03 01:06:07 +00:00
Nick Coghlan
f1f42d850f
Fix final documentation nits before backporting decimal module fixes to 2.5
2006-09-03 01:02:00 +00:00
Neal Norwitz
c1120b4b66
Hmm, this test has failed at least twice recently on the OpenBSD and
...
Debian sparc buildbots. Since this goes through a lot of tests
and hits the disk a lot it could be slow (especially if NFS is involved).
I'm not sure if that's the problem, but printing periodic msgs shouldn't hurt.
The code was stolen from test_compiler.
2006-09-02 19:40:19 +00:00
Neal Norwitz
681d86743c
Add missing word in comment
2006-09-02 18:51:34 +00:00
Raymond Hettinger
68b6d3b85a
Fix documentation nits for decimal context managers.
2006-09-02 17:07:23 +00:00
Nick Coghlan
e7877d930c
Further corrections to the decimal module context management documentation
2006-09-02 04:04:18 +00:00
Nick Coghlan
ced1218dd1
Make decimal.ContextManager a private implementation detail of decimal.localcontext()
2006-09-02 03:54:17 +00:00
Neal Norwitz
69e8897505
Bug #1550714 : fix SystemError from itertools.tee on negative value for n.
...
Needs backport to 2.5.1 and earlier.
2006-09-02 02:58:13 +00:00
Neal Norwitz
6aefa916a9
Bug #1548092 : fix curses.tparm seg fault on invalid input. Needs backport to 2.5.1 and earlier.
2006-09-02 02:50:35 +00:00
Neal Norwitz
d7df712ed7
SF #1547931 , fix typo (missing and). Will backport to 2.5
2006-09-02 02:43:17 +00:00
Georg Brandl
f29882d8e7
evalfile() should be execfile().
2006-09-01 22:30:52 +00:00
Fred Drake
eef345aa97
- SF patch #1550263 : Enhance and correct unittest docs
...
- various minor cleanups for improved consistency
2006-09-01 03:57:19 +00:00
Brett Cannon
76b24c0926
Have pre-existing C files use 8 spaces indents (to match old PEP 7 style), but
...
have all new files use 4 spaces (to match current PEP 7 style).
2006-08-31 22:42:37 +00:00
Brett Cannon
6edd150172
Fix comment about indentation level in C files.
2006-08-31 21:47:52 +00:00
Brett Cannon
2b3666f737
Make sure memory is properly cleaned up in file_init.
...
Backport candidate.
2006-08-31 18:54:26 +00:00
Nick Coghlan
db38588a25
Remove the old decimal context management tests from test_contextlib (guess who didn't run the test suite before committing...)
2006-08-31 12:51:25 +00:00
Nick Coghlan
8b6999b4c5
Fix the wrongheaded implementation of context management in the decimal module and add unit tests. (python-dev discussion is ongoing regarding what we do about Python 2.5)
2006-08-31 12:00:43 +00:00
Armin Rigo
f580b104a4
Doc fix: hashlib objects don't always return a digest of 16 bytes.
...
Backport candidate for 2.5.
2006-08-31 08:51:06 +00:00
Marc-André Lemburg
f6fc454084
Fix a buglet in the error reporting (SF bug report #1546372 ).
...
This should probably go into Python 2.5 or 2.5.1 as well.
2006-08-29 10:34:12 +00:00
Neal Norwitz
d219e7f986
Fix a couple of typos.
2006-08-29 05:40:58 +00:00
Jack Diederich
7b60464ceb
- Move functions common to all path modules into genericpath.py and have the
...
OS speicifc path modules import them.
- Have os2emxpath import common functions fron ntpath instead of using copies
2006-08-26 18:42:06 +00:00
Tim Peters
4582d7d905
A new test here relied on preserving invisible trailing
...
whitespace in expected output. Stop that.
2006-08-25 22:26:21 +00:00
Tim Peters
fae8f6a21a
Add missing svn:eol-style property to text files.
2006-08-25 22:06:44 +00:00
Tim Peters
147f9ae6db
Whitespace normalization.
2006-08-25 22:05:39 +00:00
Armin Rigo
cd73a78b68
The regular expression engine in '_sre' can segfault when interpreting
...
bogus bytecode. It is unclear whether this is a real bug or a "won't
fix" case like bogus_code_obj.py.
2006-08-25 12:44:28 +00:00
Thomas Heller
7dc77ce969
Build _ctypes.pyd for win AMD64 into the MSVC project file.
...
Since MSVC doesn't know about .asm files, a helper batch file is needed
to find ml64.exe in predefined locations. The helper script hardcodes
the path to the MS Platform SDK.
2006-08-25 09:26:33 +00:00
Thomas Heller
b1a7d758e2
Add missing file for _ctypes.pyd port to win64 on AMD64.
2006-08-25 07:34:51 +00:00
Thomas Heller
98619f267c
Port _ctypes.pyd to win64 on AMD64.
2006-08-25 07:27:33 +00:00
Neal Norwitz
391e5f4c9f
importing types is not necessary if we use isinstance
2006-08-25 01:52:49 +00:00
Martin v. Löwis
38325b730f
Patch #1545507 : Exclude ctypes package in Win64 MSI file.
...
Will backport to 2.5.
2006-08-25 00:03:34 +00:00