Giter Club home page Giter Club logo

Comments (7)

gtors avatar gtors commented on September 28, 2024 1

@ibizaman ipython/ipython#9919

from redbaron.

ibizaman avatar ibizaman commented on September 28, 2024

Yes, comment handling is pretty brittle at the moment. Thanks for reporting!

from redbaron.

gtors avatar gtors commented on September 28, 2024

It's bug of IPython shell: proof
In native python shell the bug is not reproduced.

from redbaron.

b5y avatar b5y commented on September 28, 2024

@gtors Interesting. I know that IPython have some bugs. One of them with StringIO I detected few months ago (it was not new version of IPython, but it does not matter).

I have used python 2.7 and RedBaron had bug with comments. Did you try with Python 2.7?

from redbaron.

gtors avatar gtors commented on September 28, 2024

@b5y Python 2.7 shell also works fine: asciinema
p.s.: for py3 I use patched version of baron, so, result of calling parse in py2 is a bit different.

from redbaron.

ibizaman avatar ibizaman commented on September 28, 2024

I can unfortunately confirm it's an iPython problem:
img-2016-12-21-230631
img-2016-12-21-230615

@gtors do you have an idea of what the problem is?
@b5y @Marrin latest baron has (one of) the comment issue fixed, see PyCQA/baron#88

from redbaron.

Marrin avatar Marrin commented on September 28, 2024

I've revisited this with current versions of IPython and the involved libraries and the problem is fixed/gone. Given that it was a bug in IPythone anyway, I think this should be closed.

from redbaron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.