Giter Site home page Giter Site logo

Docstring crashing shell about ilua HOT 3 OPEN

guysv avatar guysv commented on July 28, 2024
Docstring crashing shell

from ilua.

Comments (3)

guysv avatar guysv commented on July 28, 2024 1

Wait, my bad. I was actually using a modified version of jupyter_console that fixed this bug
here is my upstream PR:
jupyter/jupyter_console#177
Unfortunately, Jupyter is yet to merge that PR, so I probably set a workaround at the scope of this project.

from ilua.

guysv avatar guysv commented on July 28, 2024

hmm, im pretty sure I patched that on 0.2.0, but ill give it a look!

from ilua.

guysv avatar guysv commented on July 28, 2024

works for me on 0.2.1:
are you sure you're using the latest release?
if not, what's your lua's version?

C:\Users\User>ilua
Jupyter console 5.3.0dev

ILua 0.2.1


In [1]: string.find?
Signature: string.find(s, pattern [, init [, plain]])
Documentation:
Looks for the first match of `pattern` (see ยง6.4.1) in the string `s`. If it
finds a match, then `find` returns the indices of `s` where this occurrence
starts and ends; otherwise, it returns **nil**. A third, optional numeric
argument `init` specifies where to start the search; its default value is 1
and can be negative. A value of **true** as a fourth, optional argument
`plain` turns off the pattern matching facilities, so the function does a
plain "find substring" operation, with no characters in `pattern` being
considered magic. Note that if `plain` is given, then `init` must be given as
well.

If the pattern has captures, then in a successful match the captured values
are also returned, after the two indices.
Path: n/a

from ilua.

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.