for ns in namespaces:
if name in ns:
print("Found!")
break
elif name.isupper():
print("All-caps name that wasn't found")
This actually doesn't work. I have been programming in Python for well
over a decade, and never before been in a situation where this would
be useful.
A
On Tue, Nov 30, 2021 at 12:41 PM Richard Damon wrote:
>
> On 11/29/21 5:01 PM, Chris Angelico wrote:
> > On Tue, Nov 30, 2021 at 8:55 AM Marco Sulla
> > wrote:
> >> I must say that I'm reading the documentation now, and it's a bit
> >> confusing. In the docs, inplace operators as |= should not wo
On 11/29/21 5:01 PM, Chris Angelico wrote:
On Tue, Nov 30, 2021 at 8:55 AM Marco Sulla
wrote:
I must say that I'm reading the documentation now, and it's a bit
confusing. In the docs, inplace operators as |= should not work. They
are listed under the set-only functions and operators. But, as we
On 30Nov2021 10:59, DL Neil wrote:
>Fedora names it as rxvt-unicode.
>Installed v9.26
>Text is too small for these old eyes.
Fair enough. There are resources, but not worth it unless you really
want the app.
>No menu bar and no context menus.
Um, yes. The (hardware, serial) terminals we had a
Thanks to you and Cameron for your replies. The C side has an epoll_ctl set,
but no event loop to handle it yet. I'm putting that in now with a pipe write
in Python-- as Cameron pointed out that is the likely source of blocking on C.
The pipes are opened as rdwr in Python because that's nonbl
> On 29 Nov 2021, at 20:36, Jen Kris via Python-list
> wrote:
>
> I have a C program that forks to create a child process and uses execv to
> call a Python program. The Python program communicates with the parent
> process (in C) through a FIFO pipe monitored with epoll().
>
> The Pytho
> On 29 Nov 2021, at 20:36, Jen Kris via Python-list
> wrote:
>
> I have a C program that forks to create a child process and uses execv to
> call a Python program. The Python program communicates with the parent
> process (in C) through a FIFO pipe monitored with epoll().
>
> The Pytho
On Tue, Nov 30, 2021 at 8:55 AM Marco Sulla
wrote:
>
> I must say that I'm reading the documentation now, and it's a bit
> confusing. In the docs, inplace operators as |= should not work. They
> are listed under the set-only functions and operators. But, as we saw,
> this is not completely true: t
On 30/11/2021 10.19, Cameron Simpson wrote:
> On 29Nov2021 22:25, DL Neil wrote:
Probably a font issue. Not many fonts support the flags.
>>>
>>> Agree about the font support. Some terminal emulators make an effort to
>>> have fallback fonts for when your preferred font lacks a glyph. IIRC
>>
I must say that I'm reading the documentation now, and it's a bit
confusing. In the docs, inplace operators as |= should not work. They
are listed under the set-only functions and operators. But, as we saw,
this is not completely true: they work but they don't mutate the
original object. The same f
On 29Nov2021 22:25, DL Neil wrote:
>>> Probably a font issue. Not many fonts support the flags.
>>
>> Agree about the font support. Some terminal emulators make an effort to
>> have fallback fonts for when your preferred font lacks a glyph. IIRC
>> urxvt is such a terminal on Linux.
>
>Not sure ab
On 29Nov2021 21:34, Jen Kris wrote:
>I have a C program that forks to create a child process and uses execv to call
>a Python program. The Python program communicates with the parent process (in
>C) through a FIFO pipe monitored with epoll().
>
>The Python child process is in a while True loop
I have a C program that forks to create a child process and uses execv to call
a Python program. The Python program communicates with the parent process (in
C) through a FIFO pipe monitored with epoll().
The Python child process is in a while True loop, which is intended to keep it
running w
On Tue, Nov 30, 2021 at 6:45 AM dn via Python-list
wrote:
>
>
>
> On 27/11/2021 21.23, Chris Angelico wrote:
> > On Sat, Nov 27, 2021 at 7:21 PM dn via Python-list
> > wrote:
> >> The expression list is evaluated once; it should yield an iterable
> >> object. An iterator is created for the result
On 27/11/2021 21.23, Chris Angelico wrote:
> On Sat, Nov 27, 2021 at 7:21 PM dn via Python-list
> wrote:
>> The expression list is evaluated once; it should yield an iterable
>> object. An iterator is created for the result of the expression_list.
>> The suite is then executed once for each item
>> Windows Defender has a setting to also use “Reputation Scoring”.
>> What that simply means is that WDef will report back a hash to microsoft
>> which is then checked to see if it is known. If it is known, then it has a
>> reputation and based off that reputation Defender will either allow it
On 11/29/21 12:04, Benjamin Schollnick wrote:
Windows Defender has a setting to also use “Reputation Scoring”.
What that simply means is that WDef will report back a hash to microsoft which
is then checked to see if it is known. If it is known, then it has a
reputation and based off that repu
This mailing list does not allow attachments. If you're trying to share a
screenshot, post it to imgur or something like that and share a URL here.
On Mon, Nov 29, 2021 at 2:12 PM Peter Mwale wrote:
> Hello Christian,
> Am referring to menu marked in picture below. It's not coming on my window.
On 30/11/2021 07.43, Peter Mwale wrote:
> Hello Christian,
> Am referring to menu marked in picture below. It's not coming on my window.
>
>
> On Sat, Nov 27, 2021, 20:19 Christian Gollwitzer wrote:
>
>> Am 26.11.21 um 21:38 schrieb Peter Mwale:
>>> Hello, my python 3.10 shell is not displaying
Hello Christian,
Am referring to menu marked in picture below. It's not coming on my window.
On Sat, Nov 27, 2021, 20:19 Christian Gollwitzer wrote:
> Am 26.11.21 um 21:38 schrieb Peter Mwale:
> > Hello, my python 3.10 shell is not displaying the top menu. What should I
> > do?
> >
>
> You shou
Windows Defender has a setting to also use “Reputation Scoring”.
What that simply means is that WDef will report back a hash to microsoft which
is then checked to see if it is known. If it is known, then it has a
reputation and based off that reputation Defender will either allow it to run
or
> On 29 Nov 2021, at 00:03, anthony.flury via Python-list
> wrote:
>
>
> On 26/11/2021 07:13, Ulli Horlacher wrote
>>> But consider another possibility that your compiler software is compromised
>> Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
>> is infected. I doubt
anthony.flury wrote:
>
> On 26/11/2021 07:13, Ulli Horlacher wrote
> >> But consider another possibility that your compiler software is compromised
> > Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
> > is infected. I doubt this.
>
> But you aren't using python3.10 to 'com
On 29/11/2021 12.06, Cameron Simpson wrote:
> On 29Nov2021 09:19, Chris Angelico wrote:
>> On Mon, Nov 29, 2021 at 8:10 AM dn via Python-list
>> wrote:
>>> However, when trying the above, with our local flag in (Fedora Linux,
>>> Gnome) Terminal or PyCharm's Run terminal; the two letters "N" and
24 matches
Mail list logo