New submission from Ramchandra Apte maniandra...@gmail.com:
delattr(__builtins__,getattr) causes shell to stop working
if you type some code in nothing gets printed back
if you press enter without typing any code you get a traceback
Exception in thread SockThread:
Traceback (most recent call
Ramchandra Apte maniandra...@gmail.com added the comment:
Running the delattr(__builtins__,getattr) in Python from the cmd line doesn't
create any problems though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15113
Ramchandra Apte maniandra...@gmail.com added the comment:
Another note: this bug is reproducable in the IDLE Shell with the python
subprocess feature enabled (the python process that runs your commands and the
python process that manages IDLE's windows are different).
--
Martin v. Löwis mar...@v.loewis.de added the comment:
Why do you think this is a bug? It is expected behavior.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15113
___
Georg Brandl ge...@python.org added the comment:
I agree that this is not helpful at all in the usual case, i.e. when you
*don't* want to debug importlib. The one frame in actual user code (distutils
in this case) in the middle is kind of hard to spot, but it is what you want to
know. Note
Changes by Georg Brandl ge...@python.org:
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15110
___
___
Python-bugs-list
Changes by Leon Zhang leozh...@cisco.com:
Removed file: http://bugs.python.org/file26015/pygen.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15076
___
Leon Zhang leozh...@cisco.com added the comment:
No people help me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15076
___
___
Larry Hastings la...@hastings.org added the comment:
Changes incorporated from Benjamin's feedback. Thanks, Benjamin!
Is this ready to go?
--
Added file: http://bugs.python.org/file26060/larry.test_skipitem_parity.3.diff
___
Python tracker
Georg Brandl ge...@python.org added the comment:
And will you fix it for beta1, or do you think it can be done later?
BTW, what is the syntax error here? I don't really see it...
--
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thanks.
The comments remain as the last bit of the original Condition Variable
emulation code that was put in place for the new GIL.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8e47e9af826e by Christian Heimes in branch 'default':
Issue #15096: Drop support for the ur string prefix
http://hg.python.org/cpython/rev/8e47e9af826e
--
nosy: +python-dev
Christian Heimes li...@cheimes.de added the comment:
Thanks for you review, Serhiy. I removed the last remains from test_tokenize
and even found another missing sentence in the docs.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
New submission from Ezio Melotti ezio.melo...@gmail.com:
The deprecation plan for the strict mode of HTMLParser might be as follow:
3.3 (before the beta)
strict=False default
strict arg deprecated in the doc
strict=True deprecated (raises a warning)
HTMLParseError deprecated
HTMLParser.error
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
___
Python-bugs-list
New submission from Sergei Stolyarov ser...@regolit.com:
Here is the test script:
--
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email import encoders
msg = MIMEMultipart()
msg['Subject'] = 'Bug test'
text_part = MIMEText('actual
Ramchandra Apte maniandra...@gmail.com added the comment:
IDLE should try to mimic Python as much as feasible.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15113
___
Ramchandra Apte maniandra...@gmail.com added the comment:
s/Python/Python in cmd
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15113
___
___
Ramchandra Apte maniandra...@gmail.com added the comment:
Well, Python is not able import the linecache module because the file is
missing.
Check if a file called linecache.py is there in /usr/lib/python2.6 or
/usr/local/lib/python2.6
By the way, the python bug tracker doesn't have much
Ramchandra Apte maniandra...@gmail.com added the comment:
Try reinstalling Python and see if it works.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15076
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15112
___
___
Python-bugs-list
Changes by Bohuslav Slavek Kabrda bkab...@redhat.com:
--
nosy: +bkabrda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14803
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Well, I don't think that imitating the command line needs to extend to
supporting doing unusual things to builtins, so unless someone like Terry
disagrees I think we should close this as won't fix.
--
nosy: +r.david.murray,
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I'm afraid it's not feasible. Python (or IDLE) is allowed to rely on Python
working correctly, and if commonly used functions are modified there will be
unexpected errors.
Likewise in 3.3, after a del __builtins__.hasattr, even
R. David Murray rdmur...@bitdance.com added the comment:
Your plan sounds fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
Antoine Pitrou pit...@free.fr added the comment:
In the test, assertNone is superfluous. Just call os.close().
However, you should probably use assertRaises to check that MyException is
raised.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
First of all, I presume you are running this in python2.7, since it doesn't
work in python3. In Python3 MIMEText takes a string as input, not a bytes
object, unless you pass it a _charset parameter. If you do that, the encoding
is
R. David Murray rdmur...@bitdance.com added the comment:
Barry: I think we should documentationally deprecate the encoders module. I
can't see any utility in a new program calling those functions explicitly,
especially if the program ever wants to port to Python3. Or maybe the Python2
docs
Changes by R. David Murray rdmur...@bitdance.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15113
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark has already said it all. -- Ken, I want to add that in the case
of _decimal it's pretty easy to test any suspected misbehavior against
decimal.py. This would have shown very quickly that there is no bug.
--
Barry A. Warsaw ba...@python.org added the comment:
On Jun 20, 2012, at 01:58 PM, R. David Murray wrote:
Barry: I think we should documentationally deprecate the encoders module. I
can't see any utility in a new program calling those functions explicitly,
especially if the program ever wants
Barry A. Warsaw ba...@python.org added the comment:
On Jun 20, 2012, at 01:51 PM, R. David Murray wrote:
Note that I don't *like* that the current API is that calling set_charset
does the body encode if and only if there are no existing headers, but that
is the way it has always worked, and
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 24369f6c4a22 by Jason R. Coombs in branch 'default':
Prefer assertEqual to simply assert per recommendation in issue6727.
http://hg.python.org/cpython/rev/24369f6c4a22
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 24369f6c4a22 by Jason R. Coombs in branch 'default':
Prefer assertEqual to simply assert per recommendation in issue6727.
http://hg.python.org/cpython/rev/24369f6c4a22
--
nosy: +python-dev
New submission from hhas h...@users.sourceforge.net:
1. The entire '4.6. Application Scripting' section should be deleted from the
following Python 2 3 pages as appscript (and PyOSA) is no longer developed or
supported and its use is not recommended for new projects
Jeremy Kloth jeremy.kloth+python-trac...@gmail.com added the comment:
Now that my buildbot is up and building (and failing at that) could these
changes be committed? It would get the buildbot to at least start testing
changes to Python proper.
--
R. David Murray rdmur...@bitdance.com added the comment:
I think so, yes. When we have the mimeregistry equivalent of the
headerregistry, the new mime Message classes can have a set_charset with a
different implementation. I'll want to talk about the API details on email-sig
before I do
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +brian.curtin, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15102
___
___
New submission from wchlm shen...@gmail.com:
sqlite3 top-level variables, such as version, sqlite_version, version_info, and
sqlite_version_info are all useful for Python users of the module -- even
essential at times. Yet there is no mention of them in the Py 2.7.3
documentation.
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Given the resolution of #15096, ISTM this will be a wontfix, though I'll stop
short of marking it as such myself.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14973
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Given the resolution of #15096, ISTM this will be a wontfix, though I'll stop
short of marking it as such myself.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14973
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
Removed message: http://bugs.python.org/msg163288
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14973
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14393
___
___
Python-bugs-list mailing list
Pranav Ravichandran prp.1...@gmail.com added the comment:
First-time contributor here, so just to make sure, let me just clarify this -
the trunk builds fine, but one of the tests, test_urllib2_localnet, fails, I'm
not sure why. Also, the patch is kind of messed up because of changes to
Terry J. Reedy tjre...@udel.edu added the comment:
To put it another way, IDLE is written for standard Python. A standard Python
interpreter has a getattr builtin that works as documented in the library
manual. Deleting that or any other builtin makes the interpreter non-standard.
So would
Alexey ani...@wayround.org added the comment:
This is correct behavior. \x00 is not supported in XML:
not in raw form, and not in escaped form
last sentence in forth paragraph of section 1.3 in XML 1.1 specification says
following:
==
Due to potential problems with APIs,
#x0 is still
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8885
Alexey ani...@wayround.org added the comment:
What am I trying to say is: if those characters are forbidden, then maybe they
need to be escaped rather than ignored?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13648
Ned Deily n...@acm.org added the comment:
The entire Using Macintosh section of the documentation set is in need of an
update. I plan to have that done for 3.3 release and the next releases of
3.2.x and 2.7.x. The 2.6 and 3.1 releases are in security fix mode only, prior
to their
Martin v. Löwis mar...@v.loewis.de added the comment:
The characters are forbidden both in raw form *and* in escaped form. So even if
they get escaped, they *still* will lead to errors. So there is no point in
escaping them.
--
resolution: - wont fix
status: open - closed
New submission from Larry Hastings la...@hastings.org:
The trend in the standard library is to get rid of awkward Python-1-style tuple
return values and switch to struct sequences. (And perhaps, in the fullness of
time, to deprecate the iterability of such objects. But that's for the
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15118
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
That said, this might be a worthwhile as a bug fix.
I think this is a reasonable bug fix. Note that apart from OS-dependent date
range, some mktime implementations reportedly don't support tm_isdst values
other than -1.
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Attached patch implements astimezone() default in both Python and C.
--
stage: - patch review
Added file: http://bugs.python.org/file26062/issue9527.diff
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset dd4f7d5c51c7 by Nadeem Vawda in branch 'default':
Issue #14684: Add support for predefined compression dictionaries to the zlib
module.
http://hg.python.org/cpython/rev/dd4f7d5c51c7
--
nosy: +python-dev
Leon Zhang leozh...@cisco.com added the comment:
Thank ramchandra.apte for the help.
I checked linecache.py, and the file exists. Unfortunately I don't have root
perssion to re-install Python. I also checked another bug
http://bugs.python.org/issue10496;, I think that may be the truth.
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Committed. Once again, thanks for the patch!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
+1.
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15118
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13463
___
___
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12779
___
___
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5302
___
___
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14790
___
___
Éric Araujo mer...@netwok.org added the comment:
os._getdiskusage is an internal helper for shutil.getdiskusage on Windows,
which does return a named tuple. The private C function can continue returning
a tuple IMO.
+1 on changing uname for 3.3! No opinion on times; I don’t use it and don’t
John Regehr reg...@cs.utah.edu added the comment:
I the tests for today's cpython using IOC and got only the issues below.
The on-purpose divide by zero should be OK but the shift by -2 probably wants
to be fixed.
ARITHMETIC UNDEFINED at /home/regehr/tmp/cpython/Modules/_ctypes/cfield.c,
Serhiy Storchaka storch...@gmail.com added the comment:
Agree for changing times() and uname(). But functions that return a 2- or
3-element tuple, which immediately will be unpacked, no need to change. Keep it
simple.
--
nosy: +storchaka
___
Python
65 matches
Mail list logo