Ezio Melotti ezio.melo...@gmail.com added the comment:
In this case I don't see much difference between deleting a variable or
assigning it to something else.
This code works on both Python 2 and 3:
e = 'test'
try: pass# no errors raised here
... except Exception as e:
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8128
___
___
Python-bugs-list mailing
Florent Xicluna florent.xicl...@gmail.com added the comment:
See also #4617, with some patch.
--
nosy: +flox
superseder: - SyntaxError when free variable name is also an exception target
___
Python tracker rep...@bugs.python.org
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file16341/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4617
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Interpreter Core
nosy: +flox
stage: - test needed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4617
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8128
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
priority: - normal
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8129
___
New submission from reynaldo renbe...@gmail.com:
www.google.com/chromebeta/what a browser
-- Forwarded message --
From: Mail Delivery Subsystem mailer-dae...@googlemail.com
Date: Mar 13, 2010 1:31 AM
Subject: Delivery Status Notification (Failure)
To: renbe...@gmail.com
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8131
___
Mark Dickinson dicki...@gmail.com added the comment:
Applied in r78902.
--
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7845
Mark Dickinson dicki...@gmail.com added the comment:
Thanks, Benjamin! test_structmembers.py looks perfect.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8014
___
Mark Dickinson dicki...@gmail.com added the comment:
Tests for this issue, currently failing on T_INT/T_UINT (internal error),
T_LONG/T_ULONG (fails to raise TypeError), T_PYSSIZET (internal error). The
older patch only fixes the T_PYSSIZET failures; I'm working on a fix for the
others.
Mark Dickinson dicki...@gmail.com added the comment:
Internal errors for T_UINT and T_PYSSIZET fixed in r78918. The fix needs to be
backported to the release31-maint branch, but I don't think it's urgent enough
to try getting it in between 3.1.2 rc1 and 3.1.2 final.
There's still a problem
Mark Dickinson dicki...@gmail.com added the comment:
Fixed reason for failing tests (there was a bad error check in structmembers.c
that compared a return value with (unsigned int)-1 instead of (unsigned
long)-1), and re-enabled those tests, in r78920.
Leaving open for the backport to 3.1.
New submission from grumetz jpgrum...@free.fr:
Examples:
s = '=?UTF-8?B?QWNjdXPDqSBkZSByw6ljZXB0aW9uIChhZmZpY2jDqSkgLSA=?=Arobase !'
decode_header(s) ---
[('=?UTF-8?B?QWNjdXPDqSBkZSByw6ljZXB0aW9uIChhZmZpY2jDqSkgLSA=?=Arobase !',
None)]
which seems bad...
but
ss
Chris Lieb chris.lieb.hotmail+pyt...@gmail.com added the comment:
Just for reference, I tried applying all of the patches in the SuSE 11.2 source
RPM python-2.6.4.92-3.1.src.rpm from
http://software.opensuse.org/search?q=python and rebuilding and retesting, but
got the same results as using
Michael Newman michael.b.new...@gmail.com added the comment:
No problem. Please note its actually fixed in r78895 (trunk), r78896 (py3k) and
r78897 (release31-maint). Your previous message had the svn revision numbers
off by 1000.
--
___
Python
Jesús Cea Avión j...@jcea.es added the comment:
The patch seems to be trivial. I need review, specially compiling under
non-Solaris OS.
I plan to commit this patch to 2.6, 2.7, 3.1 and 3.2.
Must I update NEWS?
--
assignee: - jcea
keywords: +needs review, patch
nosy: +jcea
priority:
Changes by Jesús Cea Avión j...@jcea.es:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
___
___
Python-bugs-list
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
distutils from trunk is restored to state before 9 months ago
--
Added file: http://bugs.python.org/file16534/python-trunk-20100313-MINGW.patch
___
Python tracker rep...@bugs.python.org
http
Antoine Pitrou pit...@free.fr added the comment:
Compiles fine under Debian stable.
You shouldn't commit to 2.6 until 2.6.5 is released, though. If you want to do
so, contact Barry first.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
You do need a NEWS entry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Roumen, I am moving all the new work in distutils into distutils2, and
distutils is going to be frozen.
Do you want to work on this feature in distutils2 ? (which is distutils code
base before I started to revert things)
Let me know so I
Georg Brandl ge...@python.org added the comment:
Raising to release blocker status to get the changes that fix this and that
are already in 2.6 approved by Barry.
The revisions are: r78907, r78914, r78923.
I'm attaching a patch with the collective diff.
In short, these changes mirror those
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch in its current form is incomplete: xxmodule.c won't end up on the
target system, since msi.py doesn't package it. So that would need to be
changed as well.
With the current release26-maint branch, test_distutils now passes, both
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Ok then, I am applying Barry's suggestion right now in release26-maint then
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8107
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r78935.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8107
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
ok thanks for the tests Neal.
Martin, do I have to do soemthing in msi.py to see this file included ? (I am
looking at msi.py right now and it looks like it has the proper glob, but I
want to be 100% sure)
Ronald, what about the Mac OS
Martin v. Löwis mar...@v.loewis.de added the comment:
Tarek, in general, if you want a new file in Lib included, create a bug report
and assign it to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8102
New submission from Mark Dickinson dicki...@gmail.com:
test_issue5604 from test_imp is currently failing on OS X !0.6 (py3k branch),
with the following output:
==
ERROR: test_issue5604 (__main__.ImportTests)
Mark Dickinson dicki...@gmail.com added the comment:
Also affects 3.1.
--
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8133
___
Jesús Cea Avión j...@jcea.es added the comment:
Please, do the final review, ready for commiting.
I have asked about committing to 2.6 in the python-committers mailing list.
--
stage: patch review - commit review
type: behavior - feature request
___
Changes by Jesús Cea Avión j...@jcea.es:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
___
___
Python-bugs-list mailing list
Unsubscribe:
Jesús Cea Avión j...@jcea.es added the comment:
Please, do the final review, ready for commiting.
I have asked about committing to 2.6 in the python-committers mailing list.
--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5
Added file:
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file16533/mknod-solaris.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
___
Changes by Jesús Cea Avión j...@jcea.es:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
___
___
Dmitry Jemerov intelliy...@gmail.com added the comment:
from urllib.request import *
opener = FancyURLopener()
opener.retrieve(http://username:passw...@google.com/index.html;, index.html)
--
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Ok I see. Good to know thx
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8102
___
___
Antoine Pitrou pit...@free.fr added the comment:
Committed in r78939 (trunk) and r78940 (py3k).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7993
New submission from Greg Jednaszewski jednaszew...@gmail.com:
Found on 2.6.2 and 2.6.4:
I expect that printing an uninitialized variable from a defaultdict should
work. In fact it does with old-style string formatting. However, when you try
to do it with new-style string formatting, it
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.smith, ezio.melotti
priority: - normal
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8134
___
Barry A. Warsaw ba...@python.org added the comment:
So, issue closed right? Or do you want to keep it bumped down and open for
2.6.6?
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8107
Barry A. Warsaw ba...@python.org added the comment:
This will not block 2.6.5 but is a candidate for 2.6.6.
--
nosy: +barry
priority: release blocker - deferred blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
Barry A. Warsaw ba...@python.org added the comment:
Thanks Georg!
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8111
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
No I guess its fine to leave it closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8107
___
Eric Smith e...@trueblade.com added the comment:
str.format() does not take a mapping object. You want:
{0[foo]}.format(d)
'0'
--
resolution: - invalid
stage: test needed - committed/rejected
status: open - closed
___
Python tracker
Greg Jednaszewski jednaszew...@gmail.com added the comment:
Oops, thanks. I should have known that. However, should this work? This is
what initially led me to file this ticket. My initial example was a bad one.
from collections import defaultdict
d = defaultdict(int)
d['bar'] += 1
Benjamin Peterson benja...@python.org added the comment:
No, because that's not the behavior of keyword arguments.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8134
Jesús Cea Avión j...@jcea.es added the comment:
I confirm the leaks in the C code. How do you find them?
I see your point with the weakrefs in the unittest, but I don't see why they
are so important. We are creating a GC cycle, yes, but the GC will collect it
eventually, beside the reference
Florent Xicluna florent.xicl...@gmail.com added the comment:
The tool is called regrtest:
~ $ ./python -m test.regrtest -R 2:3: -uall test_bsddb3
Some devs and some buildbots hunt refleaks in the test suite.
Even if the test-related refleaks are not important, they may hide real
refleaks in
Ezio Melotti ezio.melo...@gmail.com added the comment:
You need a debug build of Python to use -R:
./configure --with-pydebug make
See also: http://www.python.org/dev/faq/#how-do-i-create-a-debug-build-of-python
--
___
Python tracker
Florent Xicluna florent.xicl...@gmail.com added the comment:
I confirm the leaks in the C code. How do you find them?
I've done it manually, disabling some tests, and running regrtest -R
repeatedly until I isolate the function which is responsible.
Then I studied the source code, looking for
Florent Xicluna florent.xicl...@gmail.com added the comment:
Merged in 3.x with r78942 and r78945.
See #8047 for a discussion about the `encoding` argument of the serializer
(used for .write() method and tostring() tostringlist() functions).
Currently the output is not encoded by default in
Eric Smith e...@trueblade.com added the comment:
See also issue 6081.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8134
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Per the RFC, this is the correct behavior. An encoded word *must* begin and
end either at the field boundary or with whitespace. So ...?=Arobase, with no
whitespace between the = and Arobase, makes your first example into an invalid
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6081
___
___
Python-bugs-list
Gregory P. Smith g...@krypto.org added the comment:
A restore_signals parameter was added in py3k r78946.
I'm leaving this issue open as it needs backporting to 2.7.
--
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
I have spend a few hours trying to understand the issue deeply, and I have an
easier to understand version. It is bigger, but explain the issue good enough
to use in a production program.
Please, Florent, review. It pass the leak test.
I rather
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here is a proof of concept that solves the problem for unicode strings and
startswith/endswith.
If during the conversion to Unicode a TypeError is raised (e.g. TypeError:
Can't convert 'list' object to str implicitly), the error message is
59 matches
Mail list logo