Benjamin Peterson
1880d8b823
add a SETUP_WITH opcode
...
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Collin Winter
179bf213ea
Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle.
2009-05-25 04:34:39 +00:00
Benjamin Peterson
87e5006d8c
handle errors from _PyObject_LookupSpecial when __get__ fails
2009-05-25 02:40:21 +00:00
Benjamin Peterson
176a56c69b
make class skipping decorators the same as skipping every test of the class
...
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Benjamin Peterson
a7724e59e0
stop using Py_FindMethod
2009-05-24 23:13:32 +00:00
Antoine Pitrou
36b6dfca00
Add Misc/python.pc to the list of ignored files
2009-05-24 20:46:06 +00:00
Antoine Pitrou
f2caeed9c6
Issue #3585 : Add pkg-config support.
...
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Martin v. Löwis
0b09c42ffe
Issue #6050 : Don't fail extracting a directory from a zipfile if
...
the directory already exists.
2009-05-24 19:30:52 +00:00
Martin v. Löwis
53b578eba1
Issue #6065 : Do not try to build a version-independent
...
installer if the package has extension modules.
Also add NEWS entry for #5311 .
2009-05-24 19:10:52 +00:00
Gregory P. Smith
d03e1b4475
add a versionadded tag for set_tunnel
2009-05-24 18:00:13 +00:00
Antoine Pitrou
d49e375eed
Issue #1309352 : fcntl now converts its third arguments to a C `long` rather
...
than an int, which makes some operations possible under 64-bit Linux (e.g.
DN_MULTISHOT with F_NOTIFY).
2009-05-24 15:40:09 +00:00
Antoine Pitrou
4fe3858991
Fix build under Windows
2009-05-24 12:15:04 +00:00
Senthil Kumaran
e266f25cf1
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
2009-05-24 09:14:50 +00:00
Jeffrey Yasskin
655d835415
Issue #6042 :
...
lnotab-based tracing is very complicated and isn't documented very well. There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.
I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops. The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
2009-05-23 23:23:01 +00:00
R. David Murray
3724d6c392
Add smtplib test from issue 5259.
2009-05-23 21:48:06 +00:00
Benjamin Peterson
91d517c54b
remove mention of old ctypes version
2009-05-23 20:59:09 +00:00
Benjamin Peterson
40748f362b
reorder name
2009-05-23 19:31:02 +00:00
Benjamin Peterson
e5afa3b24b
support building with subversion 1.7 #6094
2009-05-23 19:24:37 +00:00
Antoine Pitrou
f3bd687b2d
Issue #3877 : skip a test_fileio subtest on all BSDs, not only FreeBSD
2009-05-23 16:32:32 +00:00
Antoine Pitrou
76dd2d1459
Some pid_t-expecting or producing functions were forgotten in r72852.
2009-05-23 16:06:49 +00:00
Antoine Pitrou
5e858fe52b
Issue #1983 : Fix functions taking or returning a process identifier to use
...
the dedicated C type `pid_t` instead of a C `int`. Some platforms have
a process identifier type wider than the standard C integer type.
2009-05-23 15:37:45 +00:00
Eric Smith
4b94b192ff
Issue 6089: str.format raises SystemError.
2009-05-23 13:56:13 +00:00
R. David Murray
8254d39840
Fix spelling left over from testing.
2009-05-23 02:19:36 +00:00
R. David Murray
812e1c80c4
Don't be so wordy in requires('network') in case other tests
...
are added later, and skip the existing test if SSL is not available.
2009-05-23 02:16:58 +00:00
R. David Murray
ad3058e0b8
Fix Issue #4066 : smtplib.SMTP_SSL._get_socket now correctly returns
...
the socket. Patch by Farhan Ahmad, test by Marcin Bachry.
2009-05-23 00:48:58 +00:00
Georg Brandl
eae1b28fb1
#6078 : _warnings is a builtin module and has no standard init_warnings function.
2009-05-22 17:00:17 +00:00
Georg Brandl
bc4af35f9e
#6086 : fix spelling and use a better exception to catch.
2009-05-22 10:40:00 +00:00
Georg Brandl
346a38dbc0
Correction in softspace behavior description.
2009-05-22 09:58:48 +00:00
Georg Brandl
e15048ea37
s/use/call/
2009-05-22 09:50:30 +00:00
Georg Brandl
22396da5ee
Fix confusing wording.
2009-05-22 09:49:42 +00:00
Georg Brandl
012408c2b9
Fix references to file-related functions and methods (os.* vs file.*).
2009-05-22 09:43:17 +00:00
Tarek Ziadé
aafd6b850e
fixed encoding
2009-05-22 09:42:43 +00:00
Georg Brandl
fa0123b4fa
#6084 : fix example.
2009-05-22 09:33:25 +00:00
Georg Brandl
5a8d7eb7f1
Use raise X(y).
2009-05-22 07:23:32 +00:00
Philip Jenvey
739aa36818
don't use subprocess.call with PIPEs as the child can fill the pipe buf and
...
deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
refs http://bugs.jython.org/issue1351
2009-05-22 05:35:32 +00:00
Raymond Hettinger
9b6f13ee82
Fix-up moving average example.
2009-05-22 01:06:44 +00:00
Michael Foord
a50af06931
Rename TestCase._result to _resultForDoCleanups to avoid potential clashes in TestCase subclasses. Issue 6072.
2009-05-21 22:57:02 +00:00
Mark Dickinson
a4e0efa4b1
Issue #5829 : don't raise OverflowError for complex('1e500'). Backport of r72803.
2009-05-20 18:43:07 +00:00
Georg Brandl
ac2380b58a
#6051 : refer to email examples for better way to construct email messages.
2009-05-20 18:35:27 +00:00
Georg Brandl
498a9b3491
#6055 : refer to "sqlite3" consistently.
2009-05-20 18:31:14 +00:00
Georg Brandl
464432d181
Update bug tracker URL.
2009-05-20 18:24:08 +00:00
Jeffrey Yasskin
c8d30fec16
Fix issue #1689458 by teaching frame_setlineno how to jump to the first line of
...
a code object.
2009-05-20 17:57:57 +00:00
Mark Dickinson
cf4ad76a0a
typos in ctypes Module
2009-05-20 17:55:31 +00:00
Collin Winter
1ef9c837b7
Issue 6066: POP_MARK was not in pickle protocol 0.
2009-05-20 16:49:12 +00:00
Ronald Oussoren
364b22183c
Remove some old MacPython files that are no longer relevant.
2009-05-19 20:12:17 +00:00
Ronald Oussoren
cc00a262a6
Remove some traces of 'MacPython'
2009-05-19 19:29:24 +00:00
Ronald Oussoren
f44c6540fb
This patch ensures that the pydoc_data package gets installed. This is needed
...
to make it possible to use pydoc to get access to the language reference.
That is, without this patch the folllowing won't work:
>>> help('if')
2009-05-19 19:06:38 +00:00
Raymond Hettinger
50f362fffa
Note that ordered dictionaries work with reversed().
2009-05-19 17:43:59 +00:00
Tarek Ziadé
7d7127dd84
fixed the 'package' option of build_ext
2009-05-19 16:17:21 +00:00
Collin Winter
f03c42f0ab
Issue 6032: fix refleaks in test_urllib2_localnet.
2009-05-18 21:35:40 +00:00