Edward K Ream added the comment:
You're welcome. It was a pleasure working with you all on this issue.
I enjoyed learning the PR workflow, and I enjoyed the discussion of the merits.
One last comment. Like everything in life, links and their implied endorsements
are provisional. If a link
New submission from Edward K Ream :
These links added with the provisional approval of GvR, pending approval of the
PR.
--
assignee: docs@python
components: Documentation
messages: 375019
nosy: docs@python, edreamleo
priority: normal
severity: normal
status: open
title: Add links
Edward K Ream added the comment:
Hello all,
This is a "sideways" response to this issue. I have been dithering about
whether to give you a heads up. I hope you won't mind...
I have just announced the leoAst.py on python-announce-list. You can read the
announcement her
Edward K Ream added the comment:
This post:
https://groups.google.com/d/msg/leo-editor/DpZ2cMS03WE/5X8IDzpgEAAJ
discusses unit testing. The summary states:
"I've done the heavy lifting on issue 38663. Python devs should handle the
details of testing and packaging."
Edward K Ream added the comment:
This post
https://groups.google.com/d/msg/leo-editor/DpZ2cMS03WE/VPqtB9lTEAAJ
discusses a complete rewrite of tokenizer.untokenize.
To quote from the post:
I have "discovered" a spectacular replacement for Untokenizer.untokenize in
python's tokeni
Edward K Ream added the comment:
The original bug report used a Leo-only function, g.toUnicode. To fix this,
replace:
result = g.toUnicode(tokenize.untokenize(tokens))
by:
result_b = tokenize.untokenize(tokens)
result = result_b.decode('utf-8', 'strict
New submission from Edward K Ream :
Tested on 3.6.
tokenize.untokenize does not round-trip whitespace before backslash-newlines
outside of strings:
from io import BytesIO
import tokenize
# Round tripping fails on the second string.
table = (
r'''
print\
("abc")
''',
Edward K Ream added the comment:
On Mon, Jan 14, 2019 at 5:24 AM Ivan Levkivskyi
wrote:
Adding endline and endcolumn to every ast node will be a big improvement.
Edward
--
Edward K. Ream: edream
Edward K. Ream added the comment:
Thank you, Steve, et. al. for resolving this issue.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Edward K. Ream added the comment:
On Sat, Dec 3, 2016 at 1:37 PM, Steve Dower <rep...@bugs.python.org> wrote:
Thanks, Steve and David, for your replies. Getting this issue fixed
eventually will do. Glad to hear it was a mistake, and not policy ;-
Edward K. Ream added the comment:
The last message on this thread was in January, and this item is Open.
According to Pep 478, 3.5.2 final was released Sunday, June 26, 2016.
How is this issue not a release blocker?
Why does there appear to be no urgency in fixing this bug?
This bug bites
New submission from Edward K. Ream:
In Python3.2 xml.sax.saxutils.XMLGenerator.__init__ succeeds if the out
keyword argument is not given and sys.stdout is None, which will typically be
the case when using pythonw.exe.
Alas, on Python3.4, the ctor throws an exception in this case
Edward K. Ream added the comment:
I urge the Python development team to fix this and the related bugs given in
the Post Script. The lack of an easy way of associating ast nodes with text
ranges in the original sources is arguably the biggest hole in the Python api.
These bugs have immediate
New submission from Edward K. Ream:
On both windows and Linux the following fails on Python 2.7:
s = '\\Upsilon'
unicode(s,unicode_escape)
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 0-7:
end of string in escape sequence
BTW, the six.py package uses
Edward K. Ream added the comment:
Thanks for your quick reply.
If this is not a bug, why does six define six.u as unicode(s,unicode_escape)
for *all* u constants??
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17850
Edward K Ream added the comment:
On Fri, Apr 26, 2013 at 8:51 AM, Edward K. Ream rep...@bugs.python.orgwrote:
If this is not a bug, why does six define six.u as
unicode(s,unicode_escape) for *all* u constants??
Oops. The following works::
s = r'\\Upsilon'
unicode(s,unicode_escape
New submission from Edward K Ream [EMAIL PROTECTED]:
Python 2.6 final on Windows XP gives following warnings with -3 option:
c:\python26\lib\compiler\ast.py:54: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
def __init__(self, (left, right), lineno=None):
c:\python26\lib
Edward K Ream [EMAIL PROTECTED] added the comment:
On Thu, Dec 4, 2008 at 12:33 PM, Brett Cannon [EMAIL PROTECTED] wrote:
Brett Cannon [EMAIL PROTECTED] added the comment:
Considering the entire compiler package is not in 3.0 it is not worth
fixing this. Closing as wont fix.
Thanks
New submission from Edward K Ream [EMAIL PROTECTED]:
While porting Leo to Python 3.0, I found that passing any byte stream to
xml.sax.parser.parse will hang the parser. My quick fix was to change:
while buffer != :
to:
while buffer != and buffer != b:
at line 123 of xmlreader.py
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 10:09 AM, Benjamin Peterson
[EMAIL PROTECTED]wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It should probably be changed to just while buffer != b since it
requests a byte stream.
That was my guess
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 1:51 PM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
From the discussion on the python-3000, it looks like it would be nice
if sax.parser handled both bytes and unicode
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 11:00 AM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Just to be clear, I am at present totally confused about io streams :-)
Python 3.0 distincts more clearly
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 4:15 PM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
The same calls to sax read the file correctly on Python 2.5.
What are those calls exactly?
parser
23 matches
Mail list logo