Re: Text-mode apps (Was :Who are the "spacists"?)

2017-03-31 Thread Chris Angelico
On Sat, Apr 1, 2017 at 3:38 PM, Rick Johnson wrote: >> - distinguishing between different letters of the alphabet, >> like dotted-i and dotless-ı (or ı and ı-with-a-dot, if you >> prefer), or a and å; > > Sounds like the "encoding in question" could use a few more > glyphs. How many glyphs do you

Re: Text-mode apps (Was :Who are the "spacists"?)

2017-03-31 Thread Rick Johnson
On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote: > On Thu, 30 Mar 2017 03:21 pm, Rick Johnson wrote: > > > On Sunday, March 26, 2017 at 2:53:49 PM UTC-5, Chris Angelico wrote: > >> On Mon, Mar 27, 2017 at 6:25 AM, Mikhail V wrote: > >> > On 26 March 2017 at 20:10, Steve D'Apr

Re: Text-mode apps (Was :Who are the "spacists"?)

2017-03-31 Thread Rick Johnson
On Thursday, March 30, 2017 at 2:58:53 AM UTC-5, Steven D'Aprano wrote: > On Wed, 29 Mar 2017 20:53:35 -0700, Rick Johnson wrote: > > > On Sunday, March 26, 2017 at 1:21:18 PM UTC-5, Chris Angelico wrote: > >> On Mon, Mar 27, 2017 at 4:43 AM, Steve D'Aprano > >> wrote: [...] > > You place a lot

RE: Developing a Python JIT and have trouble

2017-03-31 Thread Deborah Swanson
Yuheng Zou wrote, on Friday, March 31, 2017 6:52 AM > > I am building a Python JIT, so I want to change the > interp->eval_frame to my own function. > > I built a C++ library which contains EvalFrame function, and > then use dlopen and dlsym to use it. It looks like this: > > extern "C" PyObje

Re: Text-mode apps (Was :Who are the "spacists"?)

2017-03-31 Thread Chris Angelico
On Sat, Apr 1, 2017 at 12:17 PM, Rick Johnson wrote: > On Thursday, March 30, 2017 at 12:43:59 AM UTC-5, Chris Angelico wrote: >> Except that it doesn't actually take very much work to call >> on someone else's library, which is what you get when you >> use Unicode properly. (At least, assuming yo

Re: Text-mode apps (Was :Who are the "spacists"?)

2017-03-31 Thread Rick Johnson
On Thursday, March 30, 2017 at 12:43:59 AM UTC-5, Chris Angelico wrote: > Except that it doesn't actually take very much work to call > on someone else's library, which is what you get when you > use Unicode properly. (At least, assuming you're using a > decent language like Python, which comes wit

VirtualEnvs (venv) and Powershell

2017-03-31 Thread Carl Caulkett
Hello everyone, I've just started to investigate VirtualEnvironments as a means of preventing my 3rd party code becoming chaotic. I've discovered that venv's can be managed quite effectively using Powershell. When Activate.ps1 is run, the PowerShell changes to indicate that the venv is active whic

Re: Program Error Help - Python 3.1

2017-03-31 Thread Cameron Simpson
On 31Mar2017 16:12, 2019.cavanau...@fpsedu.org <2019.cavanau...@fpsedu.org> wrote: Hello I've been coding for about 1 or 2 months and i have encountered a problem with a 'while' statement. It keeps looping even when the statement is false, here is the code. The code is for a game that I'm maki

Re: Program Error Help - Python 3.1

2017-03-31 Thread Larry Martell
On Fri, Mar 31, 2017 at 4:16 PM <2019.cavanau...@fpsedu.org> wrote: > while answer8 != ("1") or answer8 != ("2"): This statement is always true. Think about it. > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Program Error Help - Python 3.1

2017-03-31 Thread Terry Reedy
On 3/31/2017 7:12 PM, 2019.cavanau...@fpsedu.org wrote: Hello I've been coding for about 1 or 2 months If at all possible, start with 3.6, not 3.1. and i have encountered a problem with a 'while' statement. You should assume that your code is buggy. That is true even of experts. > It keep

Program Error Help - Python 3.1

2017-03-31 Thread 2019 . cavanaughc
Hello I've been coding for about 1 or 2 months and i have encountered a problem with a 'while' statement. It keeps looping even when the statement is false, here is the code. The code is for a game that I'm making that resembles the Oregon Trial. -Thanks for your help! import random deep =

Re: Program uses twice as much memory in Python 3.6 than in Python 3.5

2017-03-31 Thread MrJean1
Similarly, on macOS 10.12.3 Sierra: % python3.5 Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 08:49:46) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> s = set(range(10)) >>> sys.getsizeof(s) 736 >>

Re: Program uses twice as much memory in Python 3.6 than in Python 3.5

2017-03-31 Thread Jan Gosmann
On 03/30/2017 02:19 PM, INADA Naoki wrote: FYI, this small patch may fix your issue: https://gist.github.com/methane/8faf12621cdb2166019bbcee65987e99 I can verify that the patch fixes the issue for me. Do you still need more information about the `transitive_closure` function and my usage of s

Re: Program uses twice as much memory in Python 3.6 than in Python 3.5

2017-03-31 Thread Jan Gosmann
On 03/29/2017 11:31 PM, Chris Angelico wrote: On Thu, Mar 30, 2017 at 2:19 PM, Rick Johnson wrote: [...] Really? How could your clients not notice 60 GB of memory usage unless they are running some kind of mad-dog insane top-of-the-line hardware? (Got Benjamins???) Of course, in the case they a

table class - inheritance, delegation?

2017-03-31 Thread duncan smith
Hello, I need to code up a table class, which will be based on numpy arrays. Essentially it needs to behave like a numpy array, but with a variable associated with each array dimension. It must (at least partially) satisfy the API of an existing class. The main reason for the new class is to

Developing a Python JIT and have trouble

2017-03-31 Thread Yuheng Zou
I am building a Python JIT, so I want to change the interp->eval_frame to my own function. I built a C++ library which contains EvalFrame function, and then use dlopen and dlsym to use it. It looks like this: extern "C" PyObject *EvalFrame(PyFrameObject *f, int throwflag) { return _PyEval_E

Re: Spam user

2017-03-31 Thread Ammammata
Il giorno Fri 31 Mar 2017 10:27:54a, *Ricardo A Baila* ha inviato su comp.lang.python il messaggio news:058a9744-44bf-4e6b-ae1d-28e1e348e...@googlegroups.com. Vediamo cosa ha scritto: > User-Agent: G2/1.0 > > Could someone remove wucbad...@gmx.com from the group? > you better switch to a decen

Re: Spam user

2017-03-31 Thread Terry Reedy
On 3/31/2017 5:07 AM, Lele Gaifax wrote: Ricardo A Baila writes: Are you reading through Google Groups? Could someone remove wucbad...@gmx.com from the group? Strange, I could not see such messages, neither in the newsgroup (gmane) nor on the ML archives. If so, send your request to the

Re: Spam user

2017-03-31 Thread Lele Gaifax
Ricardo A Baila writes: > Could someone remove wucbad...@gmx.com from the group? Strange, I could not see such messages, neither in the newsgroup (gmane) nor on the ML archives. Are you sure you are not receiving those as private messages? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò d

Re: Spam user

2017-03-31 Thread Ricardo A Baila
Le vendredi 31 mars 2017 10:28:08 UTC+2, Ricardo A Baila a écrit : > Hi all, > > Could someone remove wucbad...@gmx.com from the group? > > Thanks > Ricardo And johnnypopo...@gmx.com as well. Didn't go deep on the issue but could it be @gmx.com the issue? Or at least, as the message is always

Spam user

2017-03-31 Thread Ricardo A Baila
Hi all, Could someone remove wucbad...@gmx.com from the group? Thanks Ricardo -- https://mail.python.org/mailman/listinfo/python-list