David Binger <[EMAIL PROTECTED]> added the comment:
Thanks, Benjamin.
I see that you applied this to the main python branch,
which is probably okay (though I haven't tested it),
but I wrote the patch against the py3k code.
Did you mean to apply it to py3k?
On Nov 23, 2008,
New submission from David Binger <[EMAIL PROTECTED]>:
The parser module validates node trees when they are built from sequences.
The validator must, unfortunately, be updated every time there is a change
in the grammar. The current validator fails to validate "with"
state
New submission from David Binger <[EMAIL PROTECTED]>:
The parser module validates st instances that it builds from
list or tuple structures. This validation fails for parse
trees that include relative imports because it fails to correctly
count the dots that immediately follow the "
David Binger <[EMAIL PROTECTED]> added the comment:
On Jul 11, 2008, at 5:35 PM, Kuba Fast wrote:
> I get no problem in 3.0b1. Should this be closed?
I think so. It looks like this has been fixed.
Thanks.
___
Python tracker <[EMAIL PROTE
New submission from David Binger <[EMAIL PROTECTED]>:
The h2py.py script is invoked at the end of "make install" on OS X.
It raises an exception on the line where dict.has_key() is called.
(There seem to be many calls to has_key() in the current 3.0 tree.
I bet there are other
David Binger <[EMAIL PROTECTED]> added the comment:
Hi Bruno,
Are you testing py3k? This is what I see:
Python 3.0a3+ (py3k:61352M, Mar 12 2008, 13:11:35)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "licens
New submission from David Binger <[EMAIL PROTECTED]>:
(at revision 61376)
It looks like this docstring needs to be updated.
--
assignee: georg.brandl
components: Documentation
messages: 63521
nosy: dbinger, georg.brandl
severity: minor
status: open
title: list.sort.__doc__ say
New submission from David Binger <[EMAIL PROTECTED]>:
This is with the current revision of py3k: 61353.
parser.suite('"\u1234"') fails with a TypeError.
Changing the argument format from "s" to "s#" works around this problem.
I added a unit test
David Binger added the comment:
On Jan 31, 2008, at 12:42 PM, Bill Janssen wrote:
>
> Bill Janssen added the comment:
>
> But that's issue 1210, which is still open. David, do you want to
> submit a patch for 1210?
I see that you are correct that 1210 is the bytes/str iss
David Binger added the comment:
Bill's patch does appear to fix the ssl-related problem.
imaplib is still broken in py3k, though, due
to bytes/str issues.
--
nosy: +dbinger
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
New submission from David Binger:
TCP_NODELAY and some constants are not present in the socket module.
I think maybe "#include " should appear somewhere,
perhaps at the top of socketmodule.c?
(This is on OS X 10.5.1 with py3k revision 59215).
--
components: Library (Lib),
David Binger added the comment:
Okay, here is the whole thing with a unittest that exposes the problem.
Index: Lib/test/test_parser.py
===
--- Lib/test/test_parser.py (revision 58984)
+++ Lib/test/test_parser.py (working
David Binger added the comment:
The one line patch below makes
"import parser; parser.sequence2st(parser.suite("class A(object):
pass").tolist())"
work. It puts the parsermodule's validation back in sync
with the Python3 grammar for this rule of the grammar.
This bug
New submission from David Binger:
>>> parser.sequence2st(parser.suite("class A(object): pass").tolist())
Traceback (most recent call last):
File "", line 1, in
parser.ParserError: Expected node type 326, got 329.
---
The Grammar in python 3 uses "arglis
14 matches
Mail list logo