Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file14326/py3k_winsound.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6317
___
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Removed file: http://bugs.python.org/file14325/py3k_winsound.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6317
___
New submission from Eric e.rykwal...@gmail.com:
The line:
n.feed('a onclick=alert(\\test\\)test/a')
is not matched by the regular expressions for attributes.
--
components: Library (Lib)
messages: 89555
nosy: ericryk
severity: normal
status: open
title: HTMLParser Attributes Containing
Eric e.rykwal...@gmail.com added the comment:
More specifically, the attributes cannot contain escaped quotes of the
same kind that the attribute value is wrapped in.
--
title: HTMLParser Attributes Containing Javascript - HTMLParser Attributes
Containing Escaped Quotes
Martin v. Löwis mar...@v.loewis.de added the comment:
Even for 3k, I would defer this patch after the 3.1 release, as it is an
incompatible change (requiring a Unicode string where a byte string was
acceptable before).
--
nosy: +loewis
___
Python
Changes by Martin v. Löwis mar...@v.loewis.de:
--
priority: release blocker - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6317
___
___
Georg Brandl ge...@python.org added the comment:
That snippet is not valid HTML. The attribute string is not a JS
string, so quotes in it must be escaped with 'quot;', not '\'.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Here is an updated patch with Py_GetFileAttributesEx[AW] removal.
I propose to commit this to trunk, and merge it to py3k after 3.1 will
be released.
--
Added file: http://bugs.python.org/file14327/remove_w9x_code.patch
Fredrik Lundh fred...@effbot.org added the comment:
It should definitely give what's intended (either a Unicode string, or, if
the content is plain ASCII, an 8-bit string). What did you get instead?
--
___
Python tracker rep...@bugs.python.org
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I agree. By the way, I created the patch for trunk experimentally.
--
Added file: http://bugs.python.org/file14328/py2x_winsound.patch
___
Python tracker rep...@bugs.python.org
Guilherme Polo ggp...@gmail.com added the comment:
Finally I'm looking into this again. So, for now, I decided to only move
the tk load tests to Lib/lib-tk/test/test_tkinter under a new module
named test_loadtk. Lib/test/test_tcl remains almost the same, except it
no longer it contain those
R. David Murray rdmur...@bitdance.com added the comment:
On Sun, 21 Jun 2009 at 14:57, Guilherme Polo wrote:
Patch attached. May I reassign it to me David ?
Absolutely.
--
title: test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead
of being skipped - test_tcl
nlopes shelika.v...@gmail.com added the comment:
I got pure gibberish output, but I know why. It was a compilation gone
wrong.
To get the output as ElementTree, I think instead of
parcel = Py_BuildValue(sN, (prefix) ? prefix : , makestring(uri));
it should be
parcel = Py_BuildValue(sN,
Guilherme Polo ggp...@gmail.com added the comment:
Running tk tests through both Lib/test/test_tk.py and
Lib/test/regrtest.py show the desired behaviour (from what I understood
from your description and from what I tested).
It has been committed now, r73495 (trunk).
Should 2.6 and 3.0 really
R. David Murray rdmur...@bitdance.com added the comment:
No, I don't see any reason to bother backporting. From my understanding
we're not backporting anything to 3.0 at this point anyway.
--
___
Python tracker rep...@bugs.python.org
Guilherme Polo ggp...@gmail.com added the comment:
Fine, closing then.
Committed as r73497 on py3k.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5450
___
nlopes shelika.v...@gmail.com added the comment:
Don't mind what I just said. I overlooked the N. I couldn't figure out
what was going wrong with your solution.
That works. Mine is a ... aham.
:)
--
___
Python tracker rep...@bugs.python.org
Changes by nlopes shelika.v...@gmail.com:
Removed file: http://bugs.python.org/file14324/_elementtree.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6266
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fix checked into trunk and py3k.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I think it's easier if the patch just sits here for six more days; 3.1
won't take much longer.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4856
Guilherme Polo ggp...@gmail.com added the comment:
Should info_dragsite and info_dropsite be added too ? (I guess I would
be too lucky to get an answer after ~3 years). I'm preparing a patch but
I don't tend to use Tix, so it would be good if someone else wrote tests
and at least tested the
Guilherme Polo ggp...@gmail.com added the comment:
There you go.
--
Added file:
http://bugs.python.org/file14330/missing_tixhlist_info_subcomands.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1356969
Changes by Guilherme Polo ggp...@gmail.com:
--
title: Tix.py class HList missing info_bbox - Tix.py class HList missing
info_bbox, info_dragsite and info_dropsite
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1356969
Guilherme Polo ggp...@gmail.com added the comment:
Closing in favour of issue1356969.
--
resolution: - duplicate
status: open - closed
superseder: - Tix.py class HList missing info_bbox, info_dragsite and
info_dropsite
___
Python tracker
Guilherme Polo ggp...@gmail.com added the comment:
Although turtle.py lives inside the tkinter package, this doesn't seem
to be related to tkinter at all. I've set the no selection option for
the Components now.
--
components: -Tkinter
nosy: +gpolo
New submission from Steven Bethard steven.beth...@gmail.com:
Right now, bdist_msi can run out of memory when used for larger
packages. (I found this problem working with NLTK.) The solution is
really simple - just add a db.Commit() so that stuff gets flushed to
disk more often. The attached
New submission from jwishnie jwish...@gmail.com:
The standard string codecs for converting from unicode to strs does not
include the GSM 0.38 char mapping used by GSM services (like SMS).
I've written a codec for my use based on 'char_mapper' and the skeleton
from gencodec.py, though it's a
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch is fine, please apply.
--
nosy: +loewis
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6319
___
Guilherme Polo ggp...@gmail.com added the comment:
I don't have access to this file issue_1600182.py but it seems you are
forgetting to instantiate Tix.Tk (which will load the 'tix' package)
before creating the Tix.ComboBox.
I'm closing this as it is not a bug in the python tix wrapper, and I
Guilherme Polo ggp...@gmail.com added the comment:
Closing this in favour of issue6181 as it contains several other minor
fixes in Listbox that now have been tested in the
tk_and_idle_maintenance branch.
--
status: open - closed
superseder: - Tkinter.Listbox several minor issues
Guilherme Polo ggp...@gmail.com added the comment:
Weird.. I guess no one ever used Tix.Grid ?
--
nosy: +gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1522587
___
Guilherme Polo ggp...@gmail.com added the comment:
Uhm, now I'm getting it at around 3 iterations with python-trunk. So,
can't we just use a simple generator for this ? Patch attached.
The same could be done for widget and callback naming.
--
keywords: +patch
Added file:
Steven Bethard steven.beth...@gmail.com added the comment:
Done in r73499 and r73500. Thanks!
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6319
Fredrik Lundh fred...@effbot.org added the comment:
Umm. Isn't _encode used to encode tags and attribute names? The charref
syntax is only valid in CDATA sections and attribute values, which are
encoded by the corresponding _escape functions. I suspect this patch will
make things blow up
Guilherme Polo ggp...@gmail.com added the comment:
I guess this will have to be accepted without any tests, unless someone
can come up with a way to test tk_messageBox under Windows and Mac.
--
keywords: +patch
Added file: http://bugs.python.org/file14333/stringify.diff
Fredrik Lundh fred...@effbot.org added the comment:
Did you look at the 1.3 alpha code base when you came up with this idea?
Unfortunately, 1.3's _encode is used for a different purpose...
I don't have time to test it tonight, but I suspect that 1.3's
escape_data/escape_attrib functions
Terry J. Reedy tjre...@udel.edu added the comment:
On Py-dev, Fredrik Lundh wrote The xmlrpclib.py changes looks ok. I'll
leave it to other reviewers to check the rest.
--
nosy: +tjreedy
___
Python tracker rep...@bugs.python.org
Guilherme Polo ggp...@gmail.com added the comment:
Is there some reason to prefer .split over .splitlist ? It is very
likely that .split would still return a string if you had a single pane,
while .splitlist would return a tuple with an item on it.
Patch attached.
--
keywords: +patch
Changes by Guilherme Polo ggp...@gmail.com:
--
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1250469
___
Erik Gorset e...@gorset.no added the comment:
The kqueue implementation is not working. It has a silly bug:
- chl[i] = ((kqueue_event_Object *)ei)-e;
+ chl[i++] = ((kqueue_event_Object *)ei)-e;
I've created issue 5910 and included a
Guilherme Polo ggp...@gmail.com added the comment:
Just adding patch as a .diff
--
keywords: +patch
nosy: +gpolo
versions: +Python 2.7, Python 3.1 -Python 2.6
Added file: http://bugs.python.org/file14335/issue1259434.diff
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
You should provide your code as a patch against the Python trunk. Also,
unit tests should probably be part of Lib/test/test_codecs.py.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Library (Lib)
priority: - normal
stage: - needs patch
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6320
Michael K. Edwards m.k.edwa...@gmail.com added the comment:
The implementation you are looking for is in object_richcompare, in
http://svn.python.org/projects/python/branches/py3k/Objects/typeobject.c
. It would be most accurate to say something like:
The object base class, from which all
Michael K. Edwards m.k.edwa...@gmail.com added the comment:
It would also be useful to point out that there is a shortcut in the
interpreter itself (PyObject_RichCompareBool, in object.c) which checks
the equivalent of id(a) == id(b) and bypasses __eq__/__ne__ if so.
Since not every call to
New submission from samwyse samw...@gmail.com:
Every time IDLE is asked to run a program, it doesn't ensure that the
modules referenced by the program are completely loaded. This can cause
problems if one of those modules is also being edited, because once it
is loaded, any subsequent
46 matches
Mail list logo