Hynek Schlawack h...@ox.cx added the comment:
Looking into the source code of nntplib, I'd claim this bug isn't valid anymore?
At least the file is opened in binary mode now – see Lib/nntplib.py:462
In any case, we have a test suite now.
--
nosy: +hynek
versions: +Python 3.3 -Python
Charles-François Natali neolo...@free.fr added the comment:
(I'm adding Antoine to the noisy list).
You could maybe try building with '--without-pymalloc', and run under valgrind
(--suppressions=Misc/valgrind-python.supp), see
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13997
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW the JSON doc doesn't even mention the acceleration module _json, but since
people here are used to import cElementTree I think it should be mentioned that
it's now deprecated and accelerations are used automatically, so something like
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset df5e5eea7833 by Ezio Melotti in branch '3.2':
#13993: HTMLParser is now able to handle broken end tags when strict=False.
http://hg.python.org/cpython/rev/df5e5eea7833
New changeset 2e66baa1d86a by Ezio Melotti in
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13997
___
___
New submission from Andrew Moffat andrew.robert.mof...@gmail.com:
The following code only works if the p.stdin.close() line is uncommented. It
seems that stdin only flushes to the process on stdin.close(), not on
stdin.flush().
---
import subprocess as subp
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 65fc79fb4eb2 by Florent Xicluna in branch 'default':
Issue #13988: cElementTree is deprecated and the _elementtree accelerator is
automatically used whenever available.
http://hg.python.org/cpython/rev/65fc79fb4eb2
Changes by Catalin Iacob iacobcata...@gmail.com:
--
nosy: +catalin.iacob
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e9cf34d56ff1 by Florent Xicluna in branch 'default':
Fix xml_etree_c test error (follow up of issue #13988).
http://hg.python.org/cpython/rev/e9cf34d56ff1
--
___
Python
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
Python-bugs-list
Mark Shannon m...@hotpy.org added the comment:
This issue was too broad. The new patch is focussed on sys.exc_info.
All hints of coroutines have been removed and f_yieldfrom is untouched.
New patch reduces code by 65 lines and does not conflict with issue 13607.
--
title: Move fields
Changes by Mark Shannon m...@hotpy.org:
Removed file: http://bugs.python.org/file24350/coro.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13897
___
andrea crotti andrea.crott...@gmail.com added the comment:
I reopen the ticket because I'm still not convinced..
I tried to substitute the setuptools namespace declaration with the more
standard python:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
It behaves
Shivam shivam.agar...@aricent.com added the comment:
Hi Terry,
Thanks for your reply.
I am made changes suggested by you but still getting the same error:
Below is the change that have been made:
try:
local_var = (os.fstat(f.fileno()).st_mtime) -- added line
Aaron Staley usaa...@gmail.com added the comment:
Unfortunately, my application is running so slow under valgrind that behavior
is changing, namely the sockets are all timing out.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Gah, that's what I get for trying to do something quick. By changing the name
of that variable I introduced a backward incompatibility, since that change was
released in 3.2.
--
___
Python
Florent Xicluna florent.xicl...@gmail.com added the comment:
Now the merge is done. Thank you Eli for the effort, and to the other
contributors for the review.
Following topics may need further work:
- add a Deprecation warning for cElementTree? it will annoy the package
maintainers which
Mark Dickinson dicki...@gmail.com added the comment:
It's going to be tricky for any of the core Python developers to solve this
based on the current level of information---unless anyone has access to a MIPs
machine and can reproduce the error, that is. Can you find a local expert who
knows
Changes by Tim Lesher tles...@gmail.com:
--
nosy: +tlesher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3905
___
___
Python-bugs-list mailing
New submission from Jan Lieskovsky ian...@seznam.cz:
A denial of service flaw was found in the way Simple XML-RPC Server module of
Python processed client connections, that were closed prior the complete
request body has been received. A remote attacker could use this flaw to cause
Python
Changes by Ralf Schmitt python-b...@systemexit.de:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
___
Python-bugs-list
Charles-François Natali neolo...@free.fr added the comment:
Unfortunately, my application is running so slow under valgrind that
behavior is changing, namely the sockets are all timing out.
Did you see any invalid read/write?
By the way, a google search returned me this:
Changes by andrea crotti andrea.crott...@gmail.com:
--
resolution: invalid -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13991
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, loewis
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
and I do occasionally use PyThreadState_SetAsyncExc to asynchronously
terminate threads.
Did you write an extension module for this? It is possible that there is a
refcount error there.
--
nosy: +amaury.forgeotdarc
Jan Lieskovsky ian...@seznam.cz added the comment:
CVE request:
[2] http://www.openwall.com/lists/oss-security/2012/02/13/3
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 333e3acf2008 by Ezio Melotti in branch '2.7':
#13960: HTMLParser is now able to handle broken comments.
http://hg.python.org/cpython/rev/333e3acf2008
--
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
I now backported this to 2.7, together with some improvements in the handling
of declarations that I committed on 3.2 (4c4ff9fd19b6) and 3.3 (06a6fed0da56).
Apparently ! is not a valid comment in HTML5, but it is considered a bogus
comment
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +XML
nosy: +flox
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a349448474ea by Ezio Melotti in branch '2.7':
#13993: HTMLParser is now able to handle broken end tags.
http://hg.python.org/cpython/rev/a349448474ea
--
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is now fixed.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13993
Mark Shannon m...@hotpy.org added the comment:
Why do the codes used internally by ceval have to be the same as those made
public?
Have you considered returning the exit code directly, rather than
adding another field to frameobject?
yieldfrom can be handled in a similar way to yield by
Changes by Mark Shannon m...@hotpy.org:
Added file: http://bugs.python.org/file24510/691ce331f955.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13903
___
Changes by Mark Shannon m...@hotpy.org:
Removed file: http://bugs.python.org/file24465/e50db1b7ad7b.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13903
___
Changes by Sébastien Barthélémy barthel...@crans.org:
--
nosy: +sbarthelemy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13979
___
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Sure. Flagging this as fixed. Can´t close it until 10181 is closed due to
some dependency thing. (perhaps someone else knows what to do?)
--
resolution: - fixed
___
Python tracker
New submission from Paul Moore p.f.mo...@gmail.com:
I created a bdist_wininst installer for distutils2 and installed it into my
Python 2.7.2 installation. This is on Wondows, 32-bit. I then tried to do a
simple install to test it was working.
python -m distutils2.run install stemming
Checking
Stefan Krah stefan-use...@bytereef.org added the comment:
Great. I removed the dependency since it's fixed in both cpython
and pep-3118.
--
dependencies: -Problems with Py_buffer management in memoryobject.c (and
elsewhere?)
stage: - committed/rejected
status: open - closed
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
___
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
___
Python-bugs-list
Ross Lagerwall rosslagerw...@gmail.com added the comment:
This appears to be a buffering issue with the tr program. Replace with [cat,
-] and it works whether the close() is in or not.
To fix this, you need to open up the child process so that it is connected to a
tty. man 4 pts if you want
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file24511/0a49f6382467.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4966
___
Alberto Trevino albe...@byu.edu added the comment:
David, I'd be happy to help, but I'm pretty busy for the next month. I read the
description of your patch, and it sounds good to me. Anything that moves the
project forward is always welcomed. Thanks for your work on this.
--
Yuval Greenfield ubershme...@gmail.com added the comment:
I noticed this implementation on PyPI http://packages.python.org/rglob/ which
sort of has rglob defined as
def rglob(pattern, base='.'):
Which seems like the most comprehensible way of doing this, though not the most
compact.
The
R. David Murray rdmur...@bitdance.com added the comment:
OK. Maybe someone else will want to work on it, too. I'll see if I can get it
taken care of one way or another during the PyCon sprints.
I'm going to mark this as easy, because really other than expanding test
coverage I think the
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
The documentation says of the 'pos' parameter This is not completely
equivalent to slicing the string and of the 'endpos' parameter it will be as
if the string is endpos characters long.
In other words, it starts searching at 'pos'
Devin Jeanpierre jeanpierr...@gmail.com added the comment:
If it's intended behaviour, then I'd request that the documentation
specifically mention lookbehind assertions the way it does with ^.
Saying it's slightly different doesn't make clear the ways in which it is
different, and that's
Steven Bethard steven.beth...@gmail.com added the comment:
See nargs=argparse.REMAINDER for an approach that doesn't require that first
'--':
http://docs.python.org/library/argparse.html#nargs
But yeah, removing more than one '--' is probably a bug. Fixing it would be a
little backwards
New submission from Роман Донченко dxdra...@yandex.ru:
The language reference says this in section 3.2:
~
Built-in functions
A built-in function object is a wrapper around a C function. Examples of
built-in functions are len() and math.sin() ... Special read-only attributes:
... __self__
R. David Murray rdmur...@bitdance.com added the comment:
It looks like this changed between 2.x and 3.x but the docs were not updated.
None makes more sense than the module as __self__, though, so perhaps it is
actually a bug. Then, again, since Python functions don't have a __self__, the
Benjamin Peterson benja...@python.org added the comment:
Apply!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13193
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3925081a7ca0 by Nadeem Vawda in branch '2.7':
Issue #13193: Fix distutils.filelist tests to always use / as path separator.
http://hg.python.org/cpython/rev/3925081a7ca0
--
Francisco Martín Brugué franci...@email.de added the comment:
Hi,
here's a patch with the changes proposed by Terry
Cheers,
francis
--
keywords: +patch
nosy: +francismb
Added file: http://bugs.python.org/file24512/issue13579_80a50b7ad88f.patch
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Tests are failing on all the Windows buildbots (e.g.
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/5966/steps/test/logs/stdio
).
The problem seems to be that the test in question is hardwired to expect / as
the
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
test_nntplib doesn't seem to exercise the second argument to body() (the file
object). Perhaps you want to add a test for that?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Not sure this is the right place to mention this, but I'm realizing handling
symlink loops will be interesting. It is interesting because, when e.g. you
are globbing, your glob's results may not include the symlinks' target path; so
there are
Antoine Pitrou pit...@free.fr added the comment:
Oh, forgot to mention, the term symlink loop itself is ambiguous.
There are direct symlink loops: an example is a some_dir/linky link pointing
to ../some_dir/linky. These will fail when resolving them.
There are indirect symlink loops:
Charles-François Natali neolo...@free.fr added the comment:
SimpleXMLRPCRequestHandler.do_POST() is simply looping on EOF.
The patch attached fixes this (the server doesn't seem to generate an error in
response to this partial request though).
--
keywords: +patch
nosy: +neologix
Added
Changes by Ralf Schmitt python-b...@systemexit.de:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6085
___
___
Python-bugs-list
Michael Foord mich...@voidspace.org.uk added the comment:
It's nicer for introspection if __self__ is None on builtin functions. But
fixing the docs is easier (and more backwards compatible).
--
nosy: +michael.foord
___
Python tracker
Stephen Day stevv...@gmail.com added the comment:
I apologize for reopening this bug, but I find your interpretation to be
inaccurate. While technically valid, the combination of the documentation, the
function name and the main use cases yields pathological invocations of
urlencode. My bug
Marc-Andre Lemburg m...@egenix.com added the comment:
Dave Malcolm wrote:
[new patch]
Please change how the env vars work as discussed earlier on this ticket.
Quick summary:
We only need one env var for the randomization logic: PYTHONHASHSEED.
If not set, 0 is used as seed. If set to a
Antoine Pitrou pit...@free.fr added the comment:
But I think I like this API better as it really is easier to explain.
I think you got it wrong. Looking at the implementation, it is no
different from the API proposed above, except that it also lets you
choose the start dir.
--
New submission from Jason R. Coombs jar...@jaraco.com:
When using a MANIFEST.in with only include *.txt, on Windows, distutils grabs
too many files. I set DISTUTILS_DEBUG=1 and ran ./setup.py sdist on the keyring
library and it included this output:
include *.txt
include_pattern:
Changes by Jason R. Coombs jar...@jaraco.com:
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14004
___
___
Python-bugs-list
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14004
___
___
Martin v. Löwis mar...@v.loewis.de added the comment:
The 2.7 patch needs to remove an existing python2 link before creating it.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Python-bugs-list mailing
STINNER Victor victor.stin...@gmail.com added the comment:
What is the status of this issue? Is there still a fan of this issue motivated
to write a PEP, a patch or something like that?
--
___
Python tracker rep...@bugs.python.org
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14001
___
Changes by Antoine Pitrou pit...@free.fr:
--
stage: patch review - committed/rejected
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13930
___
New submission from Scott Bowman scott.thomas.bow...@gmail.com:
Whenever I save or try to run a program from the text editor window, IDLE
crashes. Any suggestions? I'm running Windows 7, btw.
--
components: None
messages: 153305
nosy: Scott.Bowman
priority: normal
severity: normal
STINNER Victor victor.stin...@gmail.com added the comment:
Should it seg fault or just throw an exception?
Python cannot do anything useful on such fatal error. In Python 3.3, there is a
faulthandler module which can help to debug: it dumps the traceback of all
threads on such fatal error.
Gregory P. Smith g...@krypto.org added the comment:
oh did I miss a / vs os.sep somewhere? Looking. I'll fix this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13930
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c861c0a7f40c by Victor Stinner in branch '3.2':
Issue #13913: normalize utf-8 codec name in UTF-8 decoder
http://hg.python.org/cpython/rev/c861c0a7f40c
New changeset af1a9508f7fa by Victor Stinner in branch
STINNER Victor victor.stin...@gmail.com added the comment:
Use codecs.lookup(alias).name to the the normalize name of a codec. Examples:
import codecs
codecs.lookup('utf-8').name
'utf-8'
codecs.lookup('iso-8859-1').name
'iso8859-1'
codecs.lookup('latin1').name
'iso8859-1'
STINNER Victor victor.stin...@gmail.com added the comment:
asctime() docs say it's a 24 char string.
I'm not sure that all platform conform to this specification... which is not
future proof!
$ ./python
Python 3.3.0a0 (default:af1a9508f7fa, Feb 14 2012, 01:18:15)
[GCC 4.6.2 20111027 (Red
R. David Murray rdmur...@bitdance.com added the comment:
Or you could give the strftime specification string that produces the
equivalent output.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13927
Aaron Staley usaa...@gmail.com added the comment:
I see no invalid read/write. Only warnings are some conditional jump depends on
uninitialized value in pycrypto's libraries very early on though.
The link seems to be a different bug from mine. I did test in python 2.6.7 and
the crash still
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6fd16782ecb8 by Gregory P. Smith in branch '3.2':
Issue #13930: fix a / to use os.sep so that the test works on Windows.
http://hg.python.org/cpython/rev/6fd16782ecb8
New changeset f13fbd848d50 by Gregory P. Smith
STINNER Victor victor.stin...@gmail.com added the comment:
thousands_separator.patch:
- Remove the unused _PyUnicode_InsertThousandsGroupingLocale() function
- Add a test for non-ASCII thousands separator (depend on the locale)
- _PyUnicode_InsertThousandsGrouping() expects thousands
Changes by Gregory P. Smith g...@krypto.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13930
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Sorry I was unavailable. I read and approved of the patch but could not push,
so thanks for doing it :)
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Nick Coghlan ncogh...@gmail.com added the comment:
WalkDir attempts to handle symlink loops, but the test suite doesn't currently
ensure that that handling works as expected (I did some initial manual tests
and haven't updated it since, though).
It's... not trivial:
Nick Coghlan ncogh...@gmail.com added the comment:
It's still on my radar to come back and have a look at it. Feedback from the
web folks doing Python 3 migrations is that it would have helped them in quite
a few cases.
I want to get a couple of other open PEPs out of the way first, though
New submission from Eli Bendersky eli...@gmail.com:
The documentation of xml.etree.ElementTree has to be improved. The first, very
obvious step, would be to start the documentation page with a general overview
of the module + some simple examples. The current opening section makes no
sense
Eli Bendersky eli...@gmail.com added the comment:
I would add to the TODO - improve the documentation of the module. Opened issue
14006 for this.
--
resolution: fixed -
stage: committed/rejected - needs patch
status: closed - open
___
Python
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
___
Jeremy Fishman jeremy.r.fish...@gmail.com added the comment:
The behavior under question here is how the interpreter handles a broken pipe
during shutdown. The following code behaves as expected when either (a) the
process receives a SIGINT or (b) the output pipe is closed
import sys
try:
Eli Bendersky eli...@gmail.com added the comment:
I started going over the deprecated methods in ElementTree and ran into a more
serious problem. XmlParser.doctype() is listed as deprecated, and indeed
ElementTree (the Python version) issues a deprecation warning. However, the C
Aaron Staley usaa...@gmail.com added the comment:
BTW, I take back what I said about using PyThreadState_SetAsyncExc. Turns out
I had a bug where this function would never succeed (was always returning 0).
--
___
Python tracker
Philip Jenvey pjen...@underboss.org added the comment:
DeprecationWarnings aren't that annoying anymore now that they're silent by
default. It should at least have a PendingDeprecationWarning
--
nosy: +pjenvey
___
Python tracker
New submission from Eli Bendersky eli...@gmail.com:
Although documented, the C accelerator of xml.etree.ElementTree (used by
default since issue 13988) does not use or define the doctype() methods of the
XMLParser and TreeBuilder classes, although this method is documented.
As far as I can
Eli Bendersky eli...@gmail.com added the comment:
The doctype() problem is deeper, since neither does TreeBuilder implement it
(although for this class it's not even deprecated). Since this appears to be a
problem in 3.2 as well, I'm opening a new issue - 14007, to track this.
--
Changes by Eli Bendersky eli...@gmail.com:
--
Removed message: http://bugs.python.org/msg153325
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
___
New submission from Eli Bendersky eli...@gmail.com:
The C accelerator of xml.etree.ElementTree (used by default since issue 13988)
does not use or define or use the doctype() methods of the XMLParser and
TreeBuilder classes, although this method is documented.
As far as I can tell, this
Changes by Eli Bendersky eli...@gmail.com:
--
Removed message: http://bugs.python.org/msg153327
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
___
Eli Bendersky eli...@gmail.com added the comment:
Opened issue 14007 to track the doctype() problem
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
___
1 - 100 of 108 matches
Mail list logo