Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75693
| References | (3 earlier) <cnqtt95jk1sggn64dtg73r8ccb6ieiq5n4@4ax.com> <5gstt9lf3ui5r6novjof9k0mnim3rqqlhl@4ax.com> <53def7fe$0$29974$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmqp9N05M5CART_bLy0E1gqxRHK4M7KQE6oQbChmb57z1g@mail.gmail.com> <lrnutr$oko$1@ger.gmane.org> |
|---|---|
| Date | 2014-08-05 00:18 +1000 |
| Subject | Re: CodeSkulptor |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12644.1407161942.18130.python-list@python.org> (permalink) |
On Mon, Aug 4, 2014 at 10:39 PM, Peter Otten <__peter__@web.de> wrote: >> (Idea, for anyone who runs a sandbox like that: Enumerate all packages >> and modules in the stdlib, and create a little stub for each of them. >> "import blahblah" will still produce ImportError, but "import >> datetime" could report back "This interpreter is working with a small >> subset of the Python standard library" rather than leaving us >> wondering if there was some weird copy/paste error in the import line. >> And yes, I did test for that.) > > All nice and dandy, but the site seems to use a Python implementation > entirely written in javascript: > > http://www.skulpt.org/ > > It's not a sandbox on the server, the code runs in your browser. It still has to be cut down, at least as regards modules implemented in C. ImportError: No module named decimal on line 1 So, same applies. Adding a bunch of stubs like "decimal.py" to say "This has a subset of the Python standard library and does not provide the decimal module" would be useful. As that one seems to be hosted on github, I'll drop a tracker issue down there with the suggestion. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
CodeSkulptor Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-03 21:06 -0400
Re: CodeSkulptor Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-04 02:21 +0100
Re: CodeSkulptor Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-04 11:29 +1000
Re: CodeSkulptor Chris Angelico <rosuav@gmail.com> - 2014-08-04 11:43 +1000
Re: CodeSkulptor Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-03 22:08 -0400
Re: CodeSkulptor Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-03 22:38 -0400
Re: CodeSkulptor Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-04 13:03 +1000
Re: CodeSkulptor Chris Angelico <rosuav@gmail.com> - 2014-08-04 13:09 +1000
Re: CodeSkulptor Peter Otten <__peter__@web.de> - 2014-08-04 14:39 +0200
Re: CodeSkulptor Chris Angelico <rosuav@gmail.com> - 2014-08-05 00:18 +1000
Re: CodeSkulptor Chris Angelico <rosuav@gmail.com> - 2014-08-04 13:05 +1000
Re: CodeSkulptor Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-04 10:26 +0200
Re: CodeSkulptor Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-03 21:41 -0400
Re: CodeSkulptor Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-04 02:56 +0100
Re: CodeSkulptor Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-03 22:07 -0400
Re: CodeSkulptor Terry Reedy <tjreedy@udel.edu> - 2014-08-04 03:02 -0400
csiph-web