Antoine Pitrou
6e1df8d0d4
Merged revisions 65235 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65235 | antoine.pitrou | 2008-07-25 21:42:26 +0200 (ven., 25 juil. 2008) | 3 lines
#3394 : zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix
........
2008-07-25 19:58:18 +00:00
Brett Cannon
c2542e986d
Remove the sunaudio module.
2008-07-25 18:19:20 +00:00
Antoine Pitrou
5ffd9e9cc9
Merged revisions 65227 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65227 | antoine.pitrou | 2008-07-25 19:45:59 +0200 (ven., 25 juil. 2008) | 3 lines
#2242 : utf7 decoding crashes on bogus input on some Windows/MSVC versions
........
2008-07-25 18:05:24 +00:00
Brett Cannon
abd9a59763
Forward-port r65112 so that test_ossaudiodev uses sunau.
2008-07-25 17:56:47 +00:00
Raymond Hettinger
d4d478d1c6
Merge 65215: convert uses of int to Py_Ssize_t.
2008-07-24 19:38:45 +00:00
Facundo Batista
6e6f59b1c9
Optimization to stop creating new small longs and use the
...
one previously stored. Issue 2417.
2008-07-24 18:57:11 +00:00
Thomas Heller
00c88f090d
Blocked revisions 65217 via svnmerge
...
........
r65217 | thomas.heller | 2008-07-24 13:16:45 +0200 (Do, 24 Jul 2008) | 1 line
Make ctypes compatible with Python 2.3, 2.4, and 2.5 again.
........
2008-07-24 11:23:39 +00:00
Georg Brandl
d492ad80c8
Merged revisions 65182 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65182 | gregory.p.smith | 2008-07-22 06:46:32 +0200 (Tue, 22 Jul 2008) | 7 lines
Issue #2620 : Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
........
2008-07-23 16:13:07 +00:00
Georg Brandl
c1c54c1b04
Blocked revisions 65205 via svnmerge
...
........
r65205 | georg.brandl | 2008-07-23 18:00:44 +0200 (Wed, 23 Jul 2008) | 2 lines
Use correct indentation.
........
2008-07-23 16:11:42 +00:00
Georg Brandl
3dbca81c9b
Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-65099,65127-65128,65131,65133-65136,65139,65149-65151,65155,65158-65159,65176-65178,65183-65184,65187-65190,65192,65194 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65012 | jesse.noller | 2008-07-16 15:24:06 +0200 (Wed, 16 Jul 2008) | 2 lines
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
........
r65035 | georg.brandl | 2008-07-16 23:19:28 +0200 (Wed, 16 Jul 2008) | 2 lines
#3045 : fix pydoc behavior for TEMP path with spaces.
........
r65037 | georg.brandl | 2008-07-16 23:31:41 +0200 (Wed, 16 Jul 2008) | 2 lines
#1608818 : errno can get set by every call to readdir().
........
r65038 | georg.brandl | 2008-07-17 00:04:20 +0200 (Thu, 17 Jul 2008) | 2 lines
#3305 : self->stream can be NULL.
........
r65039 | georg.brandl | 2008-07-17 00:09:17 +0200 (Thu, 17 Jul 2008) | 2 lines
#3345 : fix docstring.
........
r65040 | georg.brandl | 2008-07-17 00:33:18 +0200 (Thu, 17 Jul 2008) | 2 lines
#3312 : fix two sqlite3 crashes.
........
r65048 | georg.brandl | 2008-07-17 01:35:54 +0200 (Thu, 17 Jul 2008) | 2 lines
#3388 : add a paragraph about using "with" for file objects.
........
r65057 | gregory.p.smith | 2008-07-17 05:13:05 +0200 (Thu, 17 Jul 2008) | 2 lines
news note for r63052
........
r65077 | jesse.noller | 2008-07-17 23:01:05 +0200 (Thu, 17 Jul 2008) | 3 lines
Fix issue 3395, update _debugInfo to be _debug_info
........
r65091 | ronald.oussoren | 2008-07-18 07:48:03 +0200 (Fri, 18 Jul 2008) | 2 lines
Last bit of a fix for issue3381 (addon for my patch in r65061)
........
r65092 | vinay.sajip | 2008-07-18 10:59:06 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65093 | vinay.sajip | 2008-07-18 11:00:00 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65094 | vinay.sajip | 2008-07-18 11:00:35 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65095 | vinay.sajip | 2008-07-18 11:01:10 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65097 | georg.brandl | 2008-07-18 12:20:59 +0200 (Fri, 18 Jul 2008) | 2 lines
Remove duplicate entry in __all__.
........
r65098 | georg.brandl | 2008-07-18 12:29:30 +0200 (Fri, 18 Jul 2008) | 2 lines
Correct attribute name.
........
r65099 | georg.brandl | 2008-07-18 13:15:06 +0200 (Fri, 18 Jul 2008) | 3 lines
Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404 .
........
r65127 | raymond.hettinger | 2008-07-19 02:42:03 +0200 (Sat, 19 Jul 2008) | 1 line
Improve accuracy of gamma test function
........
r65128 | raymond.hettinger | 2008-07-19 02:43:00 +0200 (Sat, 19 Jul 2008) | 1 line
Add recipe to the itertools docs.
........
r65131 | georg.brandl | 2008-07-19 12:08:55 +0200 (Sat, 19 Jul 2008) | 2 lines
#3378 : in case of no memory, don't leak even more memory. :)
........
r65133 | georg.brandl | 2008-07-19 14:39:10 +0200 (Sat, 19 Jul 2008) | 3 lines
#3302 : fix segfaults when passing None for arguments that can't
be NULL for the C functions.
........
r65134 | georg.brandl | 2008-07-19 14:46:12 +0200 (Sat, 19 Jul 2008) | 2 lines
#3303 : fix crash with invalid Py_DECREF in strcoll().
........
r65135 | georg.brandl | 2008-07-19 15:00:22 +0200 (Sat, 19 Jul 2008) | 3 lines
#3319 : don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
........
r65136 | georg.brandl | 2008-07-19 15:09:42 +0200 (Sat, 19 Jul 2008) | 3 lines
#3323 : mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
........
r65139 | georg.brandl | 2008-07-19 15:48:44 +0200 (Sat, 19 Jul 2008) | 2 lines
Add ordering info for findall and finditer.
........
r65149 | raymond.hettinger | 2008-07-20 01:21:57 +0200 (Sun, 20 Jul 2008) | 1 line
Fix compress() recipe in docs to use itertools.
........
r65150 | raymond.hettinger | 2008-07-20 01:58:47 +0200 (Sun, 20 Jul 2008) | 1 line
Clean-up itertools docs and recipes.
........
r65151 | gregory.p.smith | 2008-07-20 02:22:08 +0200 (Sun, 20 Jul 2008) | 9 lines
fix issue3120 - don't truncate handles on 64-bit Windows.
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.
I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money. Time to watch the buildbots. It builds and
passes tests on 32-bit windows.
........
r65155 | georg.brandl | 2008-07-20 13:50:29 +0200 (Sun, 20 Jul 2008) | 2 lines
#926501 : add info where to put the docstring.
........
r65158 | neal.norwitz | 2008-07-20 21:35:23 +0200 (Sun, 20 Jul 2008) | 1 line
Fix a couple of names in error messages that were wrong
........
r65159 | neal.norwitz | 2008-07-20 22:39:36 +0200 (Sun, 20 Jul 2008) | 1 line
Fix misspeeld method name (negative)
........
r65176 | amaury.forgeotdarc | 2008-07-21 23:36:24 +0200 (Mon, 21 Jul 2008) | 4 lines
Increment version number in NEWS file, and move items that were added after 2.6b2.
(I thought there was a script to automate this kind of updates)
........
r65177 | amaury.forgeotdarc | 2008-07-22 00:00:38 +0200 (Tue, 22 Jul 2008) | 5 lines
Issue2378: pdb would delete free variables when stepping into a class statement.
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
........
r65178 | benjamin.peterson | 2008-07-22 00:05:34 +0200 (Tue, 22 Jul 2008) | 1 line
don't use assert statement
........
r65183 | ronald.oussoren | 2008-07-22 09:06:00 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix buglet in fix for issue3381
........
r65184 | ronald.oussoren | 2008-07-22 09:06:33 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix build issue on OSX 10.4, somehow this wasn't committed before.
........
r65187 | raymond.hettinger | 2008-07-22 20:54:02 +0200 (Tue, 22 Jul 2008) | 1 line
Remove out-of-date section on Exact/Inexact.
........
r65188 | raymond.hettinger | 2008-07-22 21:00:47 +0200 (Tue, 22 Jul 2008) | 1 line
Tuples now have both count() and index().
........
r65189 | raymond.hettinger | 2008-07-22 21:03:05 +0200 (Tue, 22 Jul 2008) | 1 line
Fix credits for math.sum()
........
r65190 | raymond.hettinger | 2008-07-22 21:18:50 +0200 (Tue, 22 Jul 2008) | 1 line
One more attribution.
........
r65192 | benjamin.peterson | 2008-07-23 01:44:37 +0200 (Wed, 23 Jul 2008) | 1 line
remove unneeded import
........
r65194 | benjamin.peterson | 2008-07-23 15:25:06 +0200 (Wed, 23 Jul 2008) | 1 line
use isinstance
........
2008-07-23 16:10:53 +00:00
Georg Brandl
4f6f34fb0b
Blocked revisions 65032 via svnmerge
...
........
r65032 | jesse.noller | 2008-07-16 22:03:47 +0200 (Wed, 16 Jul 2008) | 2 lines
Apply patch for 874900: threading module can deadlock after fork
........
2008-07-23 15:42:45 +00:00
Georg Brandl
df06024cc3
Blocked revisions 65069,65075 via svnmerge
...
........
r65069 | eric.smith | 2008-07-17 19:48:39 +0200 (Thu, 17 Jul 2008) | 1 line
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
........
r65075 | eric.smith | 2008-07-17 21:49:47 +0200 (Thu, 17 Jul 2008) | 1 line
Backed out r65069, pending fixing it in Windows.
........
2008-07-23 15:22:04 +00:00
Georg Brandl
f0dd6a672d
Merged revisions 65199 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65199 | georg.brandl | 2008-07-23 17:17:09 +0200 (Wed, 23 Jul 2008) | 2 lines
Move opcode handling to Python's extension.
........
2008-07-23 15:19:11 +00:00
Georg Brandl
0e9463c4c9
Blocked revisions 65198 via svnmerge
...
........
r65198 | georg.brandl | 2008-07-23 17:16:45 +0200 (Wed, 23 Jul 2008) | 2 lines
3k-warn about parser's "ast" aliases.
........
2008-07-23 15:18:32 +00:00
Georg Brandl
30704ea0db
Remove "ast" aliases from the parser module.
2008-07-23 15:07:12 +00:00
Benjamin Peterson
4dcce175e2
Blocked revisions 64578,64580,65082,65085 via svnmerge
...
........
r64578 | bill.janssen | 2008-06-28 17:19:33 -0500 (Sat, 28 Jun 2008) | 1 line
various SSL fixes; issues 1251, 3162, 3212
........
r64580 | bill.janssen | 2008-06-28 18:00:39 -0500 (Sat, 28 Jun 2008) | 1 line
make sure we close the active channels when eof is received on them
........
r65082 | barry.warsaw | 2008-07-17 22:20:07 -0500 (Thu, 17 Jul 2008) | 1 line
Bumping to 2.6b2
........
r65085 | barry.warsaw | 2008-07-17 22:36:18 -0500 (Thu, 17 Jul 2008) | 1 line
Post release cleanup
........
2008-07-23 13:47:41 +00:00
Raymond Hettinger
6a883844a2
Fix spelling.
2008-07-22 19:27:12 +00:00
Antoine Pitrou
251803bddb
#3092 : fix unicode size detection in pybench
2008-07-22 18:03:03 +00:00
Antoine Pitrou
22628c4d6a
#3231 : re.compile fails with some bytes patterns
2008-07-22 17:53:22 +00:00
Mark Dickinson
943f33912c
Issue #3369 : fix memory leak in floatobject.c. Thanks Kristján Jónsson
...
for the report and fix.
2008-07-21 22:49:36 +00:00
Amaury Forgeot d'Arc
a05ada3128
Merged revisions 65174 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65174 | amaury.forgeotdarc | 2008-07-21 23:06:46 +0200 (lun., 21 juil. 2008) | 3 lines
On Windows, silence a Purify warning and initialize the memory passed to CryptGenRandom.
Since python doesn't provide any particular random data, it seems more reasonable anyway.
........
2008-07-21 21:13:14 +00:00
Georg Brandl
e5715f7413
Blocked revisions 65172 via svnmerge
...
........
r65172 | georg.brandl | 2008-07-21 20:26:21 +0200 (Mon, 21 Jul 2008) | 2 lines
nonlocal is not in 2.6.
........
2008-07-21 18:26:48 +00:00
Benjamin Peterson
095c1199ff
Merged revisions 65168 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65168 | facundo.batista | 2008-07-21 09:28:17 -0500 (Mon, 21 Jul 2008) | 5 lines
Issue 3396. Fixed the autocompletion of 'int.', and worked
a little that part of the code, fixing a detail and enhancing
a bit others.
........
2008-07-21 16:32:10 +00:00
Georg Brandl
d68442dc93
Merged revisions 65163 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65163 | georg.brandl | 2008-07-21 01:18:55 +0200 (Mon, 21 Jul 2008) | 4 lines
Save the whole of sys.modules instead of using an import tracker.
This, when merged to py3k, will fix the spurious buildbot failure
in test_urllib2 ("<urlopen error unknown url type: do>").
........
2008-07-20 23:21:49 +00:00
Benjamin Peterson
aac8fd3153
fix markup
2008-07-20 22:02:26 +00:00
Georg Brandl
5ac22308be
#3400 : document new 3.0 opcodes.
2008-07-20 21:39:03 +00:00
Georg Brandl
dbdbf75983
Remove MAKE_BYTES which is a leftover from the mutable byte literal time.
2008-07-20 21:38:50 +00:00
Georg Brandl
f112369463
Merged revisions 65152 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65152 | georg.brandl | 2008-07-20 09:29:58 +0200 (Sun, 20 Jul 2008) | 2 lines
Remove exception indexing in asyncore.
........
2008-07-20 07:31:30 +00:00
Benjamin Peterson
7af6eec6d0
Merged revisions 65147 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65147 | bob.ippolito | 2008-07-19 16:59:50 -0500 (Sat, 19 Jul 2008) | 1 line
#3322 : bounds checking for _json.scanstring
........
2008-07-19 22:26:35 +00:00
Georg Brandl
1aea30aa85
#3113 : document exception chaining.
2008-07-19 15:51:07 +00:00
Benjamin Peterson
0f6de936f8
Merged revisions 65141 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r65141 | benjamin.peterson | 2008-07-19 09:14:06 -0500 (Sat, 19 Jul 2008) | 9 lines
Merged revisions 65137 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65137 | georg.brandl | 2008-07-19 08:32:57 -0500 (Sat, 19 Jul 2008) | 2 lines
#3334 : correctly set prefix of imports.
........
................
2008-07-19 14:19:28 +00:00
Georg Brandl
7d4f39a2ba
xrange -> range.
2008-07-19 13:53:58 +00:00
Georg Brandl
8494d573b9
#3368 : free string allocated by "es" ParseTuple format.
2008-07-19 10:13:15 +00:00
Georg Brandl
59f8d83b33
#3414 : run install_Python when installing Python.
2008-07-19 09:58:13 +00:00
Benjamin Peterson
aed4bd4491
fix typo in Mac/Makefile.in
2008-07-19 02:56:43 +00:00
Eric Smith
2ad79e82c8
Merged revisions 65125 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65125 | eric.smith | 2008-07-18 20:24:05 -0400 (Fri, 18 Jul 2008) | 1 line
Fix issue 3411: default float format spec fails on negative numbers.
........
2008-07-19 00:33:23 +00:00
Georg Brandl
32480b0755
Fix urllib function reference.
2008-07-18 21:09:40 +00:00
Jeremy Hylton
73fd46d24e
Bug 3347: robotparser failed because it didn't convert bytes to string.
...
The solution is to convert bytes to text via utf-8. I'm not entirely
sure if this is safe, but it looks like robots.txt is expected to be
ascii.
2008-07-18 20:59:44 +00:00
Georg Brandl
48577d1944
Blocked revisions 65109,65111 via svnmerge
...
........
r65109 | georg.brandl | 2008-07-18 21:06:13 +0200 (Fri, 18 Jul 2008) | 2 lines
Replace all map(None, a) with list(a).
........
r65111 | georg.brandl | 2008-07-18 21:30:10 +0200 (Fri, 18 Jul 2008) | 2 lines
#3390 : replace a remaining has_key().
........
2008-07-18 19:34:28 +00:00
Brett Cannon
43975447b0
Blocked revisions 65112 via svnmerge
...
........
r65112 | brett.cannon | 2008-07-18 12:30:22 -0700 (Fri, 18 Jul 2008) | 1 line
Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality.
........
2008-07-18 19:31:10 +00:00
Martin v. Löwis
3b6cc09509
Revert r63378. These files need to stay compatible with Python 2.x (until Python 3.0 is actually used to package Python).
2008-07-18 18:40:42 +00:00
Benjamin Peterson
5a722409ee
Merged revisions 65104 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65104 | benjamin.peterson | 2008-07-18 09:26:35 -0500 (Fri, 18 Jul 2008) | 2 lines
now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource
........
2008-07-18 14:35:44 +00:00
Benjamin Peterson
0fefb41bd9
Blocked revisions 65102 via svnmerge
...
........
r65102 | benjamin.peterson | 2008-07-18 09:14:41 -0500 (Fri, 18 Jul 2008) | 1 line
backport test_fileio
........
2008-07-18 14:17:45 +00:00
Mark Summerfield
72cdd74787
fixed tiny typo in new # format doc
2008-07-18 09:22:49 +00:00
Barry Warsaw
0afe905818
Post release cleanup
2008-07-18 03:37:03 +00:00
Barry Warsaw
09686379bf
Tagging 3.0b2
2008-07-18 02:29:39 +00:00
Barry Warsaw
4bd1cefca9
Bumping to 3.0b2
2008-07-18 02:28:44 +00:00
Benjamin Peterson
cc3f6b4ad1
Blocked revisions 65070 via svnmerge
...
........
r65070 | bill.janssen | 2008-07-17 13:01:57 -0500 (Thu, 17 Jul 2008) | 1 line
catch socket.error errors in badCertTest
........
2008-07-18 02:04:59 +00:00
Benjamin Peterson
94fe10ff75
it seems that /dev/tty is seekable on Solaris, too
2008-07-17 23:27:26 +00:00
Eric Smith
22b85b3ef8
Backed out r65073, pending fixing it in Windows.
2008-07-17 19:18:29 +00:00