Antoine Pitrou added the comment:
Yes, fixing site.py is fine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17585
___
___
Python-bugs-list
New submission from Ulrich Eckhardt:
When you rename a test function, you can't explicitly specify it on the
commandline any more. During normal test runs, it is automatically discovered
though. The error is that the old name was not found, even though the new name
was specified. The attached
Antoine Pitrou added the comment:
The entire description of this issue is bogus. Reference cycles are not a bug,
since Python has a cyclic garbage collector. Closing as invalid.
--
nosy: +pitrou
resolution: - invalid
status: open - closed
___
Antoine Pitrou added the comment:
Giacomo, which behaviour are you talking about?
FWIW, there is no such tell() issue in Python 3 and it doesn't use ftell().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16273
Ralf Schmitt added the comment:
I'd consider reference cycles a bug especially if they prevent filedescriptors
from being closed. please read the comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1208304
Antoine Pitrou added the comment:
• interactive console doesn't use sys.stdin for input, why?
Modules/main.c calls PyRun_AnyFileFlags(stdin, stdin, ...). At this point,
sys.stdin *is* the same as C stdin by construction, so I'm not sure how you
came to encounter the issue.
However, it's
Antoine Pitrou added the comment:
The migration to an AST optimizer is a bit of a pie-in-the-sky project.
Functionally, it doesn't have many benefits since the scope of legal static
optimizations in Python is very narrow (due to the dynamic nature of the
language). Therefore, the main benefit
Kazuhiro Yoshida added the comment:
Thanks for a comment.
I've made a version that adds a line to the document.
--
Added file: http://bugs.python.org/file29776/issue-8109.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I see no file descriptor leak myself:
f = urllib2.urlopen(http://www.google.com;)
f.fileno()
3
os.fstat(3)
posix.stat_result(st_mode=49663, st_ino=5045244, st_dev=7L, st_nlink=1,
st_uid=1000, st_gid=1000, st_size=0, st_atime=0, st_mtime=0, st_ctime=0)
del
R. David Murray added the comment:
Well, actually, the old name *is* found, it is the new name that is not found
in the class dict when unittest goes to actually run the test.
This is a duplicate of issue 14971. I thought I had applied that patch, but
obviously I haven't, and neither did
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +eckhardt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14971
___
___
Python-bugs-list
R. David Murray added the comment:
Fixed in Python3.
The 2.7 unittest code is different enough that it is not immediately obvious
how to make the equivalent fix (given that it has been a while since I looked
at this logic). If someone wants to work out the equivalent 2.7 patch, I will
apply
Roundup Robot added the comment:
New changeset b17bcfadd7f3 by R David Murray in branch '3.3':
#14971: Use class method name, not function.__name__, during unittest discovery.
http://hg.python.org/cpython/rev/b17bcfadd7f3
New changeset 659c89275be2 by R David Murray in branch 'default':
Merge
Mark Lawrence added the comment:
Where did file descriptors come into it, surely this is all about memory leaks?
In any case it's hardly a show stopper as there are at least three references
above to the problem line of code and three workarounds.
--
Changes by Arthur Darcet arthur.dar...@gmail.com:
--
nosy: +Arthur.Darcet
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6818
___
___
New submission from Don Allen:
Give the attached file execute permission and run it. At the first breakpoint,
the backtrace will be correct. Continue. At the second breakpoint, a backtrace
will show the foo('first call') on the stack when, in fact, the call came from
foo('second call'), as
Ezio Melotti added the comment:
Patch updated.
--
assignee: - ezio.melotti
stage: patch review - commit review
type: - enhancement
Added file: http://bugs.python.org/file29778/issue17637-2.diff
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17637
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset 849b2fd4b06a by Ezio Melotti in branch 'default':
#17637: mention What's New updating guidelines in the devguide.
http://hg.python.org/devguide/rev/849b2fd4b06a
--
nosy: +python-dev
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17637
Andrew Svetlov added the comment:
Looks like the patch is out-of-date and tests doesn't pass.
Would you push updated version?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17651
___
Andrey Tykhonov added the comment:
Sure!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17651
___
___
Python-bugs-list mailing list
Unsubscribe:
Giacomo Alzetta added the comment:
I can reproduce a similar behaviour, but instead of negative values I obtain
huge values(which may as well be a negative unsigned converted to a python
int).
See this stackoverflow question:
Roundup Robot added the comment:
New changeset 20efcabcd5c0 by Ezio Melotti in branch '3.3':
#17690: test_time now works with unittest test discovery. Patch by Zachary
Ware.
http://hg.python.org/cpython/rev/20efcabcd5c0
New changeset 6cc56e21a74d by Ezio Melotti in branch 'default':
#17690:
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17690
Benjamin Peterson added the comment:
Giacomo, that's not related to the 2.7 problem. In Python 3, the result of
f.tell() is not a file position, but a special value that tells the decoder to
pick up when you seek().
--
nosy: +benjamin.peterson
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13355
___
___
Andrew Svetlov added the comment:
Test for the issue_13355.patch is incorrect, please fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13355
___
New submission from Michael Bevilacqua-Linn:
Hello,
In BaseHTTPServer line 104 is the following:
allow_reuse_address = 1# Seems to make sense in testing environment
This appears to attempt to set SO_REUSEADDR, but it doesn't actually do
anything since the attribute that needs to be set
R. David Murray added the comment:
Unless I'm misunderstanding something, that assignment is doing exactly what it
intends to do, and is documented as being a supported API in TCPServer:
changing the value of that class attribute to a true value for the
BaseHTTPServer class. (In particular,
Andrew Svetlov added the comment:
I've found the stable link to CGI 1.1 spec at
http://tools.ietf.org/html/draft-robinson-www-interface-00
Links to spec from the issue looks like broken.
Please, can you describe why we need to convert, say, HTTP_USER_AGENT to
user-agent?
I see in the spec:
Senthil Kumaran added the comment:
Incidentally I was looking at this bug in the morning and it looks like this
one is on the edge. Looks like we may not need the functionality as provided by
the patch.
The existing headers are set in FieldStorage for use within the FieldStorage
class. We do
Drekin added the comment:
I encountered it when I changed sys.stdin at runtime (I thought it was a
supported feature) to affect the interactive console, see
http://bugs.python.org/issue1602 .
--
versions: -Python 2.7
___
Python tracker
Andrew Svetlov added the comment:
I like the patch but please add tests also.
We need to put new behavior in stone :)
Take a look on comments to the patch also.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1521051
Roundup Robot added the comment:
New changeset 4ae6095b4638 by Antoine Pitrou in branch 'default':
Fix a crash when setting a servername callback on a SSL server socket and the
client doesn't send a server name.
http://hg.python.org/cpython/rev/4ae6095b4638
--
Antoine Pitrou added the comment:
Thank you for finding this! The patch is now committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8109
___
Changes by Zachary Ware zachary.w...@gmail.com:
Added file: http://bugs.python.org/file29779/test_tarfile_discovery.v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17689
___
Antoine Pitrou added the comment:
Ok, I guess it would need a new API (PyRun_Stdio()?) to run the interactive
loop from sys.stdin, rather than from a fixed FILE*.
--
stage: - needs patch
type: behavior - enhancement
versions: -Python 3.3
___
Ian Kelly added the comment:
The bug also occurs using 32-bit Python 3.3.1 on Windows 7.
--
nosy: +ikelly
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17697
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
Removed file: http://bugs.python.org/file29738/diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17665
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
Added file: http://bugs.python.org/file29780/diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17665
___
Michael Bevilacqua-Linn added the comment:
Ack yes you're right, there was a bug in my test case... Sorry about that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17698
___
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17698
___
Ned Deily added the comment:
See also Issue17697. Xavier, would you be willing to submit a patch with a
test?
--
nosy: +ned.deily
stage: - needs patch
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
On python-list, Robert Kern used where to demonstrate the problem:
$ python pdbbug.py
first call
--Return--
/Users/rkern/scratch/pdbbug.py(4)foo()-None
- pdb.set_trace()
(Pdb) where
/Users/rkern/scratch/pdbbug.py(5)module()
- foo('first call')
Changes by Ned Deily n...@acm.org:
--
stage: - needs patch
versions: +Python 2.7, Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17697
___
R. David Murray added the comment:
It turns out the new header parsing code also missed this error recovery. Or,
rather, it recovers from it by completely ignoring the parameter with the bad
syntax.
I haven't worked out a solution that does more useful error recovery yet, but
I'm posting
Andrew Svetlov added the comment:
LGTM, will commit if no objects.
Let's leave encoding problems for upcoming issue.
Please file new one if needed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16658
Roundup Robot added the comment:
New changeset bcecf3910162 by Victor Stinner in branch 'default':
Close #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of
http://hg.python.org/cpython/rev/bcecf3910162
--
nosy: +python-dev
resolution: - fixed
stage: -
New submission from Zachary Ware:
(Copied the nosy list from issue17484)
The new test module fails on Windows due to the lack of termios and pwd
modules. Here's a patch that fixes things. I suspect the skip condition on
UnixGetpassTest could be changed to check 'termios' rather than
Ismail Donmez added the comment:
Time to say ping here. This patch is still would be useful for Python.
--
nosy: +cartman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4630
___
Giacomo Alzetta added the comment:
The documentation for python 3.3.1 states, at
http://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files,
states:
f.tell() returns an integer giving the file object’s current position in
the file, **measured in bytes from the beginning
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16273
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 78cd09d2f908 by Victor Stinner in branch 'default':
Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests
http://hg.python.org/cpython/rev/78cd09d2f908
--
nosy: +python-dev
___
Python
STINNER Victor added the comment:
CJK decoders use the new Unicode API since the changeset bcecf3910162.
I think these tests have no sense after PEP393. They tests that StreamWriter
works with non-BMP characters broken inside surrogate pair. I.e.
c.write(s[:i]); c.write(s[i:]) always is same
Antoine Pitrou added the comment:
Closing as per Ezio's suggestion on #python-dev.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6743
___
Ezio Melotti added the comment:
To clarify, the request seems reasonable to me, but the use cases are somewhat
limited and it's not obvious what the best implementation should be. Given
that others are -1 on this, I suggested to close it rather than leaving it open
and languishing.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13056
Zachary Ware added the comment:
The new tests fail on Windows, see for example
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1763/steps/test/logs/stdio
It can be fixed on Windows by moving the `s.bind(('127.0.0.1', 0))` line above
the `self.assertIn('laddr',
R. David Murray added the comment:
Thanks Zachary. I forgot to check the buildbots after I pushed that patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17699
___
Roundup Robot added the comment:
New changeset c84a5e5f73c3 by R David Murray in branch 'default':
#17699: Fix the new getpass test failures on windows.
http://hg.python.org/cpython/rev/c84a5e5f73c3
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
I'm going to close this because the windows buildbots currently aren't
building, and I'll forget to close it if I wait for them. I trust you'll
reopen it if it doesn't actually fix the problem for some reason :)
--
resolution: - fixed
stage: -
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +orsenthil
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16658
___
New submission from A.M. Kuchling:
Here's a patch updating the Curses HOWTO for 3.4 that can be applied to the
default branch. Changes:
* curses.wrapper.wrapper is now just curses.wrapper
* Mention window.encoding and its effect on Unicode.
* Describe getkey() as well as getch()
* Improve
Trent Nelson added the comment:
On Tue, Apr 09, 2013 at 03:04:42AM -0700, Charles-Fran?ois Natali wrote:
Why are the OpenBSD buildbots down? Can we do anything about it?
Having a buildbot slave up will definitely help here.
All the OpenBSD buildbots we have are provided by SnakeByte, and
New submission from David Wolever:
The current strftime documentation isn't very helpful. It doesn't have
examples, and the ordering is unhelpful.
I've also moved some format-specific notes into the notes below the
format-string-table, because the format string table is what 98%* of people
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17701
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 99e363e67844 by Roger Serwy in branch '2.7':
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
http://hg.python.org/cpython/rev/99e363e67844
New changeset d3c67e2fc68c by Roger Serwy in branch '3.3':
#17585: Fixed IDLE
Roger Serwy added the comment:
Thanks, Antoine.
I am closing this issue as fixed.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17585
New submission from Robert Tasarz:
Minimal example:
import os
somekey = 'random'
try:
... os.environ[somekey]
... except KeyError as e:
... print(repr(e))
... somekey == e.args[0]
...
KeyError(b'random',)
False
Tested in Python 3.3.1 on Debian
--
components: Extension
Changes by Robert Tasarz robert.tas...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17702
___
___
Changes by Ned Deily n...@acm.org:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17702
___
___
Python-bugs-list mailing list
Éric Araujo added the comment:
Thanks for the patch, looks good. I’d put the versionadded block at the end of
the note rather than the beginning, to match usual conventions.
--
nosy: +eric.araujo
stage: - patch review
versions: +Python 3.3, Python 3.4
Éric Araujo added the comment:
Do the changes (e.g. curses.wrapper new name) not apply to 3.3?
--
nosy: +eric.araujo
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17700
Changes by David Wolever wole...@cs.toronto.edu:
Added file: http://bugs.python.org/file29785/strftime-docs.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17701
___
David Wolever added the comment:
Ah, yes — thanks Éric. I've fiddled with the wording on the %f note a bit so it
makes more sense along with the versionadded, and removed the versionadded
text, which is basically identical to the note and description.
--
Roger Serwy added the comment:
Todd, thank you for being proactive with the Tcl/Tk community. Hopefully they
will offer a fix in their next version.
In the meanwhile, here's a patch that works around the problem on Windows. The
purpose of getting the highlight configuration at each FocusOut
Roger Serwy added the comment:
I submitted a patch to #14146 that would work around the selection highlighting
issue on Windows. It is based on Sarah's idea of replacing the sel tags with
a tag that remains visible.
There are a lot of ideas floating here about improving the search dialog.
Roger Serwy added the comment:
I forgot to mention that the idea for replacing the sel tags is based on an
idea from Sarah's patch from #17511.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14146
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4630
___
___
80 matches
Mail list logo