Juhana Jauhiainen juhana.jauhiai...@gmail.com added the comment:
The patch I've attached adds minimal support for the SIZE parameter of MAIL
command.
If the given message size exceeds the servers maximum size the server responds
with error 552.
--
nosy: +Juhana.Jauhiainen
Added file:
Changes by Éric Araujo mer...@netwok.org:
--
title: Lock.__enter__() method returns True instead of self -
Condition.__enter__ should return self
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14116
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +benjamin.peterson, georg.brandl, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14230
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1692335
___
___
Python-bugs-list mailing
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14228
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14250
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
title: [PATCH]HTMLParser decode issue - HTMLParser decode issue
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14251
___
poq p...@gmx.com added the comment:
Martin,
I agree that wcswidth is incorrect with respect to Unicode. However I don't
think that's relevant at all. Python should only try to match the behaviour of
the terminal.
Since terminals do slightly different things, trying to match them exactly - in
Nick Coghlan ncogh...@gmail.com added the comment:
Mark's patch looks good on a quick read through (although I still need to
double check where f_lasti gets incremented to be happy the new comment about
YIELD_FROM is accurate).
If someone gets to this soon, great, otherwise I'll deal with it
Stefan Krah stefan-use...@bytereef.org added the comment:
Benjamin Peterson rep...@bugs.python.org wrote:
Speaking of inline, the inline keyword will have to go because it's not C89.
Actually the trickier instances of inline in the .c files are already
suppressed when LEGACY_COMPILER (i.e.
Nicholas Cole nicholas.c...@gmail.com added the comment:
Poq: I agree. Guessing from the Unicode standard is going to lead to users
having to write some complicated code that people are going have to reinvent
over and over, and is not going to be accurate with respect to curses. I'd
favour
Johannes Kolb johannes.k...@gmx.net added the comment:
I want to mention a situation in which the current behaviour of os.makedirs is
confusing. At the first glance I would expect that if
os.makedirs(path)
succeeds, then a following call to
os.makedirs(path, exist_ok=True)
will succeed too.
Changes by Georg Brandl ge...@python.org:
--
title: Condition.__enter__ should return self - threading classes' __enter__
should return self
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14116
Michele Orrù maker...@gmail.com added the comment:
May somebody check for this? Otherwise the bug could be considered invalid.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1531415
___
Michele Orrù maker...@gmail.com added the comment:
I'm currently working on this issue.
A little cleanup would be appreciated, or it would be better to split that on
another issue?
For what I saw, tests are in the form FooTest instead of TestFoo, smtpd imports
modules used only in __main__,
R. David Murray rdmur...@bitdance.com added the comment:
Yes, cleanups would be better as a separate issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I tested the code from msg107484 on Fedora 16 with no change in locale.
Probably OK to close?
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone invalid@example.invalid added the comment:
May somebody check for this? Otherwise the bug could be considered invalid.
This is not the proper workflow for bug tracking. No one is working on this
right now is not the same as This bug is invalid. No one worked on this
a nawil...@excite.com added the comment:
Other quirks apparently caused by this bug:
msvcrt.getch() does not block and wait for a keypress in IDLE. Returns
immediately with b'\xff'.
Some of the suggested usage in the manual for sys.stdin does not work under
IDLE. E.g. sys.stdin.detach()
R. David Murray rdmur...@bitdance.com added the comment:
Juhana: thanks for the patch. I see an issue with it, though. What if the
email address is something like john.si...@example.com?
My thought is that there are two ways to handle this. Either we do a full RFC
address parse in
New submission from Dave Abrahams d...@boostpro.com:
Try the following script on posix and Windows. On Posix:
launched
. . . exiting
killed
on Windows:
launched
. . . exiting
Traceback (most recent call last):
File sp.py, line 16, in module
p.terminate()
File
Dave Abrahams d...@boostpro.com added the comment:
By the way, the suggested fix would be for terminate() to return a value
indicating if the process were already terminated, and not throw an exception
in that case. For a user to handle the issue correctly on Windows is rather a
nasty
New submission from Robert Sjöblom robert.sjob...@gmail.com:
I'm on a cp932-encoded system. When I read in a cp1252-file, it's read into
memory properly, but when printing it, Python tries to encode the output to
cp932. Here's the relevant code:
address = C:/Path/to/file/file.ext
with
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch for 3.3. I'm not sure it should be backported, as it's a slight
change in behaviour.
--
keywords: +patch
nosy: +brian.curtin, gregory.p.smith, pitrou, tim.golden
stage: - patch review
versions: +Python 3.3 -Python 2.6
Antoine Pitrou pit...@free.fr added the comment:
Probably a duplicate of issue1602.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14253
___
Gregory P. Smith g...@krypto.org added the comment:
Raising an exception on terminate is a bug. I'd backport this to 2.7 and 3.2.
I don't actually have Windows to test on so i'll leave committing that to
people who do.
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5432be4d4e1a by Ross Lagerwall in branch 'default':
Issue 7997: Explain how to regenerate configure using Autoconf.
http://hg.python.org/devguide/rev/5432be4d4e1a
--
nosy: +python-dev
New submission from Roger Serwy roger.se...@gmail.com:
In PyShell.py, the readline method enters a nested event loop for handling
input.
If the shell is restarted, the nested event loop remains until after the first
press of enter causes the enter_callback to quit the nested event loop. The
Changes by Roger Serwy roger.se...@gmail.com:
--
nosy: +ned.deily, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14254
___
___
Martin v. Löwis mar...@v.loewis.de added the comment:
+1 for backporting to the bug fix releases.
--
nosy: +loewis
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14252
rednaks salexandre...@gmail.com added the comment:
So we cant make decode by default ? !
Concerning python 3, it seems that it's not reading tags and attributes, i
didn't get any error, but i don't have any result
the example i used is there :
Martin v. Löwis mar...@v.loewis.de added the comment:
Robert: this is not a bug. Python's IO stack has the fundamental assumption
that streams are byte-oriented. So the shouldn't be the output in Unicode is
not a possible solution, since Unicode cannot work on a byte stream.
As a feature
Tim Lesher tles...@gmail.com added the comment:
Updated patch: use Py_FileSystemDefaultEncoding (if possible) when sys.stdin
is (or becomes) invalid; if none, then fails without entering infinite loop.
Docs for PyRun_InteractiveLoopFlags have been updated.
--
Added file:
Ezio Melotti ezio.melo...@gmail.com added the comment:
I don't think the patch can be applied as is -- in order to work s should be an
ascii-only str. I will look at this again as soon as I have some time and see
if something can be done.
FTR the Python 3 doc for html.parser can be found
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 41b1fe5a75a6 by Antoine Pitrou in branch '3.2':
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under
Windows when the child process has already exited.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b6ec3b717f7e by Antoine Pitrou in branch '2.7':
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under
Windows when the child process has already exited.
Antoine Pitrou pit...@free.fr added the comment:
Ok, I've then fixed the bug in all 3 branches.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
On Unix, doing os.stat
on the directory, then looking on st_nlink, will tell you whether
the directory is empty (st_nlink is 2 on an empty directory).
Directory with st_nlink==2 can contains any number of non-directory files. And
one
Colin Marc colinm...@gmail.com added the comment:
Updated patch.
--
Added file: http://bugs.python.org/file24786/npn_patch_py3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14204
___
Florian Mladitsch florian.mladit...@googlemail.com added the comment:
I found the bug for the end_document event and fixed it. But I couldn't figure
out why the PullDOM class did not have comment-events.
--
keywords: +patch
nosy: +flomm
Added file:
Roger Serwy roger.se...@gmail.com added the comment:
Attached is a patch to have the rpc marshal exceptions. When used with Martin's
patch, IDLE returns
'\U00010330'
Traceback (most recent call last):
File pyshell#3, line 1, in module
'\U00010330'
ValueError: character U+10330 is above
rednaks salexandre...@gmail.com added the comment:
thank you for giving me a little of your time !
Yes that's what i've tested, i used the html.parser module and and I have no
result!
--
___
Python tracker rep...@bugs.python.org
Chris Rebert pyb...@rebertia.com added the comment:
Well, I thought the Glossary was a somewhat useful document in and of itself
(What's conceptual term 'X' mean? Hmm... I'll check the Glossary!) and so
should include all terms which aren't module-specific.
But I won't push hard if no one
Roger Serwy roger.se...@gmail.com added the comment:
Attached is a preliminary patch to solve this issue. It relies on
rpc_marshal_exception.patch from issue14200.
Does anyone know a good way to make the exception render as: must be str, not
int instead of must be str, not class 'int' ?
Roger Serwy roger.se...@gmail.com added the comment:
I agree with Terry. The current behavior of raising ValueError will lead to
problems in application code in the future if Tkinter gets fixed such that it
can render Unicode properly beyond 0x.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW searching for annotations in the Sphinx quick search doesn't yield
anything interesting, and the first result that actually contains a paragraph
about annotations is the 11th (compound statements).
--
Chris Rebert pyb...@rebertia.com added the comment:
Also, it would be a nice place to point out for those coming from Java or
similar that the Java-esque concept of annotations has little to do with
Python's function annotations, and that in Python their uses are typically
served using
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Propose some brief text for an entry so we have something to evaluate for its
utility.
--
assignee: docs@python - rhettinger
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6c1964dee98b by Ezio Melotti in branch '2.7':
#14161: fix the __repr__ of file objects to escape the file name.
http://hg.python.org/cpython/rev/6c1964dee98b
--
nosy: +python-dev
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
FWIW, I think we would be better off if this patch were merged in soon.
Waiting until later in the release cycle risks introducing bugs that we won't
have time to notice or fix. An early merge lets more people exercise the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 86c749151660 by Ezio Melotti in branch '2.7':
#14161: fix compile error under Windows.
http://hg.python.org/cpython/rev/86c749151660
--
___
Python tracker
Roger Serwy roger.se...@gmail.com added the comment:
I made a mistake in msg155410. The results in the message are WITHOUT
unicodeerror.diff applied. When it is applied, the IDLE shell gives:
'\U00010330'
Traceback (most recent call last):
File pyshell#1, line 1, in module
'\U00010330'
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6b1fad34d893 by Ezio Melotti in branch '2.7':
#14161: fix test failures on Windows.
http://hg.python.org/cpython/rev/6b1fad34d893
--
___
Python tracker
Chris Rebert pyb...@rebertia.com added the comment:
Strawman entry wording:
An annotation is an arbitrary metadata value associated with a function
parameter or return value. The syntax for function annotations is explained in
[Function
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2377
___
___
Python-bugs-list
Changes by Benjamin Peterson benja...@python.org:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14250
___
___
Python-bugs-list
New submission from 勇刚 罗 luoyongg...@gmail.com:
print tempfile.gettempdir()
c:\users\dreamkxd\appdata\local\temp
And the real path is
C:\Users\dreamkxd\AppData\Local\Temp.
--
messages: 155424
nosy: 勇刚.罗
priority: normal
severity: normal
status: open
title: tempfile.gettempdir() didn't
Changes by 勇刚 罗 luoyongg...@gmail.com:
--
components: +IO, Library (Lib), Windows
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python
3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14255
New submission from Eric V. Smith e...@trueblade.com:
Presumably this needs to use requires_zlib.
$ time ./python -m test test_logging
[1/1] test_logging
test test_logging crashed -- Traceback (most recent call last):
File /home/eric/local/python/cpython/Lib/test/regrtest.py, line 1229, in
Martin v. Löwis mar...@v.loewis.de added the comment:
Martin: I disagree with the approach of raising a UnicodeEncodeError
if IDLE can't render the output of a user's program, especially when
the program would otherwise run without error if ran from outside of
IDLE.
This is really an
New submission from Chris Rebert pyb...@rebertia.com:
The entry for dictionary reads in part:
[...] The keys can be any object with __hash__() function and __eq__()
methods. [...]
__hash__() is a method, not a function (well, it's a hash function in the
computer science sense, but it's
Roger Serwy roger.se...@gmail.com added the comment:
Having had some time to work on it, the bug is in the unicodeerror.diff patch.
If the string is empty then max(s) will raise a ValueError. This is easy to
trigger by generating an exception at the python prompt, like 1/0.
Attached is a
Roger Serwy roger.se...@gmail.com added the comment:
Martin, I got your message after I submitted the last one.
This issue does involve IDLE crashing, but it's not crashing due to non-BMP
characters. That is a side-effect of a bigger issue with pythonw.exe. See
Issue13582 for more
Pedro Kroger kro...@pedrokroger.net added the comment:
Attached patch to fix this issue.
--
keywords: +patch
nosy: +kroger
Added file: http://bugs.python.org/file24791/issue14256.diff
___
Python tracker rep...@bugs.python.org
Roger Serwy roger.se...@gmail.com added the comment:
Attached is a patch against 3.3 to return the count.
--
keywords: +patch
Added file: http://bugs.python.org/file24792/issue7163.patch
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
gcc 4.5 doesn't warn for me. Is this a compiler bug in 4.4 or 4.5? That is, are
these actual aliasing violations?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Nick, care to look at the latest patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14133
___
New submission from Senthil Kumaran sent...@uthcode.com:
Opening the this bug following this discussion -
http://mail.python.org/pipermail/docs/2012-March/007829.html
library/re.html
\S
When the LOCALE and UNICODE flags are not specified, matches any non-whitespace
character; this is
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14258
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2d2a972b7523 by Senthil Kumaran in branch '2.7':
Fix closes issue14258 - added clarification to \W and \S flags
http://hg.python.org/cpython/rev/2d2a972b7523
--
nosy: +python-dev
resolution: - fixed
stage:
Benjamin Peterson benja...@python.org added the comment:
LGTM
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13496
___
Senthil Kumaran sent...@uthcode.com added the comment:
This clarification is specific to Python 2.7.
For Python3, the use of LOCALE flag is explicitly discouraged and
confusing references to it's meaning is not present in the docs.
--
___
Python
Nick Coghlan ncogh...@gmail.com added the comment:
Reviewed - actual impl looks good to me, couple of comments regarding the docs
and tests.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14133
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f0a5f39615c8 by Senthil Kumaran in branch '2.7':
closes issue14257 minor error in glossary wording regarding __hash__
http://hg.python.org/cpython/rev/f0a5f39615c8
New changeset 3f15c069454d by Senthil Kumaran in
Senthil Kumaran sent...@uthcode.com added the comment:
Just a minor comment on the patch - It should be %r instead of %s.
-raise TypeError('must be str, not %s' % type(s))
+raise TypeError('must be str, not %r' % type(s))
If there is any test for this, it could be
New submission from py.user port...@yandex.ru:
import re
p = re.compile(r'abc')
res = p.search('abcdefabcdef', pos=1, endpos=10)
res = p.match('abcdefabcdef', pos=1, endpos=10)
res = p.findall('abcdefabcdef', pos=1, endpos=10)
res = p.finditer('abcdefabcdef', pos=1, endpos=10)
Traceback
Changes by Eric V. Smith e...@trueblade.com:
--
title: regex.finditer() doesn't accept keyword arguments - re.finditer()
doesn't accept keyword arguments
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14259
New submission from py.user port...@yandex.ru:
import re
p = re.compile(r'abc(?Pndef)')
p.sub(r'\gn', 'abcdef123abcdef')
'def123def'
p.groupindex['n'] = 2
p.sub(r'\gn', 'abcdef123abcdef')
'def123def'
p.groupindex
{'n': 2}
--
components: Regular Expressions
messages: 155442
nosy:
Changes by Eric V. Smith e...@trueblade.com:
--
title: regex.groupindex available for modification and continues to work,
having incorrect data inside it - re.groupindex available for modification and
continues to work, having incorrect data inside it
Changes by Eric V. Smith e...@trueblade.com:
--
assignee: - eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14256
___
___
Changes by Eric V. Smith e...@trueblade.com:
--
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14256
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4b54a686541f by Eric V. Smith in branch 'default':
Make test_logging no longer fail if zlib not present. Closes #14256. Patch by
Pedro Kroger.
http://hg.python.org/cpython/rev/4b54a686541f
--
nosy:
82 matches
Mail list logo