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
Mark Dickinson
3194d1454c
Backport some float repr tests that were missed in issue 7117.
2010-01-08 16:53:56 +00:00
Georg Brandl
96aa3ca242
#7653 : clarify how the PythonPath registry key should look like.
2010-01-07 21:48:47 +00:00
Georg Brandl
54fd8ae0a3
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
2010-01-07 20:54:45 +00:00
Antoine Pitrou
54584188cd
Fix reattribution mistake when fixing attribution mistake!
2010-01-07 17:54:10 +00:00
Antoine Pitrou
254d23f3a3
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
2010-01-07 17:49:37 +00:00
Antoine Pitrou
0d423b870b
Issue #7455 : Fix possible crash in cPickle on invalid input. Patch by
...
Florent Xicluna.
2010-01-07 17:46:49 +00:00
Mark Dickinson
bdd863d062
Eric Smith was missing fro m the issue 7117 whatsnew attribution.
2010-01-07 09:28:29 +00:00
R. David Murray
f4d63ab1b6
Fix inadvertent checkin of debug line.
2010-01-07 04:04:28 +00:00
R. David Murray
ff2d7a7f09
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
...
information if a failure happens.
2010-01-07 03:09:08 +00:00
Georg Brandl
705a358265
#5950 : document that zip files with comments are unsupported in zipimport.
2010-01-06 18:26:08 +00:00
Georg Brandl
8904053003
#5991 : let completion for the "help" command include help topics.
...
This also simplifies the Cmd.get_names() method implementation; it was written
at a time where dir() didn't consider base class attributes.
2010-01-06 18:02:16 +00:00
Georg Brandl
5089a38af2
Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
2010-01-06 17:43:06 +00:00
Mark Dickinson
202eb9094c
Add missing docstring for Context.divmod. Thanks Juan José Conti.
2010-01-06 16:20:22 +00:00
Georg Brandl
442879ac71
Add Stefan.
2010-01-05 18:14:52 +00:00
Benjamin Peterson
2b6e4bc3ad
add a test about hashing array.array
2010-01-05 00:04:19 +00:00
Antoine Pitrou
af45b11527
Kill a couple of "<>"
2010-01-04 23:28:16 +00:00
Antoine Pitrou
b9d4963a98
Issue #7092 : Fix the DeprecationWarnings emitted by the standard library
...
when using the -3 flag. Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Ezio Melotti
b9c3ed4f82
#3340 : document print/get_usage and print/get_version
2010-01-04 21:43:02 +00:00
Mark Dickinson
2bcd177270
Fix typo in comment.
2010-01-04 21:32:02 +00:00
Ezio Melotti
81982566aa
fixed markup errors
2010-01-04 09:00:11 +00:00
Benjamin Peterson
3694366af5
factor out __complex__ lookup code to fix another case
2010-01-04 01:00:47 +00:00
Benjamin Peterson
ecdae19fbe
do correct lookup of the __complex__ method
2010-01-04 00:43:01 +00:00
Antoine Pitrou
37559a085b
Credit Nir Aides for r77288
2010-01-03 22:38:50 +00:00
Antoine Pitrou
673ddf9907
Issue #7471 : Improve the performance of GzipFile's buffering mechanism,
...
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides.
2010-01-03 22:29:56 +00:00
Gregory P. Smith
49d709c921
Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
2010-01-03 15:05:52 +00:00
Gregory P. Smith
3b18ff7e8b
remove an obsolete file that should've gone with r77252
2010-01-03 14:56:28 +00:00
Georg Brandl
7c910ebf5b
Update doc build step.
2010-01-03 13:05:39 +00:00
Mark Dickinson
f132c16199
Make use of PyLong_AsLongAndOverflow in math_ldexp.
2010-01-03 12:03:03 +00:00
Ezio Melotti
722a8a95b7
:stmt: -> :keyword:
2010-01-03 09:09:55 +00:00
Ezio Melotti
5129ed38c3
#7618 : fix highlight of code blocks
2010-01-03 09:01:27 +00:00
Kurt B. Kaiser
ae628c97be
r77152 to Doc/Makefile broke doc build due to (at least some) make
...
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.
2010-01-03 08:36:45 +00:00
Gregory P. Smith
9d3252154f
issue3972: HTTPConnection and HTTPSConnection now support a
...
source_address parameter.
Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith
79a3eb1058
Adds an optional source_address parameter to socket.create_connection().
...
For use by issue3972.
2010-01-03 01:29:44 +00:00
Andrew M. Kuchling
7f8ebdbad5
Add a few items
2010-01-03 01:15:21 +00:00
Gregory P. Smith
ffd5d886c2
make setup.py similar to py3k's when reporting on _hashlib as missing or not.
2010-01-03 00:43:02 +00:00
Gregory P. Smith
6dcdcde2a8
Import all implementations of the hash algorithms (OpenSSL & builtin) and run
...
the test suite across all that are available. Warns about extension modules
that could not be imported when python was compiled with Py_DEBUG.
That warning could be made fatal but I didn't want to do that initially as
I suspect non setup.py based build processes (windows, any others?) won't
compile them all conditionally based on the Py_DEBUG setting today.
2010-01-03 00:19:04 +00:00