Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75693

Re: CodeSkulptor

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '"this': 0.03; 'interpreter': 0.05; 'importerror:': 0.07; 'subset': 0.09; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'importerror,': 0.16; 'suggestion.': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'server,': 0.19; 'written': 0.21; 'seems': 0.21; 'import': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'mon,': 0.24; 'cc:2**0': 0.24; 'tracker': 0.26; 'least': 0.26; 'header:In-Reply- To:1': 0.27; 'wondering': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'bunch': 0.31; 'decimal': 0.31; 'anyone': 0.31; 'entirely': 0.33; 'implemented': 0.33; 'could': 0.34; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "i'll": 0.36; 'url:org': 0.36; 'so,': 0.37; 'issue': 0.38; 'pm,': 0.38; 'rather': 0.38; 'little': 0.38; 'does': 0.39; 'hosted': 0.39; 'back': 0.62; 'provide': 0.64; 'useful.': 0.68; 'cut': 0.74; 'browser.': 0.78; 'otten': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Z1uXrTfAzdF2FAdB5pHfZuRJAP+yESt4A5dBBWyWx90=; b=mWq/fD+Qxl6GIG+9ol1FXNqsSsfkRFye4bl8Yl2+ZjTeGN8aNyqGiewArwfSrciSLV xqX7lgXpnNICDYlsXvfsu3vLHU/URIVZy6ZJcWj9a9GyKSjPStTOJwDph333E0wBG08c aYf635yov82sM+sQbTItcwAu2nKA7/+RW2pWB3MJ7ndU0eKps+1Frraeiq+crdt5HnkT H+ASXSvC/drQHXLnd29TB/4+ayGOFAYo3fam+JTCH0zLQuLMucOx5dC+KL2n950U8g10 2lgBw7eWnJqAyUt2EWpGRwFHwxAToVyTdTYyCBPtpfR2g3abQ0WXLlTN++J6d6ybFv3N 8UXw==
MIME-Version 1.0
X-Received by 10.43.96.65 with SMTP id cf1mr31520403icc.26.1407161932881; Mon, 04 Aug 2014 07:18:52 -0700 (PDT)
In-Reply-To <lrnutr$oko$1@ger.gmane.org>
References <pkmtt9135hrbk9l7u3bq9no55ttok69q3p@4ax.com> <53dee1e2$0$9505$c3e8da3$5496439d@news.astraweb.com> <mailman.12611.1407116631.18130.python-list@python.org> <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 Tue, 5 Aug 2014 00:18:52 +1000
Subject Re: CodeSkulptor
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12644.1407161942.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407161942 news.xs4all.nl 2884 [2001:888:2000:d::a6]:51082
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75693

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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