Senthil Kumaran added the comment:
Here is an approach to solve this. I think, going this way is safe. I shall
append with the tests and docs.
--
Added file: http://bugs.python.org/file29610/17483-v1-notests-nodocs.patch
___
Python tracker
New submission from Ned Deily:
The attached patch updates the Developer's Guide to reflect the changes in the
development process now that the 3.2 branch has closed for bug fixes and has
moved to security-fix-only status.
--
components: Devguide
files:
Ned Deily added the comment:
Note, that test_executable_without_cwd now fails when the tests are run from an
installed Python. See Issue17046.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15533
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17576
___
___
Charles-François Natali added the comment:
Richard, your patch is indeed better, and fixes the problem.
With a test it should be ready to go in.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17555
Changes by Anthony Kong anthony.hw.k...@gmail.com:
--
nosy: +Anthony.Kong
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5038
___
___
Stefan Behnel added the comment:
Ok, but an lxml benchmark is independent from this patch then. I updated it to
only use cElementTree, with the additional --etree-module option and also a
--no-accelerator option for advanced usage.
Another thing I did is to split the actual benchmark code
Mark Lawrence added the comment:
Is it worth applying the patch given the complete rewrite of unicode for 3.3
via PEP393?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1944
New submission from Matthias Klose:
forwarded from https://launchpad.net/bugs/+bug/1154599
this seems to be changed behavior in 2.7.4. is it intended?
$ cat lookup.py
#!/usr/bin/python
import sys, socket
names = [slashdot.org, foowhi.com]
if len(sys.argv) 1:
names =
Mark Lawrence added the comment:
msg116747 suggests wording for a doc patch. Could this be applied and this
issue closed? msg117029 talks about a potential feature request. Was this
ever discussed?
--
nosy: +BreamoreBoy
___
Python tracker
Matthias Klose added the comment:
another test case failure with this patch:
https://launchpad.net/ubuntu/+archive/test-rebuild-20130329/+build/4416983
reproducible with feedparser 5.1.3 from pypi, on x86 (but not x86_64).
ERROR: test_gzip_struct_error (__main__.TestCompression)
Mark Lawrence added the comment:
The code is still the same in 3.3.1rc1. Is this an opportunity to get this
committed as it's a one line patch?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5717
New submission from David Schneider:
This issue affects C functions with many float/double arguments called through
ctypes on ARM using the hardfloat ABI (i.e. the standard distribution for the
raspberry pi uses hard-float).
Calling a C function using ctypes on ARM hard-float that takes a
anatoly techtonik added the comment:
them as CPython implementation details and not part of the language definition
What is the formal language definition of locals() then? What behavior and
functionality of locals() should be supported by all Python implementations?
For a potential language
Antoine Pitrou added the comment:
Not really intended I think. Can you try to bisect to find out the responsible
changeset?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17579
Antoine Pitrou added the comment:
(by the way, I can't reproduce here)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17579
___
___
Benjamin Peterson added the comment:
I can't reproduce it.
$ ./python lookup.py
slashdot.org failed lookup
foowhi.com failed lookup
Are you sure it's not some Ubuntu/Debian patch?
--
___
Python tracker rep...@bugs.python.org
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
nosy: -vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17453
___
___
Roundup Robot added the comment:
New changeset 91bb6d7ae833 by Christian Heimes in branch '2.7':
Issue 17538: Document XML vulnerabilties
http://hg.python.org/cpython/rev/91bb6d7ae833
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset de48977f9289 by Benjamin Peterson in branch '2.7':
fall back when an old test_support doesn't have various data and functions
(closes #17533)
http://hg.python.org/cpython/rev/de48977f9289
--
nosy: +python-dev
resolution: - fixed
stage:
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17579
___
___
Python-bugs-list mailing
Matthias Klose added the comment:
hard coding ncurses seems to be wrong, as in most cases, you do want ncursesw.
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12271
___
Mark Lawrence added the comment:
Well, we have a patch and it's been discussed here and on #7229, so can we take
this forward?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9305
New submission from Antoine Pitrou:
The _ssl module has failed building (on 3.4) on OS X Tiger for a long time:
http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/6075/steps/test/logs/stdio
Given the error messages, and given how old OS X Tiger is (according to Google,
the system
Ned Batchelder added the comment:
I would say it something like this:
The dictionary returned by locals() is an accurate snapshot of the local
namespace at the time it is called. After the call returns, changes to one may
or may not be reflected in the other. The dictionary may change
Mark Lawrence added the comment:
So is _wrap_close obsolete or not?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11965
___
Roundup Robot added the comment:
New changeset 02f9335b7efb by Antoine Pitrou in branch 'default':
Issue #17581: try to fix building on old OpenSSL versions
http://hg.python.org/cpython/rev/02f9335b7efb
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset ad9effdc0ac3 by Antoine Pitrou in branch 'default':
Further compiling fixes (issue #17581)
http://hg.python.org/cpython/rev/ad9effdc0ac3
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Ok, some of the features here are relatively new (they are only 3 years old),
so it makes sense to conditionally enable them. The question remains of whether
Tiger is an useful target to support, though.
--
___
Terry J. Reedy added the comment:
Release candidates are separate from the main branch and only get critical
patches selected by release manager. Changes usually reuire a new .rc.
This seems to have fallen thru the crack between Brian and Tim.
I suspect that the next line about (win) 'ce' is
Antoine Pitrou added the comment:
This is fixed. I'll let other people settle the support issue.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17581
New submission from Daniele Varrazzo:
XML defines the following chars as whitespace [1]::
S ::= (#x20 | #x9 | #xD | #xA)+
However the chars are not properly escaped into attributes, so they are
converted into spaces as per attribute-value normalization [2]
data = '\x09\x0a\x0d\x20'
Terry J. Reedy added the comment:
I also think 'free variable' should be replace by 'nonlocal name'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17546
___
Daniele Varrazzo added the comment:
Added separate issue #17582 as ElementTree implementation doesn't depend on
whatever causes the bug in xml.dom.minidom.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5752
Bob Alexander added the comment:
Thanks Terry. I agree that it's a bug.
And, in the future I'll be more careful about trimming the history from
my messages :-)
Bob
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17551
Ezio Melotti added the comment:
LGTM, except for a small inconsistency: the dir of the default clone is
called 3.x in the committing page, but default in the FAQ about null merge.
The one in the FAQ should be renamed 3.x.
--
stage: patch review - commit review
type: - enhancement
Todd Rovito added the comment:
Here is a backtrace from PDB:
- self.sync_source_line()
/Volumes/SecurePython3/cpython/py34/Lib/idlelib/Debugger.py(211)sync_source_line()
- self.flist.gotofileline(filename, lineno)
Ezio Melotti added the comment:
Benjamin, the fix you committed still has the _1G vs. _1M typo.
--
status: closed - open
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17533
Ned Deily added the comment:
Thanks for fixing the break. As time goes on, active support of 10.4 Tiger
becomes less important but having the buildbot there is an inexpensive way to
test backward compatibility, issues that might also arise on other platforms.
For 2.7.x and 3.2.x, we still
Todd Rovito added the comment:
I created a small test program trying to reproduce the problem on Windows 7,
Python 3.4, and TK 8.6. Unfortunately it works fine and each line is
highlighted as a user presses ctrl-B. I got the select code straight from
IDLE. Any other ideas Roger? This
Ned Deily added the comment:
Committed in http://hg.python.org/devguide/rev/e125591a5f12
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
With the advent of implicit namespace packages in 3.3, I don’t know if anything
in pkgutil will be done for this use case.
(BTW is it normal that pkgutil.extend_path is not at least doc-deprecated?)
--
nosy: +eric.araujo, eric.smith
Éric Araujo added the comment:
Terry: agreed.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17546
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset be0586ebb842 by Benjamin Peterson in branch '2.7':
G - M (closes #17533)
http://hg.python.org/cpython/rev/be0586ebb842
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
Unless the 2.7 configparser docs mention that two quotes are parsed as an empty
string, I think this is an implementation accident, should not be relied upon
and 3.x should not be changed to match it. Values in configparser files are
not Python strings: we
Éric Araujo added the comment:
FWIW I have no principled opinion about big vs. small test.support module, as
this is purely internal code.
The reasons for this proposal as I understand them are:
- One module for script helpers, one module for package creation, etc. are not
bad.
- We don’t
Éric Araujo added the comment:
The first commit does something fishy with tests:
http://hg.python.org/cpython/rev/e30bcce5c634#l3.1
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15627
Ezio Melotti added the comment:
FWIW the reason why I proposed to add assert_python_ok to test.support, is that
from my point of view it's just one of the many *test* support utilities
defined in test.support. I think that from Nick's point of view,
assert_python_ok is just one of the many
Roundup Robot added the comment:
New changeset 2698920eadcd by R David Murray in branch '3.3':
Issue #17435: Don't use mutable default values in Timer.
http://hg.python.org/cpython/rev/2698920eadcd
New changeset 8c15e57830dd by R David Murray in branch 'default':
Merge #17435: Don't use mutable
R. David Murray added the comment:
Thanks, Denver.
I'm choosing not to backport it to 2.7, but that can be done later if someone
finds it worth doing.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.7, Python 3.2
R. David Murray added the comment:
The problem with using 'nonlocal' is that it would naturally be read as 'those
names referenced in a nonlocal statement', which I don't think is the case.
Maybe 'non-local', to differentiate it from the keyword?
I'm attaching a patch incorporating my
Terry J. Reedy added the comment:
Edmond: please fill in, sign, and send by your preferred method a PSF
Contributor Agreement
http://www.python.org/psf/contrib/contrib-form/
(back up a level for more explanation)
For a patch more complicated than this, the CA would now be required before
Edmond Burnett added the comment:
Terry,
I submitted my contributor form on March 15th, and received the confirmation,
but it has not yet been applied to my account.
I saw some discussion on one of the mailing lists of there being a potential
backlog due to the PyCon sprints, so I just
Brett Cannon added the comment:
It cleans up the run_unittest() call. You can check the file and see that the
missing classes are actually not in the module anymore.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15627
Antoine Pitrou added the comment:
Richard, do you think this is an actual concern?
--
nosy: +pitrou, sbt
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6653
Roundup Robot added the comment:
New changeset 74d9a9507019 by Terry Jan Reedy in branch '3.3':
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
http://hg.python.org/cpython/rev/74d9a9507019
New changeset e0f66c924544 by Terry Jan Reedy in branch 'default':
Merge
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2818
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +amaury.forgeotdarc, belopolsky, meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17580
___
Terry J. Reedy added the comment:
Can you find the place where the editor title is set? I am currently thinking
of something like
Python x.y.z: xxx.py (directory path) # or
Python x.y.z Editor: xxx.y (path)
I am guessing that the reason to put the file name at the beginning is in case
the
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file29615/peekiter.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
___
New submission from Amit Saha:
I would like to propose a new HOWTO discussing IDLE from a user's perspective.
I feel that the current documentation at
http://docs.python.org/3/library/idle.html is not sufficient to be pointed to a
newbie programmer or someone who wants to teach his/her
Terry J. Reedy added the comment:
/non-local/Non-local/ If we add the hyphen, perhaps we should add 'non-global'
also.
Thanks for the concrete draft. It is definitely an improvement.
The last sentence is somewhat redundant with the second. The problem with the
last sentence is that it only
Richard Oudkerk added the comment:
I don't think this is a bug -- processes started with fork() should nearly
always be exited with _exit(). And anyway, using sys.exit() does *not*
guarantee that all deallocators will be called. To be sure of cleanup at exit
you could use (the undocumented)
Terry J. Reedy added the comment:
I am presuming 2.7 has same problem since it has same code.
The patch appears to give PyShell.close a return value it did not have before.
Perhaps remove the return?
I am slightly puzzled: self.pollinterval is 50 (millisecs). If reducing the
wait from 100 to
Raymond Hettinger added the comment:
Another possible way to go is to expand the existing tee() object to support
__getitem__ and __bool__ methods.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
Terry J. Reedy added the comment:
After reading the doc for IOBase.fileno: Return the underlying file descriptor
(an integer) of the stream if it exists. An OSError is raised if the IO object
does not use a file descriptor. I decided that the bug is in the assumptions
made by site.py.
Changes by Byron Ruth b...@devel.io:
--
components: Library (Lib)
nosy: bruth
priority: normal
severity: normal
status: open
title: collections.Iterator __subclasshook__ does not check if next() is
callable
type: behavior
versions: Python 2.7
___
New submission from Byron Ruth:
Consider:
```python
class A(object):
def __init__(self):
self.r = iter(range(5))
def __iter__(self):
return self
@property
def next(self):
return next(self.r)
```
The `next` method is a property, however:
```python
from
Raymond Hettinger added the comment:
Sorry, this isn't bug. The design of ABCs are to check for the existence to
required named; none of them verify the signature.
--
nosy: +rhettinger
resolution: - wont fix
status: open - closed
___
Python
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file29616/peekiter.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file29615/peekiter.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17584
___
___
Roger Serwy added the comment:
It's definitely a bug with Tk. Whenever the Text widget loses focus, the
selection highlighting goes away. The following example code brings up a
focused text box with selected text. Clicking the button switches focus to the
button itself and then back to the
Todd Rovito added the comment:
I think it is a great idea.
The Python documentation is written with restructured text. See the Python
Developer's Guide here:
http://docs.python.org/devguide/documenting.html
Restructured text is not difficult please let me know if you need help I would
Roger Serwy added the comment:
I agree that improving IDLE's docs would make it easier to learn and use. There
is a tangentially related issue: #16893.
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python, roger.serwy
versions: +Python 2.7, Python 3.4
Byron Ruth added the comment:
Understood. I am not sure it is appropriate to follow-up with a question here,
but would this be a downstream issue? My understanding of the iterator protocol
is that is assumes the __iter__ and next methods are implements. In the
example, the next method is
Changes by Roger Serwy roger.se...@gmail.com:
--
assignee: - roger.serwy
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6649
___
Roger Serwy added the comment:
This is related to #17221. I agree that news items need to be consolidated in
both Misc/NEWS and Lib/idlelib/NEWS.txt.
--
nosy: +roger.serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17506
R. David Murray added the comment:
Hmm. Perhaps the last sentence could be ... because changes to the local dict
propagating to the local namespace cannot be relied upon to either happen or
not happen. That would make it less redundant, since it would essentially be
referencing the previous
Illia Polosukhin added the comment:
Updated patch - removed old code and addded tests to _testcapimoudule.c as
Amaury suggested.
Amaury, why do you mention -R flag (from what I see it does hash
randomization)? I would expect some flag, that would enforce memory leakage
issues to fail test.
anatoly techtonik added the comment:
... cannot be relied upon to either happen or not happen...
IMHO this phrase is from Advanced English course.
The original included the caution against modifying it, and I think it is
valid because of the inconsistent behavior.
Perhaps it could be
81 matches
Mail list logo