[issue26078] Python launcher options enhancement

2016-01-10 Thread Edward
New submission from Edward: The Python launcher in Windows is a neat tool for running multiple versions of Python 2 and Python 3 at different times. It allows as options the ability to specify the latest version of either Python 2 or Python 3 defaulting to the 64-bit version if both exist, or

[issue23687] Stacktrace identifies wrong line in multiline list comprehension

2015-03-17 Thread Edward
New submission from Edward: This code: z = [ ["Y" for y in None ] for x in range(4) ] produces this stacktrace in both Python 2.7 and 3.4: Traceback (most recent call last): File "/Users/edwsmith/dev/untitled4/test.py", line 7, in ] for x in ran

[issue1124] Webchecker not parsing css "@import url"

2007-09-06 Thread Edward Abraham
New submission from Edward Abraham: webchecker and its dependent, websucker, which are distributed with the python tools, are not following references to stylesheets given with the @import url(mystyle.css); declaration ... This means that the websucker isn't copying across styles

[issue3245] Memory leak on OS X

2008-06-30 Thread Edward Langley
New submission from Edward Langley <[EMAIL PROTECTED]>: On OS X 10.5.3 the default python has a mild memory leak. sample session: % python -S Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin >>> % leaks Python Process 2357: 572

[issue3245] Memory leak on OS X

2008-06-30 Thread Edward Langley
Edward Langley <[EMAIL PROTECTED]> added the comment: I think it may be a result of the framework build, I don't have the problem with either 2.5.2 (debug build) or 2.6b1, both non-framework builds. ___ Python tracker <[EMAIL PRO

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-13 Thread Edward Welbourne
New submission from Edward Welbourne : http://docs.python.org/whatsnew/2.6.html#writing-context-managers penultimate item in "A high-level explanation": If BLOCK raises an exception, the __exit__(type, value, traceback)() is called has extra () after the argument list - this appe

[issue7928] String formatting: grammar wrongly limits [index] to integer

2010-02-14 Thread Edward Welbourne
New submission from Edward Welbourne : http://docs.python.org/library/string.html#formatstrings field_name::= (identifier | integer) ("." attribute_name | "[" element_index "]")* element_index ::= integer Subsequent text indicates __getitem__() is

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Edward Welbourne
Edward Welbourne added the comment: The third change removes the early uses of "object" from: Finally, the closing(object)() function returns object so that it can be bound to a variable, and calls object.close at the end of the block. leaving the last use (object.close) as

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Edward Welbourne
Edward Welbourne added the comment: Nice :-) -- ___ Python tracker <http://bugs.python.org/issue7926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12458] Tracebacks should contain the first line of continuation lines

2021-06-15 Thread Edward Yang
Edward Yang added the comment: Supposing I like the old behavior (line number of the end of the statement), is there any way to recover that line number from the traceback after this change? -- nosy: +ezyang ___ Python tracker <ht

[issue45210] tp_dealloc docs should mention error indicator may be set

2021-09-15 Thread Edward Yang
New submission from Edward Yang : The fact that the error indicator may be set during tp_dealloc is somewhat well known (https://github.com/posborne/dbus-python/blob/fef4bccfc535c6c2819e3f15384600d7bc198bc5/_dbus_bindings/conn.c#L387) but it's not documented in the official manual. We s

[issue40897] Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses)

2020-06-06 Thread Edward Yang
New submission from Edward Yang : Consider the following program: ``` import inspect from typing import Generic, TypeVar T = TypeVar('T') class A(Generic[T]): def __init__(self) -> None: pass print(inspect.signature(A)) ``` I expect inspect.signature to ret

[issue14416] syslog missing constants

2012-03-26 Thread Edward Yang
New submission from Edward Yang : The syslog module is missing constants for a number of logging priorities available on modern Linuxen. In particular, the following options are missing: LOG_ODELAY, LOG_AUTHPRIV, LOG_SYSLOG, LOG_UUCP. -- components: Library (Lib) messages: 156842 nosy

[issue14416] syslog missing constants

2012-03-26 Thread Edward Yang
Edward Yang added the comment: I misspoke about UUCP. SYSLOG appears to be missing from the documentation. Arguably they should be present if Linux supports them, and missing if they don't (same as LOG_PERROR, and some of the other constants.) Then you can do feature detection Python

[issue14531] Backtrace should not attempt to open file

2012-04-08 Thread Edward Yang
New submission from Edward Yang : When generating a backtrace from an interactive Python session (e.g. the input is from , Python attempts to actually find a file named , to somewhat hilarious consequences. See the strace'd Python session below: >>> foo open("/etc/defaul

[issue14531] Backtrace should not attempt to open file

2012-04-08 Thread Edward Yang
Edward Yang added the comment: "" is a valid name of a file on Unix systems. So the fix is not so clear. ezyang@javelin:~$ python Python 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license

[issue37407] Update imaplib.py to account for additional padding

2019-06-25 Thread Edward Smith
New submission from Edward Smith : Regex for imaplib should account for IMAP servers which return one or two whitespaces after the * in responses. For example when using davmail as an interpreter between exchange to IMAP Acceptable response is as follows: ``` 58:24.54 > PJJD3 EXAM

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-05-14 Thread Edward Gow
Edward Gow added the comment: This bug is triggered by xml-rpc calls from the xmlrpc.client in the Python 3.5 standard library to a mod_wsgi/Python 3.5 endpoint. -- nosy: +elgow ___ Python tracker <https://bugs.python.org/issue27

[issue32736] random.triangular yields unexpected distribution when args mixed

2018-01-31 Thread Edward Preble
New submission from Edward Preble : The random.triangular function produces an unexpected distribution result (instead of an error or warning message) when the order of the 3 arguments are mixed up. Python notebook with demo of issue here: https://github.com/epreble

[issue33976] Enums don't support nested classes

2018-06-26 Thread Edward Wang
New submission from Edward Wang : Methods defined in Enums behave 'normally' but classes defined in Enums get mistaken for regular values and can't be used as classes out of the box. ```python class Outer(Enum): a = 1 b = 2 class Inner(Enum): foo = 10

[issue33976] Enums don't support nested classes

2018-06-26 Thread Edward Wang
Change by Edward Wang : -- keywords: +patch pull_requests: +7557 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33976> ___ ___ Py

[issue33976] Enums don't support nested classes

2018-06-27 Thread Edward Wang
Edward Wang added the comment: Ethan - thank you for your speedy response! For an example you can see https://github.com/ucb-bar/hammer/blob/97021bc7e1c819747f8b8b6d4b8c76cdc6a488e3/src/hammer-vlsi/hammer_vlsi_impl.py#L195 - the ObstructionType enum is really only used inside

[issue34213] Frozen dataclass __init__ fails for "object" property"

2018-07-24 Thread Edward Jones
New submission from Edward Jones : When `__init__` is called for a class which 1) is annotated with `@dataclasses.dataclass(frozen=True)` and 2) has a attribute named `object` a TypeError is raised because `object` is overridden for the local scope and as a result `__setattr__` is called on

[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
New submission from Edward Pratt : I am looking for a string inside of a process, and it seems that the output of the check_output command depends on the screen size of the terminal I run the code in. Here I ran the code with a normal screen resolution: >>> result = subprocess.che

[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
Edward Pratt added the comment: I don’t think that is true. I tried grepping for what I need in a very small terminal and still got the correct result. > On Oct 24, 2018, at 1:40 PM, Eryk Sun wrote: > > > Eryk Sun added the comment: > > This is due to the ps command

[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
Edward Pratt added the comment: You are correct. It works as expected outside of the REPL. > On Oct 24, 2018, at 4:34 PM, Stéphane Wirtel wrote: > > > Stéphane Wirtel added the comment: > > My script: > > #!/usr/bin/env python > import pathlib >

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
New submission from Edward Catmur: Suppose we have a class C with MRO (C, B, A, object). C virtual-inherits an ABC V, while B virtual-inherits an unrelated ABC W: object / | \ A W | | .` / B` V | .` C` Recalling that per PEP 443

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: Apologies, the linked repository is for the 2.x backport of singledispatch. I'll replace it with a proper Python repo. -- ___ Python tracker <http://bugs.python.org/is

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur : -- keywords: +patch Added file: http://bugs.python.org/file30623/singledispatch-mro-18244.patch ___ Python tracker <http://bugs.python.org/issue18

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue18244> ___ ___ Python-bugs-list mailing list Unsubscri

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: See attachment for patch and test. Note that reproducing the issue without access to singledispatch internals depends on iteration order of a dict of types and is thus intermittent/environment dependent

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-19 Thread Edward Catmur
Edward Catmur added the comment: Łukasz, thanks. When the most-derived class virtual-inherits two related ABCs U, V: object / | \ A W V | .` .` B` U` | .` C` The secondary `for` loop is necessary to ensure U and V are ordered correctly

[issue16067] UAC prompt for installation shows temporary file name

2012-09-27 Thread Edward Brey
New submission from Edward Brey: When installing on Windows, the UAC prompt shows a temporary random file name for the MSI file. To solve this, use the /d switch with signtool when signing the MSI file. Cf. http://stackoverflow.com/q/4315840 -- components: Installation messages

[issue19096] multiprocessing.Pool._terminate_pool restarts workers during shutdown

2013-09-26 Thread Edward Catmur
New submission from Edward Catmur: There is a race condition in multiprocessing.Pool._terminate_pool that can result in workers being restarted during shutdown (process shutdown or pool.terminate()). worker_handler._state = TERMINATE# < race from here task_hand

[issue19096] multiprocessing.Pool._terminate_pool restarts workers during shutdown

2013-09-26 Thread Edward Catmur
Edward Catmur added the comment: Suggested patch: https://bitbucket.org/ecatmur/cpython/compare/19096-multiprocessing-race..#diff Move the worker_handler.join() to immediately after setting the worker handler thread state to TERMINATE. This is a safe change as nothing in the moved-over code

[issue19615] "ImportError: dynamic module does not define init function" when deleting and recreating .so files from different machines over NFS

2013-11-15 Thread Edward Catmur
New submission from Edward Catmur: foo.c: #include static PyMethodDef mth[] = { {NULL, NULL, 0, NULL} }; static struct PyModuleDef mod = { PyModuleDef_HEAD_INIT, "foo", NULL, -1, mth }; PyMODINIT_FUNC PyInit_foo(void) { return PyModule_Create(&mod); } bar.c: #include static P

[issue19615] "ImportError: dynamic module does not define init function" when deleting and recreating .so files from different machines over NFS

2013-11-15 Thread Edward Catmur
Edward Catmur added the comment: Report dlerror() if dlsym() fails. The error output is now something like: ImportError: /<...>/foo.cpython-34dm.so: undefined symbol: PyInit_bar -- keywords: +patch Added file: http://bugs.python.org/file32643/dynload_report_dlerror

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2014-07-18 Thread Edward Oubrayrie
New submission from Edward Oubrayrie: pickle.loads raises a TypeError when calling the datetime constructor, (then a UnicodeEncodeError in the load_reduce function). A short test program & the log, including dis output of both PY2 and PY3 pickles, are available in this gist; and extrac

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2014-07-21 Thread Edward O
Edward O added the comment: The code works when using encoding='bytes'. Thanks Tim for the suggestion. So this is not a bug, but is there any sense in having encoding='ASCII' by default in pickle ? -- ___ Python tracker <

[issue22294] 2to3 consuming_calls: len, min, max, zip, map, reduce, filter, dict, xrange

2014-08-28 Thread Edward O
New submission from Edward O: This is a patch for issues similar to #16573 With this patch, the following new tests are now unchanged: r = dict(zip(s, range(len(s))), **d) r = len(filter(attrgetter('t'), self.a)) r = min(map(methodcaller('f'), self.a)) max(map(node.id,

[issue22294] 2to3 consuming_calls: len, min, max, zip, map, reduce, filter, dict, xrange

2014-08-28 Thread Edward O
Changes by Edward O : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue22294> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22297] json encoding broken for

2014-08-29 Thread Edward O
New submission from Edward O: _make_iterencode in python2.7/json/encoder.py encodes custom enum types incorrectly (the label will be printed without '"') because of these lines (line 320 in 2.7.6): elif isinstance(value, (int, long)): yield buf + str(value

[issue22297] 2.7 json encoding broken for enums

2014-08-29 Thread Edward O
Changes by Edward O : -- title: json encoding broken for -> 2.7 json encoding broken for enums ___ Python tracker <http://bugs.python.org/issue22297> ___ ___ Py

[issue7434] general pprint rewrite

2014-09-19 Thread Edward O
Changes by Edward O : -- nosy: +eddygeek ___ Python tracker <http://bugs.python.org/issue7434> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22294] 2to3 consuming_calls: len, min, max, zip, map, reduce, filter, dict, xrange

2014-10-07 Thread Edward O
Changes by Edward O : -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue22294> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22297] 2.7 json encoding broken for enums

2014-10-07 Thread Edward O
Edward O added the comment: The arguments for fixing: * int subclasses overriding str is a very common usecase for enums (so much so that it was added to stdlib in 3.4). * json supporting a standard type of a subsequent python version, though not mandatory, would be beneficial to Py2/Py3

[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2010-06-02 Thread Edward Pilatowicz
New submission from Edward Pilatowicz : recently i was writing some python code that attempted to bind a unix domain socket to a long filesystem path. this code was failing and telling me that the path name was too long. tracing python i saw that it wasn't event issuing a system call f

[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2010-06-03 Thread Edward Pilatowicz
Edward Pilatowicz added the comment: so i wrote a simple test program that tells me the defined length of sun_path and then uses bind() with increasingly long paths to determine the actually supported length of sun_path. here's what i've found: Solaris: defined sun_path = 1

[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2010-06-04 Thread Edward Pilatowicz
Edward Pilatowicz added the comment: some additional data. AIX 6.1: defined sun_path = 1023 max sun_path = 1023 i'll also point out the existence of the SUN_LEN() macro, which is defined on all the previously mentioned operating systems, and which calculates the size of a sockad

[issue29201] Python 3.6 not working within VS 2015

2017-01-07 Thread Edward Laier
New submission from Edward Laier: I installed Python 3.6 on my Microsoft server 2016 , running VS 2015 Community. I tried the path to Python Environment, then auto-detect, VS crashes and then when it restarts it will have the "+ Custom" grayed out. Where I then have to remove

[issue22820] RESTART line with no output

2014-11-08 Thread Edward Alexander
New submission from Edward Alexander: Whenever i run my code on Python IDLE editor, the output is as follows: == RESTART I am a newbie,it seems i cannot move from this point . This is my code: def convert_to_celsius(fahrenheit

[issue20371] datetime.datetime.replace bypasses a subclass's __new__

2015-02-11 Thread Edward O
Changes by Edward O : -- nosy: +eddygeek ___ Python tracker <http://bugs.python.org/issue20371> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20371] datetime.datetime.replace bypasses a subclass's __new__

2015-02-11 Thread Edward O
Edward O added the comment: Here is a workaround for subclasses (2&3-compatible): --- start code --- class MyDate(datetime): @classmethod def fromDT(cls, d): """ :type d: datetime """ return cls(d.year, d.month, d.day, d.hour,

[issue26842] Python Tutorial 4.7.1: Need to explain default parameter lifetime

2016-04-24 Thread Edward Segall
New submission from Edward Segall: I am using the tutorial to learn Python. I know many other languages, and I've taught programming language theory, but even so I found the warning in Section 4.7.1 about Default Argument Values to be confusing. After I spent some effort investigating

[issue26842] Python Tutorial 4.7.1: Need to explain default parameter lifetime

2016-04-25 Thread Edward Segall
Edward Segall added the comment: I agree with most of your points: A tutorial should be brief and should not go down rabbit holes. Expanded discussion of default parameter behavior would probably fit better with the other facets of parameter speceification and parameter passing, perhaps as a

[issue23512] List of builtins is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-24 Thread Edward D'Souza
New submission from Edward D'Souza: The list of built-in functions at the top of https://docs.python.org/2/library/functions.html is not alphabetical. Specifically, (apply, coerce, intern, buffer) allow appear out of order at the end of the list, instead of where they should be alphabeti

[issue23512] The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Edward D'Souza
Edward D'Souza added the comment: Doesn't make sense to me. The page says "They are listed here in alphabetical order.", which isn't true. Furthermore, not putting them in order screws up people who assume it is in alphabetical order and try to search for a function w

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-03-02 Thread Edward D'Souza
Edward D'Souza added the comment: I think putting them in a separate table is good, but I think it makes more sense to appear right below the existing table at the top of the page. For better or worse, these "non-essential" functions are still builtins in Python 2. It would b

[issue3590] sax.parser hangs on byte streams

2008-08-18 Thread Edward K Ream
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 buff

[issue3590] sax.parser hangs on byte streams

2008-08-18 Thread Edward K Ream
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""

[issue3590] sax.parser considers XML as text rather than bytes

2008-08-18 Thread Edward K Ream
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 >

[issue3590] sax.parser considers XML as text rather than bytes

2008-08-18 Thread Edward K Ream
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

[issue3590] sax.parser considers XML as text rather than bytes

2008-08-18 Thread Edward K Ream
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. > >

[issue4531] Deprecation warnings in lib\compiler\ast.py

2008-12-04 Thread Edward K Ream
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:\python

[issue4531] Deprecation warnings in lib\compiler\ast.py

2008-12-04 Thread Edward K Ream
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 >

[issue38663] Untokenize does not round-trip ws before bs-nl

2019-11-01 Thread Edward K Ream
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\ ("a

[issue38663] Untokenize does not round-trip ws before bs-nl

2019-11-03 Thread Edward K Ream
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'

[issue38663] Untokenize does not round-trip ws before bs-nl

2019-11-03 Thread Edward K Ream
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 t

[issue38663] Untokenize does not round-trip ws before bs-nl

2019-11-03 Thread Edward K Ream
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." I'

[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library

2020-07-25 Thread Edward K Ream
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 announcemen

[issue41504] Add links to asttokens, leoAst, LibCST and Parso to ast.rst

2020-08-07 Thread Edward K Ream
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 to

[issue41504] Add links to asttokens, leoAst, LibCST and Parso to ast.rst

2020-08-11 Thread Edward K Ream
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

[issue22616] Allow connecting AST nodes with corresponding source ranges

2019-01-14 Thread Edward K Ream
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

[issue25778] winreg.EnumValue does not truncate strings correctly

2016-12-03 Thread Edward K. Ream
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

[issue25778] winreg.EnumValue does not truncate strings correctly

2016-12-03 Thread Edward K. Ream
Edward K. Ream added the comment: On Sat, Dec 3, 2016 at 1:37 PM, Steve Dower 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 ;-) EKR -- ___ Python

[issue25778] winreg.EnumValue does not truncate strings correctly

2016-12-29 Thread Edward K. Ream
Edward K. Ream added the comment: Thank you, Steve, et. al. for resolving this issue. -- ___ Python tracker <http://bugs.python.org/issue25778> ___ ___ Python-bug

[issue29480] Mac OSX Installer SSL Roots

2017-02-08 Thread Edward Ned Harvey
New submission from Edward Ned Harvey: I would like to suggest that the OSX installer automatically run "Install Certificates.command", or display a prompt to users saying "Run Now" during installation. Having the readme is helpful - but only after you google for 20 min

[issue17850] unicode_escape encoding fails for '\\Upsilon'

2013-04-26 Thread Edward K. Ream
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

[issue17850] unicode_escape encoding fails for '\\Upsilon'

2013-04-26 Thread Edward K. Ream
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 <http://bugs.python.o

[issue17850] unicode_escape encoding fails for '\\Upsilon'

2013-04-26 Thread Edward K Ream
Edward K Ream added the comment: On Fri, Apr 26, 2013 at 8:51 AM, Edward K. Ream wrote: > > 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'

[issue22616] Allow connecting AST nodes with corresponding source ranges

2014-10-12 Thread Edward K. Ream
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

[issue22819] Python3.4: xml.sax.saxutils.XMLGenerator.__init__ fails with pythonw.exe

2014-11-08 Thread Edward K. Ream
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

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
New submission from William Edward Stuart Clemens : The DB API Spec 2.0 (PEP 249) clearly requires that column name and type_code be set as the first two values in Cursor.description the other 5 attributes are optional. The sqlite3 module doesn't set type_code. -- components:

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
William Edward Stuart Clemens added the comment: The patch for version 3.3 has a one line difference. -- assignee: -> docs@python components: +Documentation, Library (Lib) -None nosy: +docs@python versions: +Python 3.3 Added file: http://bugs.python.org/file21