Commit graph

43648 commits

Author SHA1 Message Date
Ezio Melotti
d234208588 Fixed typo 2010-01-14 11:34:10 +00:00
Benjamin Peterson
7a1b435297 use more robust quoting 2010-01-14 02:40:10 +00:00
Skip Montanaro
852a27db96 Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done
partially before.  Also add a comment describing how this might have to work
with different versions of the interpreter.
2010-01-14 01:12:34 +00:00
Mark Dickinson
d2a9940acb More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1. 2010-01-13 22:20:10 +00:00
Mark Dickinson
02139d74ba Fix buggy comparison: LHS of comparison was being treated as unsigned. 2010-01-13 22:15:53 +00:00
Mark Dickinson
6e0d3d67fb Simplify and annotate the bigcomp function, removing unused special cases. 2010-01-13 20:55:03 +00:00
Mark Dickinson
5818e01253 Clarify that sulp expects a nonnegative input, but that +0.0 is fine. 2010-01-13 19:02:37 +00:00
Mark Dickinson
b26d56ac18 Add comments explaining the role of the bigcomp function in dtoa.c. 2010-01-13 18:21:53 +00:00
Antoine Pitrou
5f76d132a5 Issue #7625: Add more tests that bytearray methods return new objects,
even if identical.  Patch by Florent Xicluna (again).
2010-01-13 15:02:13 +00:00
Antoine Pitrou
f58021f7c3 Add ACKS entry for r77472. 2010-01-13 14:32:51 +00:00
Antoine Pitrou
5a9112c0cc Issue #2846: Add support for gzip.GzipFile reading zero-padded files.
Patch by Brian Curtin.
2010-01-13 14:32:10 +00:00
Antoine Pitrou
10042922d9 Sanitize bloom filter macros 2010-01-13 14:01:26 +00:00
Antoine Pitrou
a913a20c91 Test commit to try to diagnose failures of the IA-64 buildbot 2010-01-13 13:43:37 +00:00
Antoine Pitrou
1379b8404a Use with 2010-01-13 11:57:42 +00:00
Antoine Pitrou
8c510e704e Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
2010-01-13 11:47:49 +00:00
Antoine Pitrou
5c767c2f87 Fix Windows build (re r77461) 2010-01-13 08:55:20 +00:00
Antoine Pitrou
6467213bfd Issue #7622: Improve the split(), rsplit(), splitlines() and replace()
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search.  Patch by Florent Xicluna.
2010-01-13 07:55:48 +00:00
Ezio Melotti
d0ff51c43f #7685: typo 2010-01-13 00:25:03 +00:00
Mark Dickinson
5ff4f279e6 Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results. 2010-01-12 22:55:51 +00:00
Mark Dickinson
8efef5ce9f Issue #7632: Fix a problem with _Py_dg_strtod that could lead to
crashes in debug builds, for certain long numeric strings
corresponding to subnormal values.
2010-01-12 22:23:56 +00:00
Antoine Pitrou
efa45f35b5 Issue #7654: enable additional bytes/bytearray tests. Patch by Florent Xicluna. 2010-01-12 22:02:10 +00:00
Alexandre Vassalotti
b227f47b2b Added documentation for dictionary views fixer. 2010-01-12 18:25:33 +00:00
Ezio Melotti
b5689de044 #5827: make sure that normpath preserves unicode 2010-01-12 03:32:05 +00:00
Alexandre Vassalotti
58a96efde5 Fixed repr of dictionary views. 2010-01-12 01:34:43 +00:00
Tarek Ziadé
ae7731af45 module cleanup 2010-01-11 23:41:32 +00:00
Alexandre Vassalotti
69eb51697c Issue #1967: Backport dictionary views. 2010-01-11 23:17:10 +00:00
Alexandre Vassalotti
7a8df80285 Add missing NEWS entry for r77422. 2010-01-11 23:13:49 +00:00
Tarek Ziadé
dc0f487c3b Fixed #5372: .o files are now always rebuilt because file age test don't work in some case 2010-01-11 22:50:29 +00:00
Alexandre Vassalotti
102d70e06c Update version information for AST changes in r77422. 2010-01-11 22:46:43 +00:00
Alexandre Vassalotti
b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
Mark Dickinson
0ca7452794 Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define. 2010-01-11 17:15:13 +00:00
Benjamin Peterson
e822ab0166 fix test_popen when the path to python has spaces #7671 2010-01-10 20:42:03 +00:00
R. David Murray
0e207dff31 Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.
2010-01-10 17:41:28 +00:00
Senthil Kumaran
2e3da14d8b Fixed issue7648 - test_urllib2 fails on Windows if not run from C: 2010-01-10 17:35:05 +00:00
Mark Dickinson
5a0b399aa9 Remove unused BCinfo fields and an unused macro. 2010-01-10 13:06:31 +00:00
Martin v. Löwis
9d87323445 Update root certificate to CAcert. 2010-01-10 10:29:54 +00:00
Brett Cannon
6fdd3dcb6a DeprecationWarning is now silent by default.
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.

Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
2010-01-10 02:56:19 +00:00
Brett Cannon
3ad57e2625 Update the version # of Python-ast.c based on the backport of set literals from
r77400.
2010-01-10 02:48:50 +00:00
Alexandre Vassalotti
ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 2010-01-09 23:35:54 +00:00
Mark Dickinson
e365613528 Issue #7532: Add additional slicing test cases for new- and old-style
classes.  Patch by Florent Xicluna.
2010-01-09 18:50:50 +00:00
Benjamin Peterson
dd6d92a560 post release version adjustment 2010-01-09 17:30:31 +00:00
Benjamin Peterson
46bb2b9241 tag 2.7 alpha 2 2010-01-09 16:36:09 +00:00
Benjamin Peterson
aa7e51f006 bump version to 2.7a2 2010-01-09 16:34:06 +00:00
Georg Brandl
8360b21270 #7422: make it clear that getargspec() only works on Python functions. 2010-01-09 09:47:11 +00:00
Tarek Ziadé
c25417f644 Fixed #7617: all flavors of gcc should be recognized now 2010-01-08 23:42:23 +00:00
Antoine Pitrou
5b77d6dfa3 Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).
2010-01-08 19:39:04 +00:00
Senthil Kumaran
7a2ee0b460 Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration 2010-01-08 19:20:25 +00:00
Antoine Pitrou
8015725d4f Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles
renaming of `cPickle` to `pickle`.  The warning was annoying since there's
no alternative to cPickle if you care about performance.  Patch by Florent
Xicluna.
2010-01-08 19:20:17 +00:00
Senthil Kumaran
ce8e33a095 Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
2010-01-08 19:04:16 +00:00
Senthil Kumaran
3ddc435af6 Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox 2010-01-08 18:41:40 +00:00