Martin v. Löwis mar...@v.loewis.de added the comment:
Actually, it looks like PEP 3131 and the Language Reference [1] still
disagree. The latter says:
identifier ::= id_start id_continue*
which should probably be
identifier ::= xid_start xid_continue*
instead.
Interesting.
Georg Brandl ge...@python.org added the comment:
Hearty +1. I have the hope of putting this in 3.3, and for that I'd like to
see how the code matures, which is much easier when in version control.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Arguably, it is not a bug if codec's decode method rejects unicode
strings with a TypeError.
Agreed, but it would be better if it did so deliberately and explicitly, rather
than as a result of a bogus forward-port ;)
--
Georg Brandl ge...@python.org added the comment:
I think the proposal is that fixing this minefield can wait until
Python 3.3 (or even 3.4, or later).
That is what I was thinking. (Alex: You might not know that Martin
was the main proponent of non-ASCII identifiers, so this assessment
should
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Normally you should never call __del__, OTOH the issue is the same with a class
like::
class A:
def close(self):
self.close()
def __del__(self):
self.close()
The problem is not with _infinite_ recursion,
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Precision: with new-styles classes (or py3k) the limit is
PyTrash_UNWIND_LEVEL-2. This does not change anything to the problem.
--
___
Python tracker rep...@bugs.python.org
New submission from rheise ralfhe...@freenet.de:
Python's readline library generates out of the choices provided by a custom
completion function the wrong terminal input. Say, the completion function
suggests 'foobar' and 'foobaz' as matching completion strings, readline should
produce the
Patrick W. p...@borntolaugh.de added the comment:
Nick Coghlan (ncoghlan) at 2010-12-29 08:46 (UTC):
No, the context must always be included unless explicitly suppressed.
Then there should be some actually working way to suppress it, right?
I think the standard behaviour that automatically
Antoine Pitrou pit...@free.fr added the comment:
There are open issues for specific modules: #8808 for imaplib, #8809 for
smtplib.
In 3.2, poplib already has support for SSL contexts, as do ftplib, http.client
and nntplib. If I'm missing a module please tell me.
--
resolution: -
Changes by Mark Roddy markro...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file20193/py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10786
___
Changes by Mark Roddy markro...@gmail.com:
Added file: http://bugs.python.org/file20194/py32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10786
___
Mark Roddy markro...@gmail.com added the comment:
All patches change the default value of stream to None in the constructor, and
set it to the current to sys.stderr if the argument is None. Unit tests
included to check this behavior.
Also, the patch against Python 3.1 adds the
Gregory P. Smith g...@krypto.org added the comment:
FWIW, the example pasted in the bug was the smallest one he could come up
with. in reality we were never calling .__del__() explicitly. We ran into
the problem due to a __del__ method triggering a __getattr__ call and the
__getattr__ ending up
Dave Malcolm dmalc...@redhat.com added the comment:
For reference, this seems to affect SWIG, specifically, I'm seeing build
failures using:
/usr/share/swig/2.0.1/python/pycontainer.swg
from swig-2.0.1
See downstream build failure report for znc, which uses swig to generate python
3
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I wonder if the issues raised here can be neatly addressed by applying NFKC
normalization before string to number conversion. This will convert full-width
variants to ASCII and also eliminate digit/decimal differences.
Éric Araujo mer...@netwok.org added the comment:
Alright, let me change my opinion: Let’s replace the Vim files by a README.vim
file explaining where to get good helper files (like Misc/README.emacs added in
r85927). Then I will learn how to manage my Vim configuration to keep it
updated
Éric Araujo mer...@netwok.org added the comment:
I’ve recently remarked that -i maps to both sys.flags.inspect and
sys.flags.interactive. Is this behavior useful?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
using `None` as the cause of an exception would be the
best solution in my opinion:
+1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6210
Antoine Pitrou pit...@free.fr added the comment:
using `None` as the cause of an exception would be the
best solution in my opinion:
+1
We are talking about context, not cause.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
The depth parameter idea sounds like YAGNI, so let’s stay with a recurse
boolean :)
--
assignee: - eric.araujo
nosy: -BreamoreBoy, misc_from_metz
stage: unit test needed - patch review
versions: +Python 3.3 -Python 3.2
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
The project is now at:
https://code.google.com/p/mrab-regex/
Unfortunately it doesn't have the revision history. I don't know why not.
--
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
Committed to py3k in revision 87582.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10786
___
Robert Xiao nneon...@gmail.com added the comment:
Do you have it in any kind of repository at all? Even a private SVN repo or
something like that?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2636
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: d...@python - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10787
___
New submission from Miso.Kopera miso.kop...@gmail.com:
bug in file.readlines() function. It doesn't detect end of the line when line
is ending only with 0x0D byte. In python3.1 it works fine (as I expect). File
in attachment should has 6 lines not only 1 as python2.7 returns.
--
New submission from Martin v. Löwis mar...@v.loewis.de:
This is similar to #10348, but has a different scope; the attached patch
disables the ProcessPoolExecutor if the system has too few POSIX semaphores.
To keep support for the ThreadPoolExecutor, I had the test cases stop using
Eric Smith e...@trueblade.com added the comment:
Either use mode 'U' or the io module if you want to match 3.x.
$ python
Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)
[GCC 4.3.4 20090804 (release) 1] on cygwin
Type help, copyright, credits or license for more information.
Georg Brandl ge...@python.org added the comment:
Maybe not, but note that there is both a Py_InteractiveFlag and Py_InspectFlag,
and they enable different things (they are both set by -i, while setting the
PYTHONINSPECT envvar only activates Py_InspectFlag).
--
nosy: +georg.brandl
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
msg124904: It would, of course, be slower on first use, but I'm surprised that
it's (that much) slower afterwards.
msg124905, msg124906: I have those matching now.
msg124931: The sources are in TortoiseBzr, but I couldn't upload,
Georg Brandl ge...@python.org added the comment:
Removed Demo and some of the Tools in a series of commits starting with r87579.
--
dependencies: -Allow larger programs to be frozen under Win32,
Demo/classes/Dates.py does not work in 3.x, Demo/embed/demo.c use of
PySys_SetArgv() is
Georg Brandl ge...@python.org added the comment:
Demo/embed has now been removed.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3194
Georg Brandl ge...@python.org added the comment:
Demo/comparisons has now been removed.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10495
Georg Brandl ge...@python.org added the comment:
Demo/comparisons has now been removed.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10494
Georg Brandl ge...@python.org added the comment:
Closing; Demo/ is no more.
--
nosy: +georg.brandl
resolution: accepted - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9153
Changes by Georg Brandl ge...@python.org:
--
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
___
Patrick W. p...@borntolaugh.de added the comment:
Antoine Pitrou (pitrou) at 2010-12-30 18:32 (UTC)
We are talking about context, not cause.
Yes, but - as said before - obviously the cause takes a higher precedence than
context (otherwise it wouldn't show a context message when you
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: OS X IDLE 2.7rc1 from 64-bit installer hangs when you paste something.
- OS X IDLE 2.7 from 64-bit installer hangs when you paste something.
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
According to Ronald (msg92914) and Ned (msg92923) this particular issue is 2.6
only (and fixed in 2.7 because of patches not backported).
2.6 is in security fix only mode.
So unless someone claims that this is a security issue (and Barry
Éric Araujo mer...@netwok.org added the comment:
Okay, so having both flags makes sense.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1816
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9771
___
Éric Araujo mer...@netwok.org added the comment:
It seems there is no easy way to test tools apart from human inspection.
--
title: Run tests and demos as part of the test suite - Run tools and demos as
part of the test suite
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
2.6 is now security fix only.
--
nosy: +terry.reedy
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4685
Terry J. Reedy tjre...@udel.edu added the comment:
3.0 is closed to fixed and 2.6 is security fix only.
This is otherwise a duplicate of similar issues.
--
nosy: +terry.reedy
resolution: - out of date
status: open - closed
___
Python tracker
Changes by s7v7nislands s7v7nisla...@gmail.com:
--
nosy: +s7v7nislands
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5315
___
___
Python-bugs-list
New submission from Terry J. Reedy tjre...@udel.edu:
webbrowser.open (and two aliases):
1. document return value, which seems to be: True if a browser tab or window is
opened, regardless of whether or not the url is found; False otherwise.
2. document that (on Windows, at least) the default
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Even after much uninstalling and reinstalling (and reboots) I never got
TortoiseSVN to work properly, so I switched to TortoiseHg. The sources are now
at:
https://code.google.com/p/mrab-regex-hg/
--
Terry J. Reedy tjre...@udel.edu added the comment:
webbrowser appears to be designed to return True/False if it does/or not open a
browser window (regardless of site response). (I opened #10799 for a doc
addition.) I believe an exception would likely indicate a bug therein. So I
only wrapped
Terry J. Reedy tjre...@udel.edu added the comment:
If there is no verification that there is a bug in 2.7/3.1,2, then I think this
should be closed.
--
nosy: +terry.reedy
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
Xuanji Li xua...@gmail.com added the comment:
Ok, new patch that creates a zipfile (actually I used TESTFN2, all the other
tests seem to also use it)
--
Added file: http://bugs.python.org/file20200/Issue10694_2.diff
___
Python tracker
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Attached is a patch (the original one in patch form) against py3k with unit
test.
It seems to work well - tested on Linux FreeBSD.
--
keywords: +patch
nosy: +rosslagerwall
Added file:
Xuanji Li xua...@gmail.com added the comment:
fwiw I've always found this helpful for undefined behavior:
http://blog.regehr.org/archives/213 and, just as it says x+1 x will be
optimized to a nop, by the same logic v = array[0] v array[array_len]
will also be optimized to a nop.
New submission from bugs-pyt...@vendor.thewrittenword.com
bugs-pyt...@vendor.thewrittenword.com:
Python 3.1.3 fails to build on HP-UX/PA:
In file included from
/opt/build/Python-3.1.3/Modules/_ctypes/libffi/src/dlmalloc.c:1156:
52 matches
Mail list logo