Re: Shall I worry about python2/3 compatibility when using library?

2018-08-30 Thread Cameron Simpson
On 30Aug2018 19:27, Stone Zhong wrote: I think the fact is: - There are still considerable amount of people still using python2 - Python2 user will eventually upgrade to python3 So any library not written in a compatible way will either break now for python2 user, or will break in the future

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-08-30 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Could the fix be backported to 2.7 branch? Apparently on macOS 2.7 is also affected https://github.com/macports/macports-ports/pull/2456 -- nosy: +yan12125 ___ Python tracker

[issue34552] Clarify built-in types comparisons

2018-08-30 Thread Windson Yang
New submission from Windson Yang : In https://docs.python.org/3.5/library/stdtypes.html#comparisons "some types (for example, function objects) support only a degenerate notion of comparison where any two objects of that type are unequal." We had some discussion at zulipchat already: "more

Re: Shall I worry about python2/3 compatibility when using library?

2018-08-30 Thread Stone Zhong
On Thursday, August 30, 2018 at 10:19:34 PM UTC-7, Terry Reedy wrote: > On 8/30/2018 10:27 PM, Stone Zhong wrote: > > Hi there, > > > > I think the fact is: > > - There are still considerable amount of people still using python2 > > - Python2 user will eventually upgrade to python3 > > > > So

Re: Shall I worry about python2/3 compatibility when using library?

2018-08-30 Thread Terry Reedy
On 8/30/2018 10:27 PM, Stone Zhong wrote: Hi there, I think the fact is: - There are still considerable amount of people still using python2 - Python2 user will eventually upgrade to python3 So any library not written in a compatible way will either break now for python2 user, or will break

Shall I worry about python2/3 compatibility when using library?

2018-08-30 Thread Stone Zhong
Hi there, I think the fact is: - There are still considerable amount of people still using python2 - Python2 user will eventually upgrade to python3 So any library not written in a compatible way will either break now for python2 user, or will break in the future for python3 user. So I suppose

Re: Cannot pass a variable given from url to route's callback fucntion and redirect issue

2018-08-30 Thread Rurpy via Python-list
On Thursday, August 30, 2018 at 10:08:34 AM UTC-6, Νίκος Βέργος wrote: > I did try it with 'None' and as page='index.html' Flask return an error both > ways (while bottle framework does not) I think you are mistaken, making the change I suggested fixes the "TypeError: index() missing 1 required

[issue34551] Redundant store can be removed from _PyFunction_FastCallDict

2018-08-30 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> vstinner nosy: +serhiy.storchaka, vstinner ___ Python tracker ___ ___

[issue34443] enum repr should use __qualname__

2018-08-30 Thread orlnub123
orlnub123 added the comment: I've created a separate PR that also changes the __str__s. -- nosy: +orlnub123 ___ Python tracker ___

[issue34443] enum repr should use __qualname__

2018-08-30 Thread orlnub123
Change by orlnub123 : -- pull_requests: +8481 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34481] Different behavior of C and Python impls of datetime.strftime with non-UTF-8-encodable strings

2018-08-30 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > if we can't make assertions about the behavior of strftime outputs, I think > it makes it hard to prevent regressions. Ironically, some of the changes we may have to make to fix time.strftime() inconsistencies may appear like regressions to some users.

[issue22872] multiprocessing.Queue raises AssertionError

2018-08-30 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22872] multiprocessing.Queue raises AssertionError

2018-08-30 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +8480 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34445] asyncio support in doctests

2018-08-30 Thread Stefan Tjarks
Stefan Tjarks added the comment: Thanks Grant! I expected that I am missing something. You are right that I could have posted in many places to get help about this. Before posting I tried to find a doctest for asyncio but my google magic failed me. At the end I just felt that, at the very

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread pjmclenon
On Thursday, August 30, 2018 at 2:05:16 PM UTC-4, pjmc...@gmail.com wrote: > On Thursday, August 30, 2018 at 1:29:48 PM UTC-4, MRAB wrote: > > On 2018-08-30 17:57, pjmcle...@gmail.com wrote: > > > On Thursday, August 30, 2018 at 9:28:09 AM UTC-4, Steven D'Aprano wrote: > > >> On Thu, 30 Aug 2018

Re: __init__ patterns

2018-08-30 Thread Terry Reedy
On 8/30/2018 9:43 AM, Steven D'Aprano wrote: On Thu, 30 Aug 2018 06:01:26 -0700, Tim wrote: I saw a thread on reddit/python where just about everyone said they never put code in their __init__ files. Pfft. Reddit users. They're just as bad as Stackoverflow users. *wink* Here's a

[issue34226] cgi.parse_multipart() requires undocumented CONTENT-LENGTH in Python 3.7

2018-08-30 Thread Tercio Gaudencio Filho
Change by Tercio Gaudencio Filho : -- nosy: +Tercio Gaudencio Filho ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34519] Add additional aliases for HP Roman 8

2018-08-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Wikipedia references it: https://en.wikipedia.org/wiki/HP_Roman#Roman-8 as well as IBM on its pages: https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.wmqfte.doc/codepages.htm --

[issue34445] asyncio support in doctests

2018-08-30 Thread Grant Jenks
Grant Jenks added the comment: This is not a bug in Python. The SyntaxError matches expected behavior. According to the Python grammar, you can't have "await" outside of a function. You have "await" at the globals scope which is not permitted. You may only "await" functions from within

[issue34481] Different behavior of C and Python impls of datetime.strftime with non-UTF-8-encodable strings

2018-08-30 Thread Paul Ganssle
Paul Ganssle added the comment: @izbyshev That's totally fair and I wouldn't want to make it a condition of merging the existing fixes - I've already made great progress in fixing the time.strftime part as well. The main reason it relates here is that I generally find the tests to be among

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread pjmclenon
On Thursday, August 30, 2018 at 1:29:48 PM UTC-4, MRAB wrote: > On 2018-08-30 17:57, pjmcle...@gmail.com wrote: > > On Thursday, August 30, 2018 at 9:28:09 AM UTC-4, Steven D'Aprano wrote: > >> On Thu, 30 Aug 2018 05:21:30 -0700, pjmclenon wrote: > >> > >> > my question is ... at the moment i can

[issue34551] Redundant store can be removed from _PyFunction_FastCallDict

2018-08-30 Thread Eric Lippert
Change by Eric Lippert : -- keywords: +patch pull_requests: +8479 stage: -> patch review ___ Python tracker ___ ___

[issue34535] queue.Queue(timeout=0.001) avg delay Windows:14.5ms, Ubuntu: 0.063ms

2018-08-30 Thread Steve Dower
Steve Dower added the comment: Agreed with not putting platform-specific details everywhere, but in this case we can probably have a generic wording for "Blocks for `timeout` seconds as best as is available on the current operating system". It is a general problem across all timeouts, so

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread MRAB
On 2018-08-30 17:57, pjmcle...@gmail.com wrote: On Thursday, August 30, 2018 at 9:28:09 AM UTC-4, Steven D'Aprano wrote: On Thu, 30 Aug 2018 05:21:30 -0700, pjmclenon wrote: > my question is ... at the moment i can only run it on windows cmd prompt > with a multiple line entry as so:: > >

[issue34551] Redundant store can be removed from _PyFunction_FastCallDict

2018-08-30 Thread Eric Lippert
New submission from Eric Lippert : In _PyFunction_FastCallDict we have local nk assigned to be the size of a dictionary, and then local i is assigned to twice the size of the same dictionary, and then nk is assigned to half of i, which it already is: nk = (kwargs != NULL) ?

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2018-08-30 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34550] UnicodeDecodeError when invoke method configure() of Menu instance

2018-08-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread pjmclenon
On Thursday, August 30, 2018 at 9:28:09 AM UTC-4, Steven D'Aprano wrote: > On Thu, 30 Aug 2018 05:21:30 -0700, pjmclenon wrote: > > > my question is ... at the moment i can only run it on windows cmd prompt > > with a multiple line entry as so:: > > > > python createIndex_tfidf.py stopWords.dat

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you for the patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1b5f9c9653f348b0aa8b7ca39f8a9361150f7dfc by Raymond Hettinger (Naris R) in branch 'master': bpo-34427: Fix infinite loop when calling MutableSequence.extend() on self (GH-8813)

[issue34538] Remove encouragement to author a base class for all Exception subclasses in a module

2018-08-30 Thread Ammar Askar
Ammar Askar added the comment: For some empirical data, I went through some popular packages that follow this pattern and searched for usage of their base exception classes: Requests: https://github.com/search?q=except+requests.RequestException=Code PyYaml:

[issue34200] importlib: python -m test test_pkg -m test_7 fails randomly

2018-08-30 Thread Nick Coghlan
Nick Coghlan added the comment: Given that importlib is essentially just doing "listdir", it would be interesting to know how the following behaves in a tight loop on affected systems: # Write a file f = open(os.path.join(dirname, "testname.py"), "w") f.write("text\n")

[issue34538] Remove encouragement to author a base class for all Exception subclasses in a module

2018-08-30 Thread Brett Cannon
Brett Cannon added the comment: I'm not questioning if people have ever created a base exception for an entire package, I'm just asking how often it's actually used when the base exception didn't make sense outside of the rule-of-thumb Nathaniel is pointing out? For instance, it could makes

[issue34550] UnicodeDecodeError when invoke method configure() of Menu instance

2018-08-30 Thread Tao Chen
New submission from Tao Chen : [Brief Description] Python 3.7.0 IDLE. After create one Menu instance, and invoke it's config() or configure() method without any parameter, python print UnicodeDecodeError. [Walk around] menubar = Menu(root) menubar.config(font=('Arial')) [LOG] Python 3.7.0

[issue34538] Remove encouragement to author a base class for all Exception subclasses in a module

2018-08-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: See https://bugs.python.org/issue443559 and "git log -p 13af42822cd". One other example from real code: requests.RequestException -- nosy: +fdrake ___ Python tracker

[issue34539] namedtuple's exec() throws segmentation fault

2018-08-30 Thread Álvaro Justen
Álvaro Justen added the comment: Yes, I think it was fixed in https://bugs.python.org/issue34087 (didn't see the commits), I just wanted to report it because I don't know if a test for this specific case is needed (the other bug is not related to namedtuples). --

[issue21145] Add the @cached_property decorator

2018-08-30 Thread Carl Meyer
Carl Meyer added the comment: Thanks everyone for the thoughtful and careful reviews! Patch is much improved from where it started. And thanks Nick for merging. -- ___ Python tracker

Re: Cannot pass a variable given from url to route's callback fucntion and redirect issue

2018-08-30 Thread Rurpy via Python-list
On Wednesday, August 29, 2018 at 10:57:35 AM UTC-6, Νίκος Βέργος wrote: > Flask app.py > == > @app.route( '/' ) > @app.route( '/' ) > def index( page ): > > # use the variable form template for displaying > counter = ''' > > td> Αριθμός Επισκεπτών: >

Re: Calling an unbound method in C using the Public API

2018-08-30 Thread Serhiy Storchaka
29.08.18 17:33, Matthieu Dartiailh пише: I tried to look at the public C API for a way to call an unbound method with a minimal cost (in term of speed and memory). It seems to me, but please correct me if I am wrong, that one cannot call a MethodDef using only the public API. To use the

[issue34549] unittest docs could use another header

2018-08-30 Thread Nick
New submission from Nick : I find myself reaching for a list of the assert methods in the unittest library often. There are several methods but no clear way to link a URL via a header if you intend to bookmark or send it out. I have been using the method above the section in the meantime

[issue34485] _PyCoreConfig: add stdio_encoding and stdio_errors

2018-08-30 Thread STINNER Victor
STINNER Victor added the comment: > Yeah, there were some good reasons I went with the relatively brute force > option of provideding Blender with a new config API call back in bpo-16129 - > as we've seen, actually fixing it properly has been a multi-year multi-person > effort :) Yeah, I

[issue21145] Add the @cached_property decorator

2018-08-30 Thread Nick Coghlan
Nick Coghlan added the comment: This has now been merged. Thanks for the multiple iterations on the implementation Carl, and thanks for the original proposal, Omer! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

RE: How to sort over dictionaries

2018-08-30 Thread David Raymond
Remember to check what the res["date"] types actually are. If they're just text, then it looked like they were in M/D/Y format, which won't sort correctly as text, hence you might want to include using datetime.strptime() to turn them into sortable datetimes. -Original Message- From:

[issue34485] _PyCoreConfig: add stdio_encoding and stdio_errors

2018-08-30 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, there were some good reasons I went with the relatively brute force option of provideding Blender with a new config API call back in bpo-16129 - as we've seen, actually fixing it properly has been a multi-year multi-person effort :) -- nosy:

[issue34539] namedtuple's exec() throws segmentation fault

2018-08-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: __init__ patterns

2018-08-30 Thread Steven D'Aprano
On Thu, 30 Aug 2018 06:01:26 -0700, Tim wrote: > I saw a thread on reddit/python where just about everyone said they > never put code in their __init__ files. Pfft. Reddit users. They're just as bad as Stackoverflow users. *wink* > Here's a stackoverflow thread saying the same thing. >

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread Steven D'Aprano
On Thu, 30 Aug 2018 05:21:30 -0700, pjmclenon wrote: > my question is ... at the moment i can only run it on windows cmd prompt > with a multiple line entry as so:: > > python createIndex_tfidf.py stopWords.dat testCollection.dat > testIndex.dat titleIndex.dat > > and then to query and use the

RE: __init__ patterns

2018-08-30 Thread Dan Strohl via Python-list
I will put imports into my __init__ files, so that I can import things from the module directly instead of having to import from a file in the module. I almost never put code in the __init__'s, I have a couple of times put in something that was designed to modify which routine was imported

Re: __init__ patterns

2018-08-30 Thread Paul Moore
On Thu, 30 Aug 2018 at 14:07, Tim wrote: > > I saw a thread on reddit/python where just about everyone said they never put > code in their __init__ files. > > Here's a stackoverflow thread saying the same thing. >

Re: Question about floating point

2018-08-30 Thread Steven D'Aprano
On Thu, 30 Aug 2018 19:22:29 +1200, Gregory Ewing wrote: > Steven D'Aprano wrote: >> Why in the name of all that's holy would anyone want to manually round >> each and every intermediate calculation when they could use the Decimal >> module and have it do it automatically? > > I agree that

[issue34530] distutils: find_executable() fails if the PATH environment variable is not set

2018-08-30 Thread STINNER Victor
STINNER Victor added the comment: > find_executable() always searches executables from the current directory. Oh! I didn't notice that! -- ___ Python tracker ___

__init__ patterns

2018-08-30 Thread Tim
I saw a thread on reddit/python where just about everyone said they never put code in their __init__ files. Here's a stackoverflow thread saying the same thing. https://stackoverflow.com/questions/1944569/how-do-i-write-good-correct-package-init-py-files That's new to me. I like to put

[issue34548] IDLE: Make TextView use the configured theme colors

2018-08-30 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +8478 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34548] IDLE: Make TextView use the configured theme colors

2018-08-30 Thread Tal Einat
Change by Tal Einat : -- assignee: taleinat components: IDLE nosy: taleinat, terry.reedy priority: low severity: normal status: open title: IDLE: Make TextView use the configured theme colors versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread pjmclenon
On Thursday, August 30, 2018 at 8:21:47 AM UTC-4, pjmc...@gmail.com wrote: > On Wednesday, June 13, 2018 at 7:14:06 AM UTC-4, INADA Naoki wrote: > > ​> 1st is this script is from a library module online open source > > > > If it's open source, why didn't you show the link to the soruce? > > I

[issue34530] distutils: find_executable() fails if the PATH environment variable is not set

2018-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: find_executable() always searches executables from the current directory. This effectively equivalent having os.curdir at the start of path. shutil.which() does this only on Windows. This change LGTM, but it potentially can break user code, thus it may be

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-08-30 Thread pjmclenon
On Wednesday, June 13, 2018 at 7:14:06 AM UTC-4, INADA Naoki wrote: > ​> 1st is this script is from a library module online open source > > If it's open source, why didn't you show the link to the soruce? > I assume your code is this: > >

[issue34489] subprocess: execution of batch-files (.cmd/.bat) is vulnerable in python for windows / insufficient escape

2018-08-30 Thread Sergey G. Brester
Sergey G. Brester added the comment: I have extended the PR a bit (more tests and corresponding documentation part). -- ___ Python tracker ___

[issue34544] FreeBSD: Fatal Python error: get_locale_encoding: failed to get the locale encoding: nl_langinfo(CODESET) failed

2018-08-30 Thread STINNER Victor
STINNER Victor added the comment: I cannot reproduce the issue on my FreeBSD 11.1 VM. I cannot reproduce the issue on Koobs's "CURRENT-amd64%" buildbot neither :-( Example: CURRENT-amd64% env -i LC_ALL=invalid LC_CTYPE=invalid LANG=invalid PYTHONUTF8=0 PYTHONCOERCECLOCALE=0 ./python -X

[issue33965] [Windows WSL] Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time, after year 2038

2018-08-30 Thread STINNER Victor
STINNER Victor added the comment: > 11:23:19 up -24855 days, -3:-14, 0 users, load average: 0.52, 0.58, 0.59 Impressive uptime! -- ___ Python tracker ___

[issue34545] error in the repl due to indentation

2018-08-30 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> third party stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33803] contextvars: hamt_alloc() must initialize h_root and h_count fields

2018-08-30 Thread Berker Peksag
Change by Berker Peksag : -- type: enhancement -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26901] Argument Clinic test is broken

2018-08-30 Thread STINNER Victor
STINNER Victor added the comment: Pablo, Serhiy: there are now 2 PR (one written by Pablo, one by me). Would you mind to have a look and tell me what is your preferred PR? My PR is based on Pablo's PR, I just changed how the tests are run to make sure that they are run on *all* CIs, not

[issue33803] contextvars: hamt_alloc() must initialize h_root and h_count fields

2018-08-30 Thread ernest ruiz
Change by ernest ruiz : -- type: crash -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34547] Wsgiref server does not handle closed connections gracefully

2018-08-30 Thread Petter S
New submission from Petter S : The server in the wsgiref module is actually used a lot. For example, it is the server Django uses for development. A very common thing that happens during Django development is that the web browser closes the connection for some reason. Then very long stack

[issue34547] Wsgiref server does not handle closed connections gracefully

2018-08-30 Thread Petter S
Change by Petter S : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1529353] Squeezer - squeeze large output in IDLE's shell

2018-08-30 Thread Tal Einat
Tal Einat added the comment: > 1. Yes. Always show. Fix delay at 80 until we decide on something better. Done. > 2. No. Max should be enough. Done. > I once printed over 500_000 short lines to see if scrolling remained > responsive. It did. I could have set min to 1_000_000 for that

[issue33965] [Windows WSL] Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time, after year 2038

2018-08-30 Thread Petter S
Petter S added the comment: I am updating this bug since someone may find it. The problem lies with WSL. After having my computer running for many days, this is the result of the uptime command: $ uptime 11:23:19 up -24855 days, -3:-14, 0 users, load average: 0.52, 0.58, 0.59 Restarting

[issue34546] Zipfile encryption function

2018-08-30 Thread 大野隆弘
New submission from 大野隆弘 : from https://mail.python.org/pipermail/python-ideas/2018-August/053081.html I would like to use zipfile encryption as python standard library. https://github.com/python/cpython/blob/master/Lib/zipfile.py Below document says "currently" cannot.

Re: How to sort over dictionaries

2018-08-30 Thread harish
> > sort = sorted(results, key=lambda res:itemgetter('date')) > > print(sort) > > > > > > I have tried the above code peter but it was showing error like > > TypeError: '<' not supported between instances of 'operator.itemgetter' > > and 'operator.itemgetter' > > lambda res:

[issue34529] add the option for json.dumps to return newline delimited json

2018-08-30 Thread Bob Ippolito
Bob Ippolito added the comment: I suggested that each module would likely implement its own functions tailored to that project's IO and error handling requirements. The implementation may differ slightly depending on the protocol. This is consistent with how JSON is typically dealt with

[issue34529] add the option for json.dumps to return newline delimited json

2018-08-30 Thread ron
ron added the comment: I'm a bit confused here. On one hand you say it's two lines of code. On other hand you suggest that each service provider will implement it's own functions. What's the harm from adding - small , unbreakable functionality? Your points for small code could have also

Re: Question about floating point

2018-08-30 Thread Gregory Ewing
Steven D'Aprano wrote: Why in the name of all that's holy would anyone want to manually round each and every intermediate calculation when they could use the Decimal module and have it do it automatically? I agree that Decimal is the safest and probably easiest way to go, but saying that it

Re: How to sort over dictionaries

2018-08-30 Thread Peter Otten
har...@moonshots.co.in wrote: > sort = sorted(results, key=lambda res:itemgetter('date')) > print(sort) > > > I have tried the above code peter but it was showing error like > TypeError: '<' not supported between instances of 'operator.itemgetter' > and 'operator.itemgetter' lambda res:

[issue34545] error in the repl due to indentation

2018-08-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this related to pyreadline? I can see an upstream issue with similar traceback and an open PR with some discussion. GitHub issue : https://github.com/pyreadline/pyreadline/issues/49 Open PR : https://github.com/pyreadline/pyreadline/pull/51