On 2022-07-29 at 23:24:57 +,
Peter Pearson wrote:
> The following code produces a nonsense result with the input
> described below:
>
> import mailbox
> box = mailbox.Maildir("/home/peter/Temp/temp",create=False)
> x = box.values()[0]
> h = x.get("X-DSPAM-Factors")
> print(type(h))
> #
>
On 7/29/22 16:24, Peter Pearson wrote:
> ... but if the apostrophe in "a'b" is replaced with a
> RIGHT SINGLE QUOTATION MARK, the returned h is of type
> "email.header.Header", and seems to contain inscrutable garbage.
>
> I'd think an exception would be the right answer.
>
> Is this worth a bug
The following code produces a nonsense result with the input
described below:
import mailbox
box = mailbox.Maildir("/home/peter/Temp/temp",create=False)
x = box.values()[0]
h = x.get("X-DSPAM-Factors")
print(type(h))
#
The output is the desired "str" when the message file contains this:
To: re
> On 29 Jul 2022, at 19:33, Marco Sulla wrote:
>
> I tried to follow the instructions here:
>
> https://mypy.readthedocs.io/en/stable/stubgen.html
>
> but the instructions about creating a stub for a C Extension are a little
> mysterious. I tried to use it on the .so file without luck.
It s
OK, sounds like sunshine is getting the best of you.
It's working with a pretty heavy load, I see ways of solving potential
problems that haven't become a problem yet, and I'm enjoying it.
Maybe you should tone down the coaching until someone asks for it.
Regards,
Morten
On Fri, Jul 29, 2022 a
On Sat, 30 Jul 2022 at 04:54, Morten W. Petersen wrote:
>
> OK.
>
> Well, I've worked with web hosting in the past, and proxies like squid were
> used to lessen the load on dynamic backends. There was also a website
> opensourcearticles.com that we had with Firefox, Thunderbird articles etc.
>
OK.
Well, I've worked with web hosting in the past, and proxies like squid were
used to lessen the load on dynamic backends. There was also a website
opensourcearticles.com that we had with Firefox, Thunderbird articles etc.
that got quite a bit of traffic.
IIRC, that website was mostly static w
OK, that's useful to know. Thanks. :)
-Morten
On Fri, Jul 29, 2022 at 3:43 AM Andrew MacIntyre
wrote:
> On 29/07/2022 8:08 am, Chris Angelico wrote:
> > It takes a bit of time to start ten thousand threads, but after that,
> > the system is completely idle again until I notify them all and they
I tried to follow the instructions here:
https://mypy.readthedocs.io/en/stable/stubgen.html
but the instructions about creating a stub for a C Extension are a little
mysterious. I tried to use it on the .so file without luck.
--
https://mail.python.org/mailman/listinfo/python-list
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> "Loris Bennett" writes:
>>However, in the development environment, if I run
>> python stoat/main.py hpc user --help
>>then is
>> stoat/hpc/main.py
>>being found via
>> import hpc.main
>>because Python looks in
>> stoat
>>as the parent directory
Hi Stefan,
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> "Loris Bennett" writes:
>>Why is the module 'hpc' not found by the poetry script?
>
> I have tried to execute the following sequence of shell
> commands to understand your problem. Here they all worked
> without error messages. Warn
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> "Loris Bennett" writes:
>>However, this raises the question of why it worked in the first place
>>in the poetry shell.
>
> It might have had a different or extended sys.path.
In the poetry shell sys.path has this additional path
/home/loris/gi
Sofar we have resisted in adding a Next or Abort
button to any of our Dogelog Player HTML pages.
Behind the lack of these buttons is a method of
exploring sequence meta-predicates and what
they could do for user interfaces. Here is a little
new article about the topic:
Enumerating Solutions with
13 matches
Mail list logo