Georg Brandl
00247d85bd
try-except-finally is new in 2.5.
...
(backport from rev. 56614)
2007-07-29 09:11:19 +00:00
Georg Brandl
22c1525f46
Clarify PEP 343 description.
...
(backport from rev. 56611)
2007-07-29 08:26:15 +00:00
Martin v. Löwis
bd28ca65d6
Bug #1704793 : Raise KeyError if unicodedata.lookup cannot
...
represent the result in a single character.
2007-07-28 07:01:43 +00:00
Ronald Oussoren
0e258c5ea5
Mac Buildscript:
...
- be more strict about the build environment
- update some 3th party libraries
2007-07-26 21:39:36 +00:00
Georg Brandl
77dff905ba
tabs, newlines and crs are valid XML characters.
...
(backport from rev. 56551)
2007-07-26 09:36:28 +00:00
Martin v. Löwis
088277f290
Change location of the package index to pypi.python.org/pypi.
2007-07-25 16:24:08 +00:00
Georg Brandl
44cb859cb7
Add description for wave.setcomptype() values
...
(backport from rev. 56451)
2007-07-18 22:36:55 +00:00
Andrew M. Kuchling
6ecd4a0535
[Backport of r56382]
...
Avoid exception if there's a stray directory inside a Maildir folder.
The Maildir specification doesn't seem to say anything about this
situation, and it can happen if you're keeping a Maildir mailbox in
Subversion (.svn directories) or some similar system. The patch just
ignores directories in the cur/, new/, tmp/ folders.
2007-07-14 22:06:30 +00:00
Andrew M. Kuchling
0336870720
Typo fix
2007-07-14 20:58:23 +00:00
Georg Brandl
f2d40f744e
Clarify webbrowser.open description.
...
(backport from rev. 56366)
2007-07-14 17:32:47 +00:00
Georg Brandl
f09060e62f
Bug #1753406 : missing \versionadded for subprocess.check_call.
...
(backport from rev. 56364)
2007-07-14 17:12:27 +00:00
Raymond Hettinger
f4d9caed03
Backport 56345
2007-07-14 11:31:35 +00:00
Barry Warsaw
9c2d4deec3
In response to this SF bug:
...
[ 1752723 ] email.message_from_string: initial line gets discarded
I added a test to assert that when the first line of text passed to
message_from_string() contains a leading space, the message ends up with the
appropriate FirstHeaderLineIsContinuationDefect on its defects list.
The bug is invalid.
2007-07-13 21:20:38 +00:00
Thomas Heller
2b78594b1f
PyType_stgdict() returns a borrowed reference which must not be
...
Py_DECREF'd.
2007-07-13 19:52:41 +00:00
Thomas Heller
8b6a17bdeb
News entry for
...
Fix for SF# 1649098: avoid zero-sized array declaration in structure.
2007-07-13 17:36:01 +00:00
Thomas Heller
f9a8544567
Fix for SF# 1649098: avoid zero-sized array declaration in structure.
2007-07-13 17:33:13 +00:00
Thomas Heller
6f4155d1de
Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr output
...
of c_char_p and c_wchar_p has changed as a sideeffect.
2007-07-13 17:07:55 +00:00
Georg Brandl
78d59d65c7
Bug #1637365 : add subsection about "__name__ == __main__" to the
...
Python tutorial.
(backport from rev. 56306)
2007-07-12 09:37:53 +00:00
Georg Brandl
f36e6a1a83
Patch #1731659 : improve time.strptime docs.
...
(backport from rev. 56302)
2007-07-12 09:06:43 +00:00
Georg Brandl
c5db923994
Patch #1673759 : add a missing overflow check when formatting floats
...
with %G.
(backport from rev. 56298)
2007-07-12 08:38:04 +00:00
Georg Brandl
fea72f7c10
Patch #1739696 : use code.co_code only if really necessary
...
(backport from rev. 56296)
2007-07-12 08:11:32 +00:00
Georg Brandl
40df67f704
Patch #1752270 , #1750931 : complain if urllib2 add_handler called
...
without handler.
(backport from rev. 56293)
2007-07-12 08:05:48 +00:00
Georg Brandl
ad4b263ba7
Fix #1752132 : wrong comment in opcode description.
...
(backport from rev. 56280)
2007-07-11 19:41:53 +00:00
Ronald Oussoren
c0f800dc8b
Patch 1673122: be explicit about which libtool to use, to avoid name clashes
...
when a users install GNU libtool early in his PATH
2007-07-09 08:40:34 +00:00
Ronald Oussoren
47f29a67e5
Patch 1693258: Fix for duplicate "preferences" menu-OS X
...
Backport of 56204.
2007-07-09 06:03:47 +00:00
Ronald Oussoren
43f1f68b7c
Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
...
console object, avoid crashing in that case.
2007-07-09 05:46:04 +00:00
Georg Brandl
a1d47f0e89
Remove duplicate sentence from alarm() doc.
...
(backport from rev. 56143)
2007-07-02 11:54:30 +00:00
Georg Brandl
511087b035
Fix a few webbrowser.py problems.
...
(backport from rev. 56137)
2007-07-01 08:11:40 +00:00
Georg Brandl
1d1e950289
Document smtp.SMTPAuthenticationError.
...
(backport from rev. 56129)
2007-06-30 11:01:05 +00:00
Georg Brandl
adfd13e00b
Fix a variable name in winreg docs.
...
(backport from rev. 56091)
2007-06-27 14:09:59 +00:00
Georg Brandl
4508df2c72
Bug #1742901 : document None behavior of shlex.split.
...
(backport from rev. 56084)
2007-06-25 15:21:26 +00:00
Georg Brandl
5a5adf3a86
Bug #1739115 : make shutil.rmtree docs clear wrt. file deletion.
...
(backport from rev. 56040)
2007-06-19 12:38:26 +00:00
Georg Brandl
03210e5741
Bug #1737864 : allow empty message in logging format routines.
...
(backport from rev. 56038)
2007-06-19 12:36:06 +00:00
Neal Norwitz
ea84b8105a
SF #1738670 , make example in doc work
2007-06-17 18:49:42 +00:00
Georg Brandl
15eb97b14d
Add missing \versionadded.
...
(backport from rev. 56006)
2007-06-16 17:10:26 +00:00
Thomas Heller
59fc24403d
Merged revisions 55896 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r55896 | thomas.heller | 2007-06-11 17:58:33 +0200 (Mo, 11 Jun 2007) | 3 lines
Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"
or "K" codes.
........
2007-06-15 17:10:41 +00:00
Martin v. Löwis
d3d80f3cd1
Patch #1734014 : Use _I64_MAX instead of LLONG_MAX.
2007-06-14 20:47:15 +00:00
Martin v. Löwis
7d18356db7
Provide PY_LLONG_MAX on all systems having long long.
2007-06-13 03:42:55 +00:00
Neal Norwitz
e99cb23e71
Backport 55887:
...
Bug #1734723 : Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
2007-06-11 07:34:07 +00:00
Neal Norwitz
bb56e2a558
Backport 55882: SF #1734732 , lower case the module names per PEP 8.
2007-06-11 05:36:48 +00:00
Neal Norwitz
8355dd5806
Backport 55874:
...
Fix a bug when there was a newline in the string expandtabs was called on.
This also catches another condition that can overflow.
2007-06-11 04:32:41 +00:00
Neal Norwitz
11c5275c61
Backport 55873:
...
Prevent these tests from running on Win64 since they don't apply there either
2007-06-11 04:31:25 +00:00
Martin v. Löwis
390240d0b1
Backport r55845: Provide LLONG_MAX for S390.
2007-06-09 12:57:46 +00:00
Martin v. Löwis
2276885acd
Patch #1733960 : Allow T_LONGLONG to accept ints.
2007-06-09 08:01:33 +00:00
Neal Norwitz
66e64e2b6a
Prevent expandtabs() on string and unicode objects from causing a segfault when
...
a large width is passed on 32-bit platforms. Found by Google.
It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.
2007-06-09 04:06:30 +00:00
Thomas Heller
11c58c4c8d
Merged revisions 55129-55131 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55129 | thomas.heller | 2007-05-04 21:54:22 +0200 (Fr, 04 Mai 2007) | 3 lines
Do not truncate 64-bit pointers to 32-bit integers.
Fixes SF #1703286 , will backport to release25-maint.
........
r55131 | thomas.heller | 2007-05-04 21:56:32 +0200 (Fr, 04 Mai 2007) | 1 line
Oops, these tests do not run on Windows CE.
........
2007-06-08 19:39:31 +00:00
Thomas Heller
bc9e5dcf88
Fix wrong documentation, and correct the punktuation.
...
Closes [1700455].
Backported from trunk.
2007-06-08 19:19:24 +00:00
Martin v. Löwis
897704d1dd
Bug #1733488 : Fix compilation of bufferobject.c on AIX.
2007-06-08 17:29:40 +00:00
Kristján Valur Jónsson
b11197045a
backport change 55821 to release25-maint
2007-06-07 23:56:18 +00:00
Georg Brandl
d2acc2e9c5
Patch #1667860 : Fix UnboundLocalError in urllib2.
...
(backport from rev. 55805)
2007-06-07 13:34:41 +00:00