]>
granicus.if.org Git - python/log
Brett Cannon [Sat, 10 May 2008 02:57:03 +0000 (02:57 +0000)]
Also ignore package deprecations.
Brett Cannon [Sat, 10 May 2008 02:54:52 +0000 (02:54 +0000)]
Suppress deprecations for packages as well when using
test.test_support.import_module().
Brett Cannon [Sat, 10 May 2008 02:53:46 +0000 (02:53 +0000)]
Add an entry on the deprecation of Bastion and rexec.
Brett Cannon [Sat, 10 May 2008 02:47:54 +0000 (02:47 +0000)]
Deprecate the bsddb185 module for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 02:27:04 +0000 (02:27 +0000)]
Deprecate Bastion and rexec for 3.0.
Brett Cannon [Sat, 10 May 2008 02:25:00 +0000 (02:25 +0000)]
Fix some errors in the deprecation warnings for new and user.
Brett Cannon [Fri, 9 May 2008 22:52:28 +0000 (22:52 +0000)]
Add support for extension modules in 3.0 deprection command.
Brett Cannon [Fri, 9 May 2008 22:51:58 +0000 (22:51 +0000)]
Deprecate the pure module for 3.0.
Alexandre Vassalotti [Fri, 9 May 2008 21:49:43 +0000 (21:49 +0000)]
Backport fast alternate io.BytesIO implementation.
Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844,
r62846, r62952, r62956.
Brett Cannon [Fri, 9 May 2008 21:30:36 +0000 (21:30 +0000)]
Add a todo list to the module deletion command.
Benjamin Peterson [Fri, 9 May 2008 21:30:26 +0000 (21:30 +0000)]
In stdtypes.rst, move methods under class directives where applicable
Martin v. Löwis [Fri, 9 May 2008 20:11:37 +0000 (20:11 +0000)]
Port to VS 2008. Drop W9x support.
Martin v. Löwis [Fri, 9 May 2008 18:21:55 +0000 (18:21 +0000)]
Use the CHM file name that Sphinx assigns.
Mark Dickinson [Fri, 9 May 2008 17:54:23 +0000 (17:54 +0000)]
Issue #2487. math.ldexp(x, n) raised OverflowError when n was large and
negative; fix to return an (appropriately signed) zero instead.
Martin v. Löwis [Fri, 9 May 2008 17:11:07 +0000 (17:11 +0000)]
Add 2.6b1 and 2.6b2 UUIDs.
Mark Dickinson [Fri, 9 May 2008 16:14:15 +0000 (16:14 +0000)]
Issue #2801: fix bug in float.is_integer where ValueError
could be incorrectly raised. This is a backport of the
Py3k fix in r62939. (Should really have been fixed
in the trunk first and svnmerged into py3k.)
Christian Heimes [Fri, 9 May 2008 12:19:09 +0000 (12:19 +0000)]
Add --user option to build_ext
Andrew M. Kuchling [Fri, 9 May 2008 11:46:05 +0000 (11:46 +0000)]
Update planned release date.
Uncomment PEP 370 section.
Add some module items
Georg Brandl [Fri, 9 May 2008 06:39:58 +0000 (06:39 +0000)]
Add a note about using reload().
Georg Brandl [Fri, 9 May 2008 06:36:07 +0000 (06:36 +0000)]
Add Kodos as a re reference.
Georg Brandl [Fri, 9 May 2008 06:26:54 +0000 (06:26 +0000)]
Add another link to colorsys docs.
Georg Brandl [Fri, 9 May 2008 06:18:27 +0000 (06:18 +0000)]
Add a sentence to basicConfig() that is in the docstring.
Georg Brandl [Fri, 9 May 2008 06:10:43 +0000 (06:10 +0000)]
#2781: fix function name.
Georg Brandl [Fri, 9 May 2008 06:09:25 +0000 (06:09 +0000)]
#2788: add .hgignore file.
Brett Cannon [Fri, 9 May 2008 05:32:42 +0000 (05:32 +0000)]
Deprecate the toaiff module for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:25:37 +0000 (05:25 +0000)]
Deprecate test.testall for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:18:40 +0000 (05:18 +0000)]
Deprecate the new module for removal in 3.0.
Benjamin Peterson [Fri, 9 May 2008 00:50:40 +0000 (00:50 +0000)]
reindent example
Skip Montanaro [Fri, 9 May 2008 00:45:00 +0000 (00:45 +0000)]
Add an example about using NamedTemporaryFile() to replace mktemp(). I'm
unclear whether the verbatim text should have been indented or by how much.
Benjamin Peterson [Fri, 9 May 2008 00:27:01 +0000 (00:27 +0000)]
Add Py3k warnings to os.path.walk
Benjamin Peterson [Thu, 8 May 2008 22:09:54 +0000 (22:09 +0000)]
Replace instances of os.path.walk with os.walk
Brett Cannon [Thu, 8 May 2008 20:36:09 +0000 (20:36 +0000)]
Deprecate the user module for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 20:24:43 +0000 (20:24 +0000)]
Add test.test_support.catch_warning()'s new argument.
Brett Cannon [Thu, 8 May 2008 20:23:54 +0000 (20:23 +0000)]
Add a missing entry on the fix for issue #2790.
Brett Cannon [Thu, 8 May 2008 20:23:06 +0000 (20:23 +0000)]
Fix sys.flags to properly expose bytes_warning.
Closes issue #2790.
Brett Cannon [Thu, 8 May 2008 20:20:54 +0000 (20:20 +0000)]
Document the 'record' argument for test.test_support.catch_warning().
Brett Cannon [Thu, 8 May 2008 20:20:24 +0000 (20:20 +0000)]
Fix a bug introduced by the addition of the 'record' argument to
test.test_support.catch_warning() where showwarning() was not being set
properly.
Brett Cannon [Thu, 8 May 2008 19:52:45 +0000 (19:52 +0000)]
Deprecate stringold for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 19:50:51 +0000 (19:50 +0000)]
Make test.test_support.catch_warning() take an argument specifying if any
triggered warnings should be captured. This allows the context manager to be
used to just prevent the internal state of the 'warnings' framework and thus
allow triggered warnings to be displayed.
Brett Cannon [Thu, 8 May 2008 19:26:08 +0000 (19:26 +0000)]
The mutex module has been deprecated for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 18:15:14 +0000 (18:15 +0000)]
Deprecate the imputil module for removal in 3.0.
Raymond Hettinger [Thu, 8 May 2008 17:18:13 +0000 (17:18 +0000)]
Issue 2778. Document the temporary frozenset swap in __contains__(), remove(), and discard().
Barry Warsaw [Thu, 8 May 2008 15:30:00 +0000 (15:30 +0000)]
Post tag updates.
Barry Warsaw [Thu, 8 May 2008 13:17:34 +0000 (13:17 +0000)]
Tagging 2.6a3
Barry Warsaw [Thu, 8 May 2008 13:16:19 +0000 (13:16 +0000)]
Bump to 2.6a3
Ronald Oussoren [Thu, 8 May 2008 10:34:39 +0000 (10:34 +0000)]
Fix for issue
1770190 : platform.mac_ver() now returns the right
version on OSX 10.4.10
Raymond Hettinger [Thu, 8 May 2008 07:23:30 +0000 (07:23 +0000)]
Fix-up the enumerate type example and move it to the end.
Raymond Hettinger [Thu, 8 May 2008 04:36:12 +0000 (04:36 +0000)]
The __all__ variable forgot to expose the gcd() function.
Raymond Hettinger [Thu, 8 May 2008 04:35:20 +0000 (04:35 +0000)]
Frozensets do not benefit from autoconversion.
Benjamin Peterson [Wed, 7 May 2008 23:11:54 +0000 (23:11 +0000)]
Practice EAFP, and revert 62787
Christian Heimes [Wed, 7 May 2008 22:54:17 +0000 (22:54 +0000)]
Replace more float hacks with correct math functions
Benjamin Peterson [Wed, 7 May 2008 02:23:43 +0000 (02:23 +0000)]
update .bzrignore
Christian Heimes [Tue, 6 May 2008 23:59:53 +0000 (23:59 +0000)]
Re-added getbuildinfo.c solution item
Brett Cannon [Tue, 6 May 2008 23:44:04 +0000 (23:44 +0000)]
Create a TextMate directory in Misc to house a Python-Dev bundle.
Christian Heimes [Tue, 6 May 2008 23:42:58 +0000 (23:42 +0000)]
Disabled some unit tests for the upcoming release. See #2777
Brett Cannon [Tue, 6 May 2008 23:41:32 +0000 (23:41 +0000)]
Add an entry about audiodev being slated for removal in 3.0.
Brett Cannon [Tue, 6 May 2008 23:23:34 +0000 (23:23 +0000)]
Deprecate the audiodev module for 3.0.
Brett Cannon [Tue, 6 May 2008 23:22:02 +0000 (23:22 +0000)]
When testing a module's __all__, we really don't care if it is deprecated.
Christian Heimes [Tue, 6 May 2008 22:41:46 +0000 (22:41 +0000)]
Implemented PEP 370
Benjamin Peterson [Tue, 6 May 2008 22:31:52 +0000 (22:31 +0000)]
Make the Python implementation of warnings compatible with the C implementation regarding non-callable showwarning
Benjamin Peterson [Tue, 6 May 2008 22:18:11 +0000 (22:18 +0000)]
Fix logic error in Python/_warnings.c and add a test to verify
Georg Brandl [Tue, 6 May 2008 17:20:54 +0000 (17:20 +0000)]
> != (!<).
Georg Brandl [Tue, 6 May 2008 17:11:42 +0000 (17:11 +0000)]
#2773: fix description of 'g' and 'G' formatting spec.
Christian Heimes [Tue, 6 May 2008 16:18:41 +0000 (16:18 +0000)]
Intern static string
Use float constructors instead of magic code for float constants
Gregory P. Smith [Tue, 6 May 2008 07:05:18 +0000 (07:05 +0000)]
fix issue2707 - os.walk docstring example correctness typo.
Brett Cannon [Tue, 6 May 2008 04:37:31 +0000 (04:37 +0000)]
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
the stack was being unwound by two levels instead of one each time.
Benjamin Peterson [Tue, 6 May 2008 02:51:10 +0000 (02:51 +0000)]
PEP 8 nits in json package
Gregory P. Smith [Mon, 5 May 2008 21:53:45 +0000 (21:53 +0000)]
Fix a bug introduced in r62627. see issue2760 and issue2632.
An assertion in readline() would fail as data was already in the
internal buffer even though the socket was in unbuffered read mode.
That case is now handled. More importantly, read() has been fixed to
not over-recv() and leave newly recv()d data in the _fileobject buffer.
The max() vs min() issue in read() is now gone. Neither was correct.
On bounded reads, always ask recv() for the exact amount of data we
still need.
Candidate for backporting to release25-maint along with r62627.
Georg Brandl [Mon, 5 May 2008 21:06:48 +0000 (21:06 +0000)]
#2752: fix second example too.
Georg Brandl [Mon, 5 May 2008 20:59:05 +0000 (20:59 +0000)]
#2769: markup glitch.
Georg Brandl [Mon, 5 May 2008 20:53:39 +0000 (20:53 +0000)]
Fix JSON module docs.
Brett Cannon [Mon, 5 May 2008 20:21:38 +0000 (20:21 +0000)]
Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.
Closes issue #2750.
Martin v. Löwis [Mon, 5 May 2008 17:54:01 +0000 (17:54 +0000)]
Revert bogus checkin in r62724 to that file.
Martin v. Löwis [Mon, 5 May 2008 17:47:06 +0000 (17:47 +0000)]
Fix Unicode filename test.
Martin v. Löwis [Mon, 5 May 2008 17:16:58 +0000 (17:16 +0000)]
Issue #
1734346 : Support Unicode file names for zipfiles.
Brett Cannon [Mon, 5 May 2008 16:57:38 +0000 (16:57 +0000)]
Remove the use of 'inspect' from 'warnings' for detected deprecated use of the
showwarning API. Turns out 'inspect' uses 'operator' which is an extension
module. That's a problem when it has not been built yet by setup.py.
Brett Cannon [Mon, 5 May 2008 05:32:07 +0000 (05:32 +0000)]
Add a DeprecationWarning for when warnings.showwarning() is set to a function
that lacks support for the new 'line' argument.
Benjamin Peterson [Sun, 4 May 2008 22:39:33 +0000 (22:39 +0000)]
Remove method signatures from the docstrings of io.py
Georg Brandl [Sun, 4 May 2008 21:40:44 +0000 (21:40 +0000)]
#2695: Do case-insensitive check for algorithms.
Benjamin Peterson [Sun, 4 May 2008 19:10:02 +0000 (19:10 +0000)]
Fix typo in bugs.rst
Georg Brandl [Sun, 4 May 2008 15:45:05 +0000 (15:45 +0000)]
#2757: Remove spare newline.
Gerhard Häring [Sun, 4 May 2008 13:42:44 +0000 (13:42 +0000)]
Implemented feature request 2157: Converter names are cut off at '('
characters. This avoids the common case of something like 'NUMBER(10)' not
being parsed as 'NUMBER', like expected. Also corrected the docs about
converter names being case-sensitive. They aren't any longer.
Gerhard Häring [Sun, 4 May 2008 13:15:12 +0000 (13:15 +0000)]
Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The
sqlite3.Row type is now correctly hashable.
Gerhard Häring [Sun, 4 May 2008 12:59:57 +0000 (12:59 +0000)]
SQLite requires 64-bit integers in order to build. So the whole HAVE_LONG_LONG
#ifdefing was useless.
Christian Heimes [Sun, 4 May 2008 11:50:53 +0000 (11:50 +0000)]
Added note that Python requires at least Win2k SP4
Georg Brandl [Sun, 4 May 2008 09:15:04 +0000 (09:15 +0000)]
#2752: wrong meaning of '' for socket host.
Benjamin Peterson [Sun, 4 May 2008 03:05:49 +0000 (03:05 +0000)]
Fix typo in whatsnew
Mark Dickinson [Sun, 4 May 2008 02:25:46 +0000 (02:25 +0000)]
Make sure that Context traps and flags dictionaries have values 0 and 1
(as documented) rather than True and False.
Mark Dickinson [Sun, 4 May 2008 02:05:06 +0000 (02:05 +0000)]
Some very minor changes to decimal.py in Python 2.6, aimed
at reducing the size of the diff between the 2.x decimal.py
and 3.x decimal.py and thereby making future merges easier:
- replace one instnace of an old-style raise statement
- define __div__ in terms of __truediv__ instead of the
other way around
- make wording match on an exception message
Benjamin Peterson [Sat, 3 May 2008 21:35:18 +0000 (21:35 +0000)]
Moved testing of builtin types out of test_builtin and into type specific modules
Georg Brandl [Sat, 3 May 2008 20:16:47 +0000 (20:16 +0000)]
Insert correct OpenSearch base URL.
Mark Dickinson [Sat, 3 May 2008 18:23:14 +0000 (18:23 +0000)]
Backport Raymond's changes in r60508 to Python 2.6.
'Context flags get set, not incremented'
Benjamin Peterson [Sat, 3 May 2008 15:56:42 +0000 (15:56 +0000)]
The compiling struct is now passed around to all AST helpers (see issue 2720)
Amaury Forgeot d'Arc [Sat, 3 May 2008 12:21:13 +0000 (12:21 +0000)]
In test_io, StatefulIncrementalDecoderTest was not part of the test suite.
And of course, the test failed:
a bytearray was used without reason in io.TextIOWrapper.tell().
The difference is that iterating over bytes (i.e. str in python2.6) returns 1-char bytes,
whereas bytearrays yield integers.
This code should still work with python3.0
Brett Cannon [Sat, 3 May 2008 03:19:39 +0000 (03:19 +0000)]
Fix the C implementation of 'warnings' to infer the filename of the module that
raised an exception properly when __file__ is not set, __name__ == '__main__',
and sys.argv[0] is a false value.
Closes issue2743.
Brett Cannon [Sat, 3 May 2008 01:02:41 +0000 (01:02 +0000)]
Fix some indentation errors.
Benjamin Peterson [Fri, 2 May 2008 22:12:58 +0000 (22:12 +0000)]
capitalization nit for reStructuredText
Ronald Oussoren [Fri, 2 May 2008 21:54:56 +0000 (21:54 +0000)]
Fix for issue #2520 (cannot import macerrors)
Ronald Oussoren [Fri, 2 May 2008 21:42:35 +0000 (21:42 +0000)]
Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard
This fixes both Python Launchar and the terminalcommand module.
Martin v. Löwis [Fri, 2 May 2008 21:30:20 +0000 (21:30 +0000)]
Merged revisions 62263-62646 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r62470 | david.wolever | 2008-04-24 02:11:07 +0200 (Do, 24 Apr 2008) | 3 lines
Fixed up and applied the patch for #2431 -- speeding up 2to3 with a lookup table.
........
r62646 | martin.v.loewis | 2008-05-02 23:29:27 +0200 (Fr, 02 Mai 2008) | 2 lines
Fix whitespace.
........