Michael Foord [EMAIL PROTECTED] added the comment:
If you remove the following line from the tests (which generates
spurious additional output on stdout) then the problem goes away:
print('testing: %s' % path, end='\n')
Tracker [EMAIL PROTECTED]
Guido van Rossum [EMAIL PROTECTED] added the comment:
I know nothing about asyncore. Does this problem still exist in the
trunk (2.6)?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2073
__
New submission from Jerry Seutter [EMAIL PROTECTED]:
Some tests were not cleaning up warning filters. Fixed the problem by
making regrtest.py restore default filters before each module is executed.
This exposed other errors which are also fixed in the patch.
The patch only affects test files.
Benjamin Peterson [EMAIL PROTECTED] added the comment:
No, *correct usage* of the stdlib should not result in Py3k warnings.
Old APIs should still be tested, which I suppose is part of the reason
that there are so many warnings from testing.
--
nosy: +benjamin.peterson
Guido van Rossum [EMAIL PROTECTED] added the comment:
Yeah, but tp_ slots are expensive themselves (mostly in the amount of
code that needs to be changed -- see typeobject.c).
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2303
New submission from Benjamin Peterson [EMAIL PROTECTED]:
types currently exposes all types used by the interpreter except cell
objects. This patch adds support for that and adds to the docs. I
couldn't find a way to access the cell type through Python, so I added
it to the _types module.
Steven Bethard [EMAIL PROTECTED] added the comment:
Fair enough. I agree that the deprecated APIs should still be tested.
But there are a lot of other warnings, e.g. where the standard lib uses
``has_key`` instead of ``in``. These should be removed. The only
warnings should be those that are
Michael Foord [EMAIL PROTECTED] added the comment:
*Full* patch (excluding the new dependent test text files) for Python 3.
Includes fixes for standard library and tools usage of tokenize.
If it breaks anything blame Trent... ;-)
--
versions: -Python 2.6
Added file:
Raymond Hettinger [EMAIL PROTECTED] added the comment:
No doubt it would take some work. IMO, code for a slot is worth it;
otherwise, many apps will have to pay the price for ABCs even if they
don't use the feature. For my company, that would deter an upgrade to 2.6.
New submission from Neal Norwitz [EMAIL PROTECTED]:
Guido mentioned this in python-3000-checkins. I agree the problem
should be fixed.
I think the automatic skip on ImportError is harmful.
We should add a helper function to test_support so that you can write
foobar =
New submission from Bruce Frederiksen [EMAIL PROTECTED]:
Try this to reproduce error:
$ mkdir -p test/email
$ cd test
$ touch __init__.py email/__init__.py
$ cat ! foo.py
from __future__ import absolute_import
import smtplib
!
$ python
import foo
...
File /usr/lib/python2.6/smtplib.py, line
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I made a little decorator which silences py3k warnings. It could be
useful for test.test_support.
def silence_py3k(func):
def decorator(*args, **kwargs):
warnings.simplefilter(ignore, warnings.DeprecationWarning)
Mike Coleman [EMAIL PROTECTED] added the comment:
[Tracker bounced this the first time...]
I haven't run it, but just browsing the trunk source, it appears to
still be present. In fact, asynchat.py and asyncore.py have
apparently not been changed in two years. Andrew Kuchling would seem
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Further comments?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2196
__
___
Python-bugs-list mailing list
Unsubscribe:
Steven Bethard [EMAIL PROTECTED] added the comment:
I took a closer look at sliceobject.c and it looks like both 2.6 and 3.0
compare them basically as tuples. So there don't need to be any warnings
about using and since these are still well defined.
I'll have a patch for codeobject.c and
Mark Dickinson [EMAIL PROTECTED] added the comment:
All tests pass for me on OS X 10.5.2 and SuSE Linux 10.2 (32-bit)!
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue719888
Brett Cannon [EMAIL PROTECTED] added the comment:
On Tue, Mar 18, 2008 at 4:48 PM, Benjamin Peterson
[EMAIL PROTECTED] wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Further comments?
I have not looked at the patch yet (and I don't know when I will get to it).
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
nosy: +benjamin.peterson
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2171
__
___
Python-bugs-list mailing list
Steven Bethard [EMAIL PROTECTED] added the comment:
Resolved in revision 61570. I can't get svnmerge block to work though.
Since the code and method changes are just backports of Python 3,
someone needs to run ``svnmerge.py block -r 61570``.
__
Tracker [EMAIL
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Okay, I removed the _types module in favor of your Python
implementation. Here's the patch.
--
title: types should expose cell object - types module can be implemented only
in Python
Added file:
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Tim Peters once commented that w9xpopen cannot go away as long as people
still use alternative shells (through COMSPEC) that still have the
original issue that command.com had.
I don't know how relevant that still is, and whether perhaps
Simon Percivall [EMAIL PROTECTED] added the comment:
It's still a problem, as the test case demonstrates.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2074
__
___
Jeff Balogh [EMAIL PROTECTED] added the comment:
Attaching a patch that provides fixers for sys.exc_
{type,value,traceback}
Added file: http://bugs.python.org/file9749/issue2357.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2357
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Checked-in r61576
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Back to Brett for application.
--
assignee: rhettinger - brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2349
__
New submission from Michael Bishop [EMAIL PROTECTED]:
Instead of failing the test which is inaccurate, the test will return
that it was skipped and what the msg is.
--
components: Tests
files: test_nis.patch
keywords: patch
messages: 64016
nosy: MichaelBishop
severity: normal
status:
New submission from Eric Smith [EMAIL PROTECTED]:
Issue 1633807 is a backport of the print function to 2.6, using a
__future__ import. Once it is committed, we need to ensure that 2to3
does the right thing (namely, nothing) with print functions in modules
that have the __future__ import.
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Here is a patch against the latest trunk (r61578) that includes the
accelerator module of io.BytesIO with its test suite. The patch also
changes the behavior of the truncate method to imply a seek(). Please
review!
Added file:
Bill Janssen [EMAIL PROTECTED] added the comment:
No test case. No provision for client validation of server certificate.
--
resolution: - rejected
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1581
__
Christopher Li [EMAIL PROTECTED] added the comment:
Hi,
I am working on a patch to implement the https proxy support for
urllib2. It works fine for me, but feel free to change the patch.
Can any one take a look please?
Thanks
--
nosy: +chrisl
Added file:
Changes by Alexander Belopolsky [EMAIL PROTECTED]:
--
components: +Extension Modules
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2413
__
___
Python-bugs-list mailing
Changes by Alexander Belopolsky [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file9755/posix-strerror.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2413
__
___
New submission from Alexander Belopolsky [EMAIL PROTECTED]:
ISO/ANSI C strerror indicates out of range error by setting errno, but
existing code incorrectly checks for NULL return value. Attached patch
(tested n Mac OS X) makes os.strerror raise ValueError for out of range
argument.
Skip Montanaro [EMAIL PROTECTED] added the comment:
How will this work if I use a build directory? For example,
my source is in ~/src/python/trunk. In there I create a
build directory. When I run it I get
% pwd
/Users/skip/src/python/trunk/build
% ./python.exe ../Tools/coverage/coverage.py
Jeff Balogh [EMAIL PROTECTED] added the comment:
Attaching a patch that implements optional_import().
The only arg included from __import__ is fromfile, as it's the only one
I needed to fix up the stdlib.
--
keywords: +patch
nosy: +jeff.balogh
Added file:
Jeff Balogh [EMAIL PROTECTED] added the comment:
Attaching a patch that removes ``from _winreg import *`` in
test_winreg.py, which will allow usage of optional_import.
Added file: http://bugs.python.org/file9757/winreg-refactor.diff
__
Tracker [EMAIL PROTECTED]
Jeff Balogh [EMAIL PROTECTED] added the comment:
Attaching a patch that refactors the test_sunaudiodev.py imports.
Added file: http://bugs.python.org/file9758/sunaudiodev-refactor.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2409
New submission from Eric Smith [EMAIL PROTECTED]:
PEP 3127 Integer Literal Support and Syntax says that % string
formatting should support %b. This needs to be added to both 2.6 and
3.0. It needs to support the forms %b and %#b.
--
assignee: eric.smith
components: Interpreter Core
Changes by Martin v. Löwis [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9757/winreg-refactor.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2409
__
___
Jeff Balogh [EMAIL PROTECTED] added the comment:
The previous winreg refactor patch didn't catch all the changes;
attaching a new patch that fixes everything, with help from Trent
Nelson.
Added file: http://bugs.python.org/file9759/winreg-refactor.diff
__
Terry J. Reedy [EMAIL PROTECTED] added the comment:
To my mind, the inaccurate result is a bug that should be fixed.
Note: (3.0a3)
10e40/10e39
10.0
The rationale for the division change is that (as far as reasonably
possible) arithmetic operations with same values should give same result
Jeff Balogh [EMAIL PROTECTED] added the comment:
Attaching a patch, based on the previous patches, that fixes the stdlib
to use optional_import where ImportError was raised.
These need testing on various platforms to make sure all the
ImportErrors are caught. I'm on x86 Linux.
Added file:
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This is now fixed in r61595.
--
nosy: +loewis
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2400
__
New submission from Terry J. Reedy [EMAIL PROTECTED]:
Python 3.0a3 (r30a3:61161, Mar 1 2008, 22:51:17) [MSC v.1500 32 bit
(Intel)] on win32
a,b=1,1//1
a is b
False
IDLE 3.0a3
a,b=1,1//1
a is b
True
ditto for 2.5.2 interpreter
On c.l.p, Duncan Booth wrote
I've had a look to see why
Changes by Terry J. Reedy [EMAIL PROTECTED]:
--
title: Integer floor division (//): small int check omitted - [py3k] Integer
floor division (//): small int check omitted
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2417
David Wolever [EMAIL PROTECTED] added the comment:
Ok, checked in the last piece -- fixer for filter -- in r61598.
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2171
__
Changes by Terry J. Reedy [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9754/posix-strerror.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2413
__
___
Terry J. Reedy [EMAIL PROTECTED] added the comment:
Removed earlier version
--
nosy: +tjreedy
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2413
__
___
Changes by Brett Cannon [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9490/c_warnings.diff
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1631171
_
___
Changes by Brett Cannon [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9667/c_warnings.diff
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1631171
_
___
Brett Cannon [EMAIL PROTECTED] added the comment:
Attached is what I think is a completely working version of warnings
implemented in a mixture of C and Python. I am not worrying about
documenting the new C APIs I had to add since they are pretty specific
to internal stuff. Probably should
Paul Winkler [EMAIL PROTECTED] added the comment:
The attached patch implements a command-line option to disable loading
of $HOME/.pydistutils.cfg.
After talking to Martin Loewis, I decided not to implement the override
part, because if it's a one-time thing you can just pass the settings on
Changes by Paul Winkler [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9762/python_distutils_1180.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1180
__
___
Changes by Paul Winkler [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file9763/python_distutils_1180.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1180
__
___
101 - 154 of 154 matches
Mail list logo