Loris Bennett ezt írta (időpont: 2021. aug.
20., P 17:54):
> Julio Di Egidio writes:
>
> > On Friday, 20 August 2021 at 11:54:00 UTC+2, Loris Bennett wrote:
> >> Hi,
> >>
> >> TL;DR:
> >>
> >> If I have a command-line argument for a program, what is the best way
> >> of making this available to
Greg Ewing writes:
> On 21/08/21 1:36 pm, Hope Rouselle wrote:
>> I wish I could restrict their syntax too, though, but I fear that's
>> not possible. For instance, it would be very useful if I could
>> remove loops.
>
> Actually you could, using ast.parse to get an AST and then walk
> it lookin
On 21/08/21 1:36 pm, Hope Rouselle wrote:
I wish I could restrict their syntax too, though,
but I fear that's not possible. For instance, it would be very useful
if I could remove loops.
Actually you could, using ast.parse to get an AST and then walk
it looking for things you don't want to all
Hi,
I need to configure a script with a command line switch and/or
environment variable (-> string) to a list of enums. I found the
following to work:
from enum import Enum
class Provider(Enum):
NONE = 0, ''
Amazon = 40, 'Amazon'
Netflix = 42, 'Netflix'
SkyTicket = 104, 'Sky Tick
Tkinter stopped working overnight from 8/20/2021 to 8/21/2021. Last night
I was working on tutorials to work on a GUI and this morning every file
that uses tkinter is broken stating that no module `tkinter' exists.
Please let me know if there is some sort of problem. I am removing
On Sun, Aug 22, 2021 at 4:37 AM Hope Rouselle wrote:
>
> Greg Ewing writes:
>
> > On 21/08/21 1:36 pm, Hope Rouselle wrote:
> >> I wish I could restrict their syntax too, though, but I fear that's
> >> not possible. For instance, it would be very useful if I could
> >> remove loops.
> >
> > Actu
While it is correct to say that Basic Auth without HTTPS is absolutely
insecure, using Basic Auth *and* HTTPS is not secure either.
Well, the definition of "secure" depends of your threat model.
HTTPS ensures encryption so the content, including the Basic Auth
username and password, is secret
On Sun, Aug 22, 2021 at 4:55 AM Martin Di Paola
wrote:
>
> While it is correct to say that Basic Auth without HTTPS is absolutely
> insecure, using Basic Auth *and* HTTPS is not secure either.
>
> Well, the definition of "secure" depends of your threat model.
Yes. Which makes statements like "not
Chris Angelico writes:
> On Sun, Aug 22, 2021 at 4:37 AM Hope Rouselle wrote:
>>
>> Greg Ewing writes:
>>
>> > On 21/08/21 1:36 pm, Hope Rouselle wrote:
>> >> I wish I could restrict their syntax too, though, but I fear that's
>> >> not possible. For instance, it would be very useful if I coul
On 21/08/2021 19:37, Tony Genter wrote:
>Tkinter stopped working overnight from 8/20/2021 to 8/21/2021. Last night
>I was working on tutorials to work on a GUI and this morning every file
>that uses tkinter is broken stating that no module `tkinter' exists.
Are you sure you were runni
On 2021-07-23 15:17:59 +1000, Cameron Simpson wrote:
> On 23Jul2021 07:54, אורי wrote:
> >I have a production server with Ubuntu 18.04 LTS (currently upgraded to
> >Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python
> >3.6.9. I'm using Django and I read that from Django 4.0, a m
On Tue, Aug 17, 2021 at 11:20 AM Chris Angelico wrote:
> The main advantage of ast.parse() is that it no longer cares about
> code layout, and it won't be fooled by an import statement inside a
> docstring, or anything like that. It's also pretty easy to handle
> multiple variants (note how "impo
On Sat, Aug 21, 2021 at 3:35 PM Dan Stromberg wrote:
> On Tue, Aug 17, 2021 at 11:20 AM Chris Angelico wrote:
>
>> The main advantage of ast.parse() is that it no longer cares about
>> code layout, and it won't be fooled by an import statement inside a
>> docstring, or anything like that. It's a
13 matches
Mail list logo