Hi guys, I was playing with sandbox and found that the interactive mode does not work because of 'import time'. Wanted to create a pull request, but for some reason I can't push to bitbucket right now. A simple patch is attached. Cheers - Chris -- Christian Tismer :^) tismer@stackless.com Software Consulting : http://www.stackless.com/ Karl-Liebknecht-Str. 121 : https://github.com/PySide 14482 Potsdam : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023
I've been wondering why it is that 'time' module is so broken in the sandbox? Is there any fundamental reason why it can't be supported? On Wed, Nov 4, 2015 at 5:54 PM, Christian Tismer <tismer@stackless.com> wrote:
Hi guys,
I was playing with sandbox and found that the interactive mode does not work because of 'import time'.
Wanted to create a pull request, but for some reason I can't push to bitbucket right now.
A simple patch is attached.
Cheers - Chris
-- Christian Tismer :^) tismer@stackless.com Software Consulting : http://www.stackless.com/ Karl-Liebknecht-Str. 121 : https://github.com/PySide 14482 Potsdam : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
Hi Dmitry, On Thu, Nov 5, 2015 at 12:40 AM, Dmitry Sagalovskiy <dmitry@getgrist.com> wrote:
I've been wondering why it is that 'time' module is so broken in the sandbox? Is there any fundamental reason why it can't be supported?
No, it's just that we improved the 'time' module at some point by getting rid of very old code, and that broke sandboxed translations. Someone needs to look at it. It's probably easy. A bientôt, Armin.
On 05/11/15 09:14, Armin Rigo wrote:
Hi Dmitry,
On Thu, Nov 5, 2015 at 12:40 AM, Dmitry Sagalovskiy <dmitry@getgrist.com> wrote:
I've been wondering why it is that 'time' module is so broken in the sandbox? Is there any fundamental reason why it can't be supported?
No, it's just that we improved the 'time' module at some point by getting rid of very old code, and that broke sandboxed translations. Someone needs to look at it. It's probably easy.
Ok, makes sense. I did not expect that this is the final solution, but just shows the problem and an immediate fix against frustration. If my company (yes, I'm working again) permits, then I can work on fixing the true reason. cheers - Chris -- Christian Tismer :^) tismer@stackless.com Software Consulting : http://www.stackless.com/ Karl-Liebknecht-Str. 121 : https://github.com/PySide 14482 Potsdam : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023
participants (3)
-
Armin Rigo
-
Christian Tismer
-
Dmitry Sagalovskiy