Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 87539f66156b by Georg Brandl in branch '2.7':
Closes #14401: fix typos in curses howto.
http://hg.python.org/cpython/rev/87539f66156b
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a9129cf78cf0 by Georg Brandl in branch '3.2':
Closes #14401: fix typos in curses howto.
http://hg.python.org/cpython/rev/a9129cf78cf0
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Please use the tracker’s tracker for this bug (link at the bottom of the
sidebar on the left). Thanks.
--
nosy: +eric.araujo
resolution: - invalid
stage: - committed/rejected
status: open - closed
Éric Araujo mer...@netwok.org added the comment:
To be clear, the distutils2 install command (currently spelled install_dist but
see #13160) does have all these options, it’s the install action that needs to
expose them too.
--
assignee: tarek - eric.araujo
stage: - needs patch
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Unfortunately 2.7 is closed to new features and the
module is removed in 3.x, so there is nothing to do here.
--
nosy: +eric.araujo
resolution: - out of date
stage: - committed/rejected
status: open - closed
Éric Araujo mer...@netwok.org added the comment:
-import sub.subsub
+from .sub import subsub as _dummy
That’s partly incorrect, as you need to bind the name sub to match the original
code.
--
nosy: +eric.araujo
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
BTW I think if this is too difficult to implement 2to3 could just be documented
as requiring you not to use implicit relative imports.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I can’t reproduce with 2.7 or 3.2 with a readline module linked to GNU readline.
--
nosy: +eric.araujo
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I think you could just go ahead and commit your patch. I don’t remember if the
reST docs were changed recently-ish or if it’s still an open bug, so you may
want to check that the new docstrings matches the doc.
--
nosy: +eric.araujo
Charles-François Natali neolo...@free.fr added the comment:
Since eab274c7d456, all the buildbots are randomly failing, e.g.
==
FAIL: test_method_deprecations (test.test_urllib2.OpenerDirectorTests)
Charles-François Natali neolo...@free.fr added the comment:
Should be fixed now.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13902
Charles-François Natali neolo...@free.fr added the comment:
I'm working on figuring out the exact conditions under which it
happens and creating a harness. I'll post it when I've got it.
Please do so, because I'm quite skeptical about waitpid() returning 0
without WNOHANG.
If you can
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 89878808f4ce by Andrew Svetlov in branch 'default':
Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as
subprecess.
http://hg.python.org/cpython/rev/89878808f4ce
--
Toshihiro Kamishima m...@kamishima.net added the comment:
Thank you for your response.
My patch makes raise error by minimal change, but it may be better to raise
NameError as in a case specifying type=string in 2.7.2.
Similar to the case type=bool, specifications, such as type=unicode or
Jakob Bowyer jkb...@gmail.com added the comment:
Before anyone else rushes of to do this, can I? I really want to break into
python-dev and this might be my chance.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14350
Senthil Kumaran sent...@uthcode.com added the comment:
It's funny, Antoine had raised an issue too. Should see why is this
sporadic failures..
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10050
Marc-Andre Lemburg m...@egenix.com added the comment:
Yury Selivanov wrote:
Yury Selivanov yseliva...@gmail.com added the comment:
A monotonic clock is not suitable for measuring durations, as it may still
jump forward. A steady clock will not.
Well, Victor's implementation of
sbt shibt...@gmail.com added the comment:
... and that pickling things like dict iterators entail running the
iterator to completion and storing all of the results in a list.
The thing to emphasise here is that pickling an iterator is destructive:
afterwards the original iterator will be
New submission from Danilo Bargen gez...@gmail.com:
Most assert statements of the unittest module provide both an assert statement
as well as its inverse, like assertIn and assertNotIn. There is apparently
no such thing for exceptions.
I can do the following:
with
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14403
___
___
Antoine Pitrou pit...@free.fr added the comment:
The thing to emphasise here is that pickling an iterator is
destructive: afterwards the original iterator will be empty.
If you look at the patch it isn't (or shouldn't be).
I agree with Raymond that accumulating dict and set iterators in a
Antoine Pitrou pit...@free.fr added the comment:
I don't want to simply execute the code and hope that it doesn't raise
an exception, because if it does, the test fails with an error status
instead of a failed status.
So what?
--
components: +Library (Lib) -Tests
nosy:
Danilo Bargen gez...@gmail.com added the comment:
I don't want to simply execute the code and hope that it doesn't raise
an exception, because if it does, the test fails with an error status
instead of a failed status.
So what?
A buggy test is not the same thing as a test that fails
New submission from ranga r_pyb...@curdrice.com:
I asked this on Stackoverflow and discovered from the discussions there that it
might be a Python bug.
http://stackoverflow.com/questions/9859222/python-multiprocessing-with-maxtasksperchild
HOW TO REPRODUCE
This
Changes by ranga r_pyb...@curdrice.com:
--
title: multiprocessing with maxtasksperchild: bug in state machine? -
multiprocessing with maxtasksperchild: bug in control logic?
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14404
Antoine Pitrou pit...@free.fr added the comment:
I don't want to simply execute the code and hope that it doesn't raise
an exception, because if it does, the test fails with an error status
instead of a failed status.
So what?
A buggy test is not the same thing as a test that
sbt shibt...@gmail.com added the comment:
If you look at the patch it isn't (or shouldn't be).
Sorry. I misunderstood when Raymond said running the iterator to completion.
--
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
The opposite of calling assertRaises is simply calling the code. A comment as
to why you're calling the code is sufficient documentation as to the intent of
the test.
In general the difference be a test failure and error is not useful
Antoine Pitrou pit...@free.fr added the comment:
Some style comments:
- don't use except: self.fail(), just let the exception pass through
- when monkeypatching hmac.new, use a try...finally block so that the mock
doesn't stay in place if the test fails for whatever reason
- it's a bit of a
Jeff McNeil j...@jmcneil.net added the comment:
I was looking at a somewhat unrelated issue and I bumped up against a similar
situation with the warnings system.
I didn't look too much into it, but it appeared that warnings didn't get added
to __warningregistry__ correctly. Though, when I
Xavier Morel xavier.mo...@masklinn.net added the comment:
Had some time to play with this today, here's a draft matrix of actions and
add_argument parameters which is pretty readable, but:
* It's incredibly not helpful for people who don't know argparse
* I tried adding effects descriptions in
New submission from Ned Batchelder n...@nedbatchelder.com:
The Other Resources section lists these resources:
Guido's Essays: out of date, the first is about 2.2, by the fifth, we're into
Python 1.5.
New-style Classes: this means new as of 2.2, and the linked page begins,
Unfortunately,
Xavier Morel xavier.mo...@masklinn.net added the comment:
completion for list item 4:
although it would definitely make the raw text (in-rst) much harder to read
compared to the current table (which can be used from the rst source without
compiling)
--
Jeff McNeil j...@jmcneil.net added the comment:
Disregard. That was in concert with ntpath, which uses a funky approach to
testing.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10050
New submission from Matt Joiner anacro...@gmail.com:
There's a race condition in concurrent.futures in _AllCompletedWaiter, which
affects wait(return_when=ALL_COMPLETED).
The attached test will go into an infinite wait.
--
components: Library (Lib)
files:
Matt Joiner anacro...@gmail.com added the comment:
Patch attached.
--
keywords: +patch
Added file:
http://bugs.python.org/file25020/concurrent.futures._AllCompletedWaiter-race-condition.patch
___
Python tracker rep...@bugs.python.org
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: +bquinlan, loewis, pitrou, rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14406
___
New submission from Matt Joiner anacro...@gmail.com:
matt@matt-1005P:~/src/cpython$ ./python -m unittest test.test_concurrent_futures
Ran 79 tests in 62.554s
FAILED (errors=18)
Failures are due to test discovery picking up unintentionally exposed tests. By
adhering to the test_cases protocol
Changes by Matt Joiner anacro...@gmail.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14407
___
___
Python-bugs-list
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: +nedbat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list mailing
Andrew Svetlov andrew.svet...@gmail.com added the comment:
After experiments with non-BMP characters I figured out:
— non-bmp symbols processed by Tk text widgets (Entry, Text etc.) differently.
For example Entry can display non-bmp with spaces after glyph, Text reduces
symbol to BMP. Editing
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Can you make a test code to introduce you issue?
I understand — it's not easy to extract failing code from your big project but
please make simple example with python code and trivial C Extension for
presentation of your problem.
Andrew Svetlov andrew.svet...@gmail.com added the comment:
If Marc Culler as well as anybody has no interest/progress on that I will close
the issue next week.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
assignee: gpolo - asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6124
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6639
___
___
Python-bugs-list
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Ping.
I like to close the issue next week if no response.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9016
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Let's close the issue next week as report doesn't make sense if issuer has no
write access to own home dir.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Closing the issue. If somebody has a problem related to this — please make a
new report.
--
nosy: +asvetlov
resolution: accepted - fixed
stage: commit review - committed/rejected
status: open - closed
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
assignee: - asvetlov
nosy: +asvetlov
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13052
___
Brian Curtin br...@python.org added the comment:
Please don't close it. Users in this situation can't use IDLE. We should at
least try alternative locations to create this directory or perhaps prompt them
for a directory they'd like to use.
--
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Good point. Thank you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8231
___
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14288
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5150
___
___
Python-bugs-list
Thierry Bastian thier...@filewave.com added the comment:
I have the same issue. To be honest it is because I'm using MSVC2010. I know it
is not a supported platform but the patch to fix the problem is really just the
following (and it is compatible with MSVC2008):
---
Andrew Svetlov andrew.svet...@gmail.com added the comment:
ping
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue786827
___
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Is there progress on it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9609
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1253
___
___
Python-bugs-list
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Let's look on IDLE only.
The problem has been fixed by #989712
I will close the issue next week if no objections.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Please, give it a try. But also be prepared for it being harder than it looks;
the problem is that there may be very limited knowledge available where the
error is generated. (I don't know; I haven't looked at the code and am not
STINNER Victor victor.stin...@gmail.com added the comment:
A sequence *does* meet the (immutable) Mapping interface
Ah? Let's try:
x=[1, 2, 3]
x.get(2)
AttributeError: 'list' object has no attribute 'get'
x.keys()
AttributeError: 'list' object has no attribute 'keys'
list doesn't
STINNER Victor victor.stin...@gmail.com added the comment:
The PyMapping_Check(dict) !PyMapping_Check(dict)
Oh, I mean PyMapping_Check(dict) !PySequence_Check(dict)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14386
R. David Murray rdmur...@bitdance.com added the comment:
@telmich: I think you will have more success at getting what you want if you
work with us rather than being confrontational. Respect that we have reasons
for doing things a certain way (and not because we are stupid), and we will
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I'm -1 on exposing this API.
Victor's sandboxing project doesn't warrant cluttering the public toolset.
As a consultant who gets to see many large codebases in different companies and
I see zero need for this type to be exposed.
STINNER Victor victor.stin...@gmail.com added the comment:
I'm unable to reproduce this error:
--
$ valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python
Python 3.3.0a1+ (default:0554183066b5, Mar 20 2012, 10:47:41)
...
==20258== Invalid read of size 8
==20258==
R. David Murray rdmur...@bitdance.com added the comment:
I believe it was actually Guido who suggested exposing dict_proxy, in response
to Victor (but independent of Victor's needs, if I understood the message
correctly).
It has always seemed odd to me (always referring my time working with
STINNER Victor victor.stin...@gmail.com added the comment:
Victor's use case is unique in that he needs the type
to be implemented in C.
mxProxy, zope.proxy and zope.security implement object proxies in C (for
security purpose). These proxies are not specific to dict, but are generic.
STINNER Victor victor.stin...@gmail.com added the comment:
Stephan: can you redo the Valgrind test on copy the exact line
where the invalid read occurs (in sysmodule.c).
Oops: ... *and* copy the exact line ...
--
___
Python tracker
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
It's clutter and we should show some restraint before adding new types.
Enthought's Python Distribution isn't shy about adding tools when they have a
demonstrated need. Likewise, Django adds any reusable tools they need.
STINNER Victor victor.stin...@gmail.com added the comment:
It's clutter and we should show some restraint before adding new types.
dictproxy() doesn't need to be a public builtin type. We can just implement its
constructor without documenting the type. Or it may be exposed in a module like
Marc Abramowitz msabr...@gmail.com added the comment:
Hey Jesús,
Let me know if you need any additional help testing.
Marc
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
STINNER Victor victor.stin...@gmail.com added the comment:
With my patch, Python doesn't check __builtins__ type whereas ceval.c replaces
any lookup error by a NameError. Example:
$ ./python
Python 3.3.0a1+ (default:f8d01c8baf6a+, Mar 26 2012, 01:44:48)
code=compile(print('Hello World!'), ,
Guido van Rossum gu...@python.org added the comment:
Given that dictproxy is needed to implement the proper interface for classes I
don't think it is an implementation detail, and so I think it ought to be
constructable. We have more esoteric types constructable (e.g. function).
I also happen
R. David Murray rdmur...@bitdance.com added the comment:
I'm marking this as easy hoping someone in the mentoring group will pick it up
and take a look. The relevant code is in Python, and I'm guessing there is
some logic bug when only the comment is set (and nothing is added to the
R. David Murray rdmur...@bitdance.com added the comment:
There is no sftp module in the standard library. Presumably you are talking
about a 3rd party product and should report the bug to its developers.
If you are trying instead to report a bug in the logging module, please reopen
the issue
R. David Murray rdmur...@bitdance.com added the comment:
OK, so whatever else is true, it seems like there isn't anything for the python
core dev team to do here. Any action would take place at the www.python.org
level, and this bug tracker isn't where such changes are tracked, so I'm
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
[haypo]
dictproxy() doesn't need to be a public builtin type.
+1
We can just implement its constructor without documenting the type.
+1
Or it may be exposed in a module like collections.
Please don't use collections as a
New submission from Matt Joiner anacro...@gmail.com:
Python 3.2 added the test_cases protocol. Many of the stdlib tests won't run
using the `$ python3 -m unittest test.test_blah` method due to select unit test
class names, and some regrtest arcanity. Defining test_cases makes these tests
work
New submission from Ankit Agrawal ankit...@gmail.com:
I'm trying to run python (version 2.7.2) on my computer (windows vista 32bit).
It's always worked until now when Idle just does not respond to any commands.
Any commands entered (even very simple ones) have no output/do not get
computed!
78 matches
Mail list logo