[issue23689] Memory leak in Modules/sre_lib.h

2022-03-31 Thread Ma Lin


Change by Ma Lin :


--
pull_requests: +30298
pull_request: https://github.com/python/cpython/pull/32223

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47164] [C API] Add private "CAST" macros to clean up casts in C code

2022-03-31 Thread Dong-hee Na


Change by Dong-hee Na :


--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Dong-hee Na


Change by Dong-hee Na :


--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46841] Inline bytecode caches

2022-03-31 Thread Dong-hee Na


Change by Dong-hee Na :


--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not

2022-03-31 Thread Yury Selivanov


Yury Selivanov  added the comment:

> I have a feeling that we need a low-level API section that describes 
> *supported* API that is intended to task extenders only (guys who want to 
> provide an alternative task factory for example).

I'm not sure how exposing all private methods spiraled out of this issue. We 
haven't discussed documenting the low-level methods you just exposed Andrew. 
IMO this should be reverted.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47167] Allow overriding future-task compliance check in asyncio

2022-03-31 Thread Yury Selivanov


Yury Selivanov  added the comment:

Sorry, I don't like the committed change and I think it should be reverted.

Futures and Tasks have a documented `get_loop()` method which simply should be 
called by Task machinery, without the need to expose (and document) private 
methods.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47167] Allow overriding future-task compliance check in asyncio

2022-03-31 Thread Andrew Svetlov


Andrew Svetlov  added the comment:


New changeset d4bb38f82bf18b00db3129031ce4969b6f0caab9 by Andrew Svetlov in 
branch 'main':
bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197)
https://github.com/python/cpython/commit/d4bb38f82bf18b00db3129031ce4969b6f0caab9


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47167] Allow overriding future-task compliance check in asyncio

2022-03-31 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dennis Lee Bieber  wrote:
> On Thu, 31 Mar 2022 16:22:33 -0700 (PDT), Grant Edwards
> declaimed the following:
>
>>
>>OWA is an HTTP-based API suspport by MS Exchange server.
>
> From what I found, M$ doesn't consider OWA to be an API... It expands
> to "Outlook Web App", period, (and more recently is called "Outlook for the
> Web").

Right. There used to be an API called "EWS", but that's no longer
available (at least on the servers I've dealt with). Instead, there's
a REST/JSON api that's used by the outlook web client.

There are a few email clients (that I'm aware of) that have figured
out how to use that API:

 Hiri

    (now abandoned) which stopped working for
   me yesterday.

 Webmail for OWA

   https://play.google.com/store/apps/details?id=smtb.owa Android app.

 OWL Thunderbird plug-in

   This is working nicely for me.

There is an older Thunderbird plugin (by the developers of OWL) that
used the EWS protocol (but not OWA) called ExQuilla.

I think that the protocol used by Outlook is MAPI/RPC or MAPI/HTTP. I
believe that Evolution used to be able to use that protocol, but from
what I've read it only works with very old versions of Exchange. For
newer Exchange servers, Evolution supports EWS, but the servers I've
dealt with over the past few years didn't seem to support EWS. [Though
I haven't tried for a while.]
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: asyncio+tkinter

2022-03-31 Thread Skip Montanaro
>
> > Given that both asyncio & tkinter are modules in the standard lib and
> both
> > have event loops, I would have expected to find some "best practice"
> > solution to mixing the two.
>
> Agreed. For GTK, you can use a dedicated loop policy like this:
>
> import asyncio_glib
> asyncio.set_event_loop_policy(asyncio_glib.GLibEventLoopPolicy())
>
> It should be possible to make it this easy for asyncio + tkinter.
>

I haven't used GTK in ages and ages, but I do still have a tkinter program
that I drag out every now and then when my wrists start acting up. After
opining about this on the PyIdeas discuss forum, I spent a few minutes and
came up with a simple AsyncTk subclass of tkinter.Tk. Here's its hello
world:

https://gist.github.com/smontanaro/5e12c557602a76c609e46ca59387ad1c

I modified my activity watcher to use it:

https://github.com/smontanaro/python-bits/blob/master/src/watch.py

A few warnings:

   1. copy/paste reuse of that AsyncTk class
   2. the code is a mess (it's probably 20-25 years old, I make no
   apologies for the mess)
   3. as of about an hour ago it now uses pynput to watch for mouse/kbd
   watching

So, Tk+asyncio turns out to be fairly easy to do, at least for simple stuff.

Skip
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
On Fri, 1 Apr 2022 03:59:32 +1100, Chris Angelico 
declaimed the following:


>That's jmf. Ignore him. He knows nothing about Unicode and is
>determined to make everyone aware of that fact.
>
>He got blocked from the mailing list ages ago, and I don't think
>anyone's regretted it.
>
Ah yes... Unfortunately, when gmane made the mirror read-only, I had to
revert to comp.lang.python... and all the junk that gets in via that and
Google Groups...


-- 
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Dennis Lee Bieber
On Thu, 31 Mar 2022 16:22:33 -0700 (PDT), Grant Edwards
 declaimed the following:

>
>OWA is an HTTP-based API suspport by MS Exchange server.
>
From what I found, M$ doesn't consider OWA to be an API... It expands
to "Outlook Web App", period, (and more recently is called "Outlook for the
Web").

That would explain why there is no documentation of an "API"... I get
the impression that any so-called API programs have had to reverse engineer
(maybe using things like WireShark) the HTTP communication.


-- 
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Grant Edwards  wrote:

> Is anybody aware of any Python code for the Exchange OWA protocol/API?
>
> The OWA e-mail client I've been using has stopped working. It was a
> commerical Python application named Hiri, wich has been abandoned by
> the developer.

I'm trying out Thunderbird with an OWA plugin

https://www.beonex.com/owl/

and it's working very nicely. There are some quirks in Thunderbird
that I'm still tring to figure out, but I have the same issues if it
were using IMAP/SMTP.

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dan Ciprus (dciprus) via Python-list  
wrote:

> Yes, this ... I've been using this successfully for years and it
> obviously has its sad parts but it works pretty well overall.

Using the _OWA_ protocol? When our server switched from EWS to OWA, I
could no longer get it to work.

--
Grant


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Christian Gollwitzer  wrote:
> Am 31.03.22 um 16:41 schrieb Grant Edwards:
>> Is anybody aware of any Python code for the Exchange OWA protocol/API?
>> 
>> The OWA e-mail client I've been using has stopped working. It was a
>> commerical Python application named Hiri, wich has been abandoned by
>> the developer.
>> 
>> So, for now, I'm stuck with the OWA web client. It's clumsy and
>> everything takes 3X as long to accomplish as it would with a real
>> e-mail client, but I can survive with it if I have to. 
>
> I can recommend davmail as a workaround:
>
>   http://davmail.sourceforge.net/
>
> Davmail converts OWA into regular mail protocols like POP3, IMAP, SMTP. 
> You can use any email/calender client (I've used thunderbird) and most 
> of it worked well.

I used Davmail in the past when the server supported EWS. AFAICT, it
does not work with the current server. If you look at the Exchange
protocols listed at http://davmail.sourceforge.net/gettingstarted.html,
OWA is not one of them:

 * O365Modern Office 365 modern authentication (Oauth2)
 
 * O365Interactive Office 365 with interactive browser window, not
   available in headless mode (OpenJFX required)

 * O365Manual Office 365 with interactive dialog, not available in
   headless mode
 
 * O365 Office 365 EWS mode
 
 * EWS Exchange 2007 and later
 
 * WebDav Exchange 2007 and earliear WebDav mode
 
 * Auto WebDav mode with EWS failover

> Davmail is written in Java, not Python, but basically this should
> not matter if you only use it.

Have you used it with OWA as the protocol?

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dieter Maurer  wrote:
> Grant Edwards wrote at 2022-3-31 07:41 -0700:
>>Is anybody aware of any Python code for the Exchange OWA protocol/API?
>
> According to "https://en.wikipedia.org/wiki/Outlook.com#Mail_client_access;
> Outlook.com (the modern name for OWA) supports "pop3" and "imap",
> both supported by Python library modules.

No, outlook.com is a Microsft web hosting service.

OWA is an HTTP-based API suspport by MS Exchange server.

> Read the "Outlook.com" documentation about how you can connect
> via those protocols.

I don't want to connect to Outlook.com. I want to connect to an
Exchange server that doesn't not have IMAP, POP3, or SMTP enabled.

-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47120] Make all jump opcodes relative

2022-03-31 Thread Brandt Bucher


Brandt Bucher  added the comment:

Another benefit of this work is that we'll be able to remove `first_instr` from 
the eval loop.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47151] subprocess fails when used as init, vfork() returns EINVAL if PID=1

2022-03-31 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
assignee:  -> gregory.p.smith
resolution:  -> fixed
stage: patch review -> commit review
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Brandt Bucher


Change by Brandt Bucher :


--
nosy: +brandtbucher

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2022-03-31 Thread EZ


EZ  added the comment:

First, I hope we all agree:
'C:\Windows' and '/usr/bin' == absolute path
'Windows' and 'bin' == relative path
'C:\Program Files' and '/bin' == absolute path
'C:\Windows\..\Program Files' and '/usr/../bin' == relative path

It is very confusing between these two, but despite claims otherwise, 
absolute() does not work as expected. However, to sum up the findings below: 
* absolute() fails to resolve paths with relative steps (esp "..") but will 
always add the dir structure even if the file doesn't exist.
* resolve() will always give an absolute path.
** unless the file doesn't exist -- 
** unless unless the path includes a '..'! 
* There's also a related problem with is_absolute() being incorrect with 
relative paths (such as '..'), which usually results in it saying 
absolute().is_absolute() is True when it is obviously False.

Done on Windows 10, python 3.9.5

>>> ini
WindowsPath('desktop.ini/..')
>>> ini.resolve().is_absolute()
True
>>> ini.absolute()
WindowsPath('C:/Users/zim/Downloads/desktop.ini/..')
>>> ini.absolute().is_absolute()
True

This second should not be True, there is a trailing '..' not resolved by 
absolute()

Now let's create a truly messy path:
>>> ini.resolve()
WindowsPath('C:/Users/zim/Downloads')
>>> ini = ini / "ntuser.ini"
>>> ini.exists()
False
>>> ini.resolve()
WindowsPath('C:/Users/zim/Downloads/ntuser.ini')
>>> ini = ini / "../ntuser.ini"
>>> ini.exists()
False
>>> ini.resolve()
WindowsPath('C:/Users/zim/Downloads/ntuser.ini')
>>> ini = ini / "../../ntuser.ini"
>>> ini.resolve()
WindowsPath('C:/Users/zim/ntuser.ini')
>>> ini.exists()
True
>>> ini.absolute()
WindowsPath('C:/Users/zim/Downloads/desktop.ini/../ntuser.ini/../ntuser.ini/../../ntuser.ini')
>>> ini.absolute().is_absolute()
True

absolute() not only doesn't give an absolute path, but is_absolute() is somehow 
ok with that.

Now a file that doesn't exist:
>>> mike = Path("palin.jpg")
>>> mike.resolve()
WindowsPath('palin.jpg')
>>> mike.resolve().is_absolute()
False
>>> mike.absolute()
WindowsPath('C:/Users/zim/Downloads/palin.jpg')
>>> mike.absolute().is_absolute()
True

Finally, absolute() is right about the right thing, but resolve() is not 
terribly wrong. is_absolute() is correctly False here (for once). 

The problem is that the after a resolve() call, a Path object can still be used 
to create a file (good), but if resolve() is used before file creation, then 
the full path will not be there as should be expected (bad). This seems like a 
bug with resolve()

What if a file is non existent AND relative? Things get more confusing.

>>> badrel = Path('../circus.jpg')
>>> badrel
WindowsPath('../circus.jpg')
>>> badrel.absolute()
WindowsPath('C:/Users/zim/Downloads/../circus.jpg')
>>> badrel.resolve()
WindowsPath('C:/Users/zim/circus.jpg')
>>> badrel.exists()
False

So, absolute() still acts like the normal trash fire it is with relative paths, 
but what's this, resolve() actually gives an absolute path?!

I should note resolve() only behaves unpredictably on Windows. It correctly 
resolves non-existent files no matter what on macOS and Linux (caveat: my linux 
test was done with python 3.6). However, absolute() always fails to distill 
paths with relative steps regardless of OS.

So, it seems clear:
Bug 1: resolve() should work the same with non-existent files with incomplete 
paths on Windows as it does on *nix platforms, as it does on Windows when 
handling existent files and non-existent ones with parent path notation.
Bug 2: Obviously if absolute() is supposed to be in the lib, it should be 
documented, and it likely should be distinct from resolve(), but most of all: 
it should return actual absolute paths! If these cannot be fulfilled, it should 
be set to be deprecated (after resolve() is fixed, hopefully)
Bug 3: is_absolute() should actually detect absolute paths, instead it seems to 
report True if the path contains a root starting point, but ignores relative 
changes in between. (this issue exists on all three major OSs)

--
nosy: +Zim -45757
versions: +Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46841] Inline bytecode caches

2022-03-31 Thread Brandt Bucher


Change by Brandt Bucher :


--
pull_requests: +30297
pull_request: https://github.com/python/cpython/pull/3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46337] urllib.parse: Allow more flexibility in schemes and URL resolution behavior

2022-03-31 Thread Senthil Kumaran


Senthil Kumaran  added the comment:

I will review this in a day. 
I had been following the conversation, but couldn't look deeper into the code.
Thank you for engaging and contributions.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46337] urllib.parse: Allow more flexibility in schemes and URL resolution behavior

2022-03-31 Thread Ethan Furman


Ethan Furman  added the comment:

Sounds good.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46337] urllib.parse: Allow more flexibility in schemes and URL resolution behavior

2022-03-31 Thread Éric Araujo

Éric Araujo  added the comment:

I would like to know what Senthil is thinking before the PR with options à la 
carte are merged!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44159] mimetypes - "strict" on Windows

2022-03-31 Thread Mark Dong


Mark Dong  added the comment:

Hi, 

I want to follow up on this:

On Linux (Ubuntu 20.04.4 LTS), the module also loads everything it finds in the 
registries (a.k.a, entries in the "knownfiles" variable) in "strict" mode, even 
though some of them aren't registered in IANA. (I'm assuming that "registered 
in IANA" means everything in here only: 
https://www.iana.org/assignments/media-types/media-types.xhtml)

For example, ".com" is recognized as having mimetype 
"applications/x-msdos-program". This becomes problematic when an unparsed URL, 
such as "http://abc.efg/hij.html#http://abc.com;, is fed into guess_type.

I'm wondering if we should make the documentation clearer and state that 
"strict=True" means using IANA registered types along with the types found on 
the machine, it seems like this is the expected behavior based on the comments 
in "def _default_mime_types()", or we should actually move everything other 
than IANA registered types out of strict mode.

Best regards,
Mark

--
components:  -Windows
nosy: +markdtw
versions:  -Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30296
pull_request: https://github.com/python/cpython/pull/32221

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Exchange OWA using Python?

2022-03-31 Thread Dan Ciprus (dciprus) via Python-list
Yes, this ... I've been using this successfully for years and it obviously has 
its sad parts but it works pretty well overall.


From: Python-list  on behalf 
of Christian Gollwitzer 
Sent: Thursday, March 31, 2022 3:22 PM
To: python-list@python.org
Subject: Re: Exchange OWA using Python?

Am 31.03.22 um 16:41 schrieb Grant Edwards:
> Is anybody aware of any Python code for the Exchange OWA protocol/API?
>
> The OWA e-mail client I've been using has stopped working. It was a
> commerical Python application named Hiri, wich has been abandoned by
> the developer.
>
> So, for now, I'm stuck with the OWA web client. It's clumsy and
> everything takes 3X as long to accomplish as it would with a real
> e-mail client, but I can survive with it if I have to.

I can recommend davmail as a workaround:

http://davmail.sourceforge.net/

Davmail converts OWA into regular mail protocols like POP3, IMAP, SMTP.
You can use any email/calender client (I've used thunderbird) and most
of it worked well.

Davmail is written in Java, not Python, but basically this should not
matter if you only use it.

Christian
--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47151] subprocess fails when used as init, vfork() returns EINVAL if PID=1

2022-03-31 Thread miss-islington


miss-islington  added the comment:


New changeset 9ed179b07df6ce7432f972f5d069a7c8dee56e79 by Miss Islington (bot) 
in branch '3.10':
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
https://github.com/python/cpython/commit/9ed179b07df6ce7432f972f5d069a7c8dee56e79


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not

2022-03-31 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not

2022-03-31 Thread Andrew Svetlov


Andrew Svetlov  added the comment:


New changeset ab89ccff3ca6efc2a8e6f5f45c30d568fb3d212f by Andrew Svetlov in 
branch 'main':
bpo-45099: Document asyncio internal API (GH-32166)
https://github.com/python/cpython/commit/ab89ccff3ca6efc2a8e6f5f45c30d568fb3d212f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46111] test_unittest fails in optimized mode

2022-03-31 Thread Ezio Melotti


Change by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40469] TimedRotatingFileHandler rotating on use not time

2022-03-31 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

See this thread on Discuss:

https://discuss.python.org/t/logging-timedrotatingfilehandler-never-rotates-in-certain-cases/14747/1

--
nosy: +steven.daprano

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Eric Snow  added the comment:

Specifically: https://github.com/python/cpython/actions/workflows/build.yml.

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Eric Snow  added the comment:

I'll keep an eye on PRs for the next day or so.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47151] subprocess fails when used as init, vfork() returns EINVAL if PID=1

2022-03-31 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +30295
pull_request: https://github.com/python/cpython/pull/32219

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47151] subprocess fails when used as init, vfork() returns EINVAL if PID=1

2022-03-31 Thread Gregory P. Smith


Gregory P. Smith  added the comment:


New changeset 4a08c4c469d36f99d3a5e0f17ad82ab35dcf2835 by Gregory P. Smith in 
branch 'main':
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
https://github.com/python/cpython/commit/4a08c4c469d36f99d3a5e0f17ad82ab35dcf2835


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Exchange OWA using Python?

2022-03-31 Thread Christian Gollwitzer

Am 31.03.22 um 16:41 schrieb Grant Edwards:

Is anybody aware of any Python code for the Exchange OWA protocol/API?

The OWA e-mail client I've been using has stopped working. It was a
commerical Python application named Hiri, wich has been abandoned by
the developer.

So, for now, I'm stuck with the OWA web client. It's clumsy and
everything takes 3X as long to accomplish as it would with a real
e-mail client, but I can survive with it if I have to. 


I can recommend davmail as a workaround:

http://davmail.sourceforge.net/

Davmail converts OWA into regular mail protocols like POP3, IMAP, SMTP. 
You can use any email/calender client (I've used thunderbird) and most 
of it worked well.


Davmail is written in Java, not Python, but basically this should not 
matter if you only use it.


Christian
--
https://mail.python.org/mailman/listinfo/python-list


[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Eric Snow  added the comment:


New changeset e7bb7c2f047b4f97e4426c42ae209c969808069d by Eric Snow in branch 
'main':
bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects 
(gh-32218)
https://github.com/python/cpython/commit/e7bb7c2f047b4f97e4426c42ae209c969808069d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47183] Cant compile html docs

2022-03-31 Thread Zachary Ware


Change by Zachary Ware :


--
resolution:  -> works for me
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Chris Angelico
On Fri, 1 Apr 2022 at 03:45, Dennis Lee Bieber  wrote:
>
> On Thu, 31 Mar 2022 00:36:10 -0700 (PDT), moi 
> declaimed the following:
>
>  'äÄöÖüÜ'.encode('utf-8')
> >b'\xc3\xa4\xc3\x84\xc3\xb6\xc3\x96\xc3\xbc\xc3\x9c'
>  len('äÄöÖüÜ'.encode('utf-8'))
> >12
> 
>  ?
>
> Is there a question in there somewhere?
>
> Crystal ball is hazy...
>
> However... Note that once you encode the Unicode literal, you have a
> BYTE string. There are 12 bytes in that binary -- it is NOT considered
> Unicode at that point (only when you decode it with the same CODEC will it
> be Unicode).
>

That's jmf. Ignore him. He knows nothing about Unicode and is
determined to make everyone aware of that fact.

He got blocked from the mailing list ages ago, and I don't think
anyone's regretted it.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Dan Ciprus (dciprus) via Python-list
Our org does not have imap nor pop enabled so I guess it depends on your IT and 
what's enabled for your org. Just my $.02 ..


On Thu, Mar 31, 2022 at 07:12:10PM +0200, Dieter Maurer wrote:

Grant Edwards wrote at 2022-3-31 07:41 -0700:

Is anybody aware of any Python code for the Exchange OWA protocol/API?


According to "https://en.wikipedia.org/wiki/Outlook.com#Mail_client_access;
Outlook.com (the modern name for OWA) supports "pop3" and "imap",
both supported by Python library modules.

Read the "Outlook.com" documentation about how you can connect
via those protocols.
--
https://mail.python.org/mailman/listinfo/python-list


--
Daniel Ciprus  .:|:.:|:.
CONSULTING ENGINEER.CUSTOMER DELIVERY   Cisco Systems Inc.
dcip...@cisco.com
tel: +1-703-484-0205
mob: +1-540-223-7098

[ curl -L http://git.io/unix ]


signature.asc
Description: PGP signature
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Change by Eric Snow :


--
pull_requests: +30294
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32218

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

Great, thanks :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47151] subprocess fails when used as init, vfork() returns EINVAL if PID=1

2022-03-31 Thread Gregory P. Smith


Gregory P. Smith  added the comment:

Thanks. I had wondered if this was really a pid=1 restriction or not, but I 
could definitely imagine kernel scenarios where vfork is simply forbidden 
regardless. There are a variety of policy mechanisms in kernels, mainline Linux 
or not, that _could_ do that kind of thing.

As much as I'd like to expose that the fallback happened, emitting to stderr 
isn't friendly and using warnings from this code is complicated so I'm inclined 
to keep the silent fallback on failure simple as is until someone can 
demonstrate of it causing a practical problem.

Outside of unusual configurations, if this were ever happening when it is not 
expected, people observing low subprocess performance could strace and witness 
the vfork syscall failure.

I'll merge once our CI is happy.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

2022-03-31 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47176] Interrupt handling for wasm32-emscripten builds without pthreads

2022-03-31 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45886] Fix Program/_freeze_module for cross compiling Python

2022-03-31 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23325] Turn SIG_DFL and SIG_IGN into functions

2022-03-31 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47184] multiprocessing.set_start_method force argument is not documented

2022-03-31 Thread John Hagen


New submission from John Hagen :

multiprocessing.set_start_method() has a `force` argument that is not 
documented: 
https://docs.python.org/3.10/library/multiprocessing.html#multiprocessing.set_start_method

--
assignee: docs@python
components: Documentation
messages: 416451
nosy: John Hagen, docs@python
priority: normal
severity: normal
status: open
title: multiprocessing.set_start_method force argument is not documented
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Steve Dower


Steve Dower  added the comment:

Done. Feel free to push directly to the repo, and bear in mind that changes may 
be reflected in any version build at any point, which is why we use tags 
(ahem... mostly... we've gotten it wrong before). Fourth field of the version 
number is our private one, so it gets incremented if we need to patch or 
re-release something, rather than changing the tag, unless we really do want to 
force change the tag.

Feel free to reach out if you have any questions. Otherwise, SQLite updates are 
all yours :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Marco Sulla
On Thu, 31 Mar 2022 at 18:38, Cecil Westerhof via Python-list
 wrote:
> Most people think that
> Ubuntu is that also, because it is based on Debian. But Ubuntu wants
> also provide the newest versions of software and this will affect the
> stability and security negatively.

I think you're referring to the fact that Ubuntu releases a new stable
version every 6 months, while Debian every 2 years. This is true, but
Ubuntu also releases a LTS every 2 years. You can install a LTS and
change the options so you'll update the system only where a new LTS is
coming out. Furthermore you're not forced to upgrade, you can do it
when the LTS comes to the end.

On the other hand, you can live on the edge with Debian too. You can
install an unstable branch.

Furthermore, there's the company factor. According to Google, Debian
has about 1k devs, while Ubuntu only about 250. But these devs work
full time on Ubuntu and they are paid for. Not sure this is not an
important point. For what I know, historically the distros with the
reputation to be more stable are distros maintained by companies, Red
Hat and Gentoo for example.

About stability and security, I can't disagree. But I suppose the
people that use the unstable version of some Linux distro are useful
for testing and reporting bugs, also security one. So they contribute
to the stable versions, and I think we have to be grateful to these
"pioneers".
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Exchange OWA using Python?

2022-03-31 Thread Dieter Maurer
Grant Edwards wrote at 2022-3-31 07:41 -0700:
>Is anybody aware of any Python code for the Exchange OWA protocol/API?

According to "https://en.wikipedia.org/wiki/Outlook.com#Mail_client_access;
Outlook.com (the modern name for OWA) supports "pop3" and "imap",
both supported by Python library modules.

Read the "Outlook.com" documentation about how you can connect
via those protocols.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Temporally disabling buffering

2022-03-31 Thread Barry


> On 31 Mar 2022, at 17:39, Cecil Westerhof via Python-list 
>  wrote:
> 
> In Python when the output of a script is going to a pipe stdout is
> buffered. When sending output to tee that is very inconvenient.
> 
> We can set PYTHONUNBUFFERED, but then stdout is always unbuffered.
> 
> On Linux we can do:
>PYTHONUNBUFFERED=T script.py | tee script.log
> 
> Now the output is only unbuffered for the current run and buffered for
> other runs where the output goes to a pipe.

I prefer to use the -u when I run the output of python into the.

python -u script.py | tee script.log

And use py -u on windows.

Barry

> 
> -- 
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 

-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47172] Make virtual opcodes in the compiler negative and is_jump() identify only proper jumps

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
title: Make virtual opcodes in the compiler > 256 and is_jump() identify only 
proper jumps -> Make virtual opcodes in the compiler negative and is_jump() 
identify only proper jumps

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Temporally disabling buffering

2022-03-31 Thread Marco Sulla
Dirty suggestion: stderr?

On Thu, 31 Mar 2022 at 18:38, Cecil Westerhof via Python-list
 wrote:
>
> In Python when the output of a script is going to a pipe stdout is
> buffered. When sending output to tee that is very inconvenient.
>
> We can set PYTHONUNBUFFERED, but then stdout is always unbuffered.
>
> On Linux we can do:
> PYTHONUNBUFFERED=T script.py | tee script.log
>
> Now the output is only unbuffered for the current run and buffered for
> other runs where the output goes to a pipe.
>
> --
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Peter J. Holzer
On 2022-03-31 09:46:14 +0200, Cecil Westerhof via Python-list wrote:
> "Peter J. Holzer"  writes:
> > Standard policy (there are exceptions) on most distros is to stay with
> > the same version of any package for the entire lifetime. So for example,
> > Ubuntu 20.04 was released with Apache 2.4.41 and Python 3.8.10 and
> > Debian 11 was released with Apache 2.4.53 and Python 3.9.2 and they are
> > still on these versions. Any security fixes and other critical bug fixes
> > were back-ported to these versions.
> 
> Are you sure? In the past this was not the case, but it is possible
> that this has changed. (I do not really follow other distributions. I
> am quite happy with Debian.)

This has always been the case with Debian (they even created a special
repo for packages where this wasn't feasible, like browsers (which
typically update every few weeks and are too large for the security team
to backport security fixes).

In my experience it's also the case for Ubuntu (see the version numbers
I posted).

It also was the case for Redhat, but they seem to have switched to a
rolling updates model some time ago. I'm not sure how they handle that
now.

hp

-- 
   _  | Peter J. Holzer| Story must make more sense than reality.
|_|_) ||
| |   | h...@hjp.at |-- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |   challenge!"


signature.asc
Description: PGP signature
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
On Thu, 31 Mar 2022 00:36:10 -0700 (PDT), moi 
declaimed the following:

 'äÄöÖüÜ'.encode('utf-8')
>b'\xc3\xa4\xc3\x84\xc3\xb6\xc3\x96\xc3\xbc\xc3\x9c'
 len('äÄöÖüÜ'.encode('utf-8'))
>12
 
 ?

Is there a question in there somewhere?

Crystal ball is hazy...

However... Note that once you encode the Unicode literal, you have a
BYTE string. There are 12 bytes in that binary -- it is NOT considered
Unicode at that point (only when you decode it with the same CODEC will it
be Unicode).


-- 
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Cecil Westerhof via Python-list
"Peter J. Holzer"  writes:

> On 2022-03-30 08:48:36 +0200, Marco Sulla wrote:
>> On Tue, 29 Mar 2022 at 00:10, Peter J. Holzer  wrote:
>> > They are are about a year apart, so they will usually contain different
>> > versions of most packages right from the start. So the Ubuntu and Debian
>> > security teams probably can't benefit much from each other.
>> 
>> Are you sure? Since LTS of Debian and Ubuntu lasts 5 years, I suppose
>> the versions of the packages should overlap at some point in the past.
>
> Standard policy (there are exceptions) on most distros is to stay with
> the same version of any package for the entire lifetime. So for example,
> Ubuntu 20.04 was released with Apache 2.4.41 and Python 3.8.10 and
> Debian 11 was released with Apache 2.4.53 and Python 3.9.2 and they are
> still on these versions. Any security fixes and other critical bug fixes
> were back-ported to these versions.

Are you sure? In the past this was not the case, but it is possible
that this has changed. (I do not really follow other distributions. I
am quite happy with Debian.)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list


Temporally disabling buffering

2022-03-31 Thread Cecil Westerhof via Python-list
In Python when the output of a script is going to a pipe stdout is
buffered. When sending output to tee that is very inconvenient.

We can set PYTHONUNBUFFERED, but then stdout is always unbuffered.

On Linux we can do:
PYTHONUNBUFFERED=T script.py | tee script.log

Now the output is only unbuffered for the current run and buffered for
other runs where the output goes to a pipe.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Cecil Westerhof via Python-list
"Peter J. Holzer"  writes:

> On 2022-03-28 15:35:07 +0200, Cecil Westerhof via Python-list wrote:
>> "Loris Bennett"  writes:
>> > Ubuntu is presumably relying on the Debian security team as well as
>> > other volunteers and at least one company, namely Canonical.
>> 
>> Nope. One important reason that I really hate that people use Ubuntu
>> for servers is that Ubuntu wants to be up to date.
>
> Not sure what you mean by that.
>
> There is an Ubuntu LTS release every 2 years. There is also a Debian
> release roughly every 2 years (although not on quite as strict a
> schedule). So that's very similar.
>
>> So Ubuntu starts very close to Debian security wise, but will shift
>> rapidly.
>
> They are are about a year apart, so they will usually contain different
> versions of most packages right from the start. So the Ubuntu and Debian
> security teams probably can't benefit much from each other.

That is is what I partly mean.

Debian is very big on security and stability. Most people think that
Ubuntu is that also, because it is based on Debian. But Ubuntu wants
also provide the newest versions of software and this will affect the
stability and security negatively.
Even for a desktop I find stability and security more important as the
newest versions. That is why I even for the desktop use Debian.
Personally I find it strange that people choose newest versions over
stability and security for a server.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47183] Cant compile html docs

2022-03-31 Thread Zachary Ware


Zachary Ware  added the comment:

You have a rather old version of Sphinx; the 3.11 docs are built with v4.5.0.  
Try `make clean-venv venv html`?

--
nosy: +zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47183] Cant compile html docs

2022-03-31 Thread mike mcleod

New submission from mike mcleod :

After sync'ing to upstream/main and then
python/Doc on  main via  v3.11.0a6+ 
❯ make html
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees   -W . build/html 
Running Sphinx v3.5.4
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 495 source files that are out of date
updating environment: [new config] 495 added, 0 changed, 0 removed
reading sources... [100%] whatsnew/index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... failed

Warning, treated as error:
unsupported theme option 'license_url' given
make: *** [Makefile:53: build] Error 2

No changes to source.

--
assignee: docs@python
components: Documentation
messages: 416448
nosy: docs@python, mikecmcleod
priority: normal
severity: normal
status: open
title: Cant compile html docs
type: compile error
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40421] [C API] Add public getter functions for the internal PyFrameObject structure

2022-03-31 Thread Mark Shannon


Mark Shannon  added the comment:


New changeset 74b95d86e0f14603f878c4df3133bc8a93f8f80a by Mark Shannon in 
branch 'main':
bpo-40421: Add missing getters for frame object attributes to C-API. (GH-32114)
https://github.com/python/cpython/commit/74b95d86e0f14603f878c4df3133bc8a93f8f80a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Erlend E. Aasland

Erlend E. Aasland  added the comment:

> Erlend - would you be up for write permissions on the cpython-source-deps 
> repo so you can push the SQLite updates yourself.

Yep, I’m fine with that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32658] Metacharacter (\) documentation suggestion

2022-03-31 Thread mike mcleod


mike mcleod  added the comment:

After sync'ing to upstream/main and then running make html I get: ...
checking consistency... done
preparing documents... failed

Warning, treated as error:
unsupported theme option 'license_url' given
make: *** [Makefile:53: build] Error 2

I cant see anything from googling the error above.
This is before I have made any changes.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Eric Snow  added the comment:

Brandt pointed out this is consistently reproducible locally:

   make clean regen-all -j

I'll get this sorted out today.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-31 Thread Eric Snow


Eric Snow  added the comment:

I re-ran jobs that had failed before I merged that gh-32206.  Several passed, 
but the following are still failing:

* https://github.com/python/cpython/pull/32188
   + https://github.com/python/cpython/runs/5773938424
* https://github.com/python/cpython/pull/32132
   + https://github.com/python/cpython/runs/5774054192
* https://github.com/python/cpython/pull/32177
   + https://github.com/python/cpython/runs/5773949869

Back to the drawing board...

--
stage: patch review -> needs patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Steve Dower


Steve Dower  added the comment:

Erlend - would you be up for write permissions on the cpython-source-deps repo 
so you can push the SQLite updates yourself.

As I've mentioned before, merging PRs into that repo isn't any easier than 
doing it directly (since you also need to check file hashes and add a tag), but 
doing it yourself is easier than waiting on me or Zach.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes


Change by Christian Heimes :


--
versions:  -Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +30293
pull_request: https://github.com/python/cpython/pull/32217

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +30292
pull_request: https://github.com/python/cpython/pull/32216

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47158] logging.handlers.SysLogHandler doesn't get cleaned up properly on exit if it throws an exception

2022-03-31 Thread Enji Cooper

Enji Cooper  added the comment:

Grégory: that will fix this issue, but what I really need is some of the other 
changes, like moving the getaddrinfo logic into a separate route (connect).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread miss-islington


miss-islington  added the comment:


New changeset 44e915028d75f7cef141aa1aada962465a5907d6 by Christian Heimes in 
branch 'main':
bpo-47182: Fix crash by named unicode characters after interpreter 
reinitialization (GH-32212)
https://github.com/python/cpython/commit/44e915028d75f7cef141aa1aada962465a5907d6


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[Python-announce] Wing Python IDE version 8.3 has been released

2022-03-31 Thread Wingware
Wing 8.3 improves remote development by allowing it to work without an 
SSH agent or command line OpenSSH or PuTTY configuration. This release 
also supports forwarding of the SSH agent to the remote host, allows 
blocking access to any SSH agent, improves analysis of match/case 
statements, avoids reporting spurious exceptions in async def 
coroutines, and makes a number of other improvements to refactoring, 
code reformatting, debugging, and other features.


Details: https://wingware.com/news/2022-03-30
Downloads: https://wingware.com/downloads

== About Wing ==

Wing is a full-featured but light-weight Python IDE designed 
specifically for Python, with powerful editing, code inspection, 
testing, and debugging capabilities. Wing's deep code analysis provides 
auto-completion, auto-editing, code navigation, early error detection, 
and refactoring that speed up development. Its top notch debugger works 
with any Python code, locally or on a remote host, container, or 
cluster. Wing also supports test-driven development, version control, 
Python package management, UI color and layout customization, and 
includes extensive documentation and support.


Wing is available in three product levels:  Wing Pro is the 
full-featured Python IDE for professional developers, Wing Personal is a 
free Python IDE for students and hobbyists (omits some features), and 
Wing 101 is a very simplified free Python IDE for beginners (omits many 
features).


Learn more at https://wingware.com/


___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
Is anybody aware of any Python code for the Exchange OWA protocol/API?

The OWA e-mail client I've been using has stopped working. It was a
commerical Python application named Hiri, wich has been abandoned by
the developer.

So, for now, I'm stuck with the OWA web client. It's clumsy and
everything takes 3X as long to accomplish as it would with a real
e-mail client, but I can survive with it if I have to. [Retirement's
not that far away...] The main problem with the web client is lack of
notification when new mail arrives. Even if you always have a browser
running (I don't), and have a tab that has the OWA client running (I
often don't), notification doesn't seem to work reliably (and when it
does work, it doesn't use the standard linux desktop notification
system).

Back when the Exchange IMAP server was enabled (and I used mutt as my
e-mail client), I wrote a e-mail notifier app in Python/GTK, so I knew
when new mail was waiting.

I've been wondering if it would be possible to do the same thing using
the Exchange OWA API/protocol instead of IMAP?

But, I haven't found any Python support for OWA.  I've found libraries
for the older Exchange EWS API, but AFAICT the Exchange server in
question doesn't support EWS, only OWA.

I've also found a bunch of info for Outlook/REST and Office365/REST,
but I'm pretty sure those won't work either...

--
Grant



-- 
https://mail.python.org/mailman/listinfo/python-list


[issue47083] The __complex__ method is missing from the complex, float, and int built-in types

2022-03-31 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47178] Improve the implementations of Sequence.index and MutableSequence.extend in collections.abc

2022-03-31 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Marking as closed because the changes are incorrect.  See the comments in the 
PR.

--
assignee:  -> rhettinger
nosy: +rhettinger
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30291
pull_request: https://github.com/python/cpython/pull/32215

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread miss-islington


miss-islington  added the comment:


New changeset 98d57737de73342d33d1b90dc0285f586465d22b by Miss Islington (bot) 
in branch '3.9':
bpo-14911: Corrected generator.throw() documentation (GH-32207)
https://github.com/python/cpython/commit/98d57737de73342d33d1b90dc0285f586465d22b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread miss-islington


miss-islington  added the comment:


New changeset 625f6704c0d783360574bbab2f78b0b9bbed5891 by Miss Islington (bot) 
in branch '3.10':
bpo-14911: Corrected generator.throw() documentation (GH-32207)
https://github.com/python/cpython/commit/625f6704c0d783360574bbab2f78b0b9bbed5891


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47180] Remove unnecessary registration of weakref.WeakSet as a subtype of _collections_abc.Set

2022-03-31 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47180] Remove unnecessary registration of weakref.WeakSet as a subtype of _collections_abc.Set

2022-03-31 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
versions:  -Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread miss-islington


Change by miss-islington :


--
pull_requests: +30290
pull_request: https://github.com/python/cpython/pull/32214

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 8.0 -> 9.0
pull_requests: +30289
pull_request: https://github.com/python/cpython/pull/32213

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14911] generator.throw() documentation inaccurate

2022-03-31 Thread Andrew Svetlov


Andrew Svetlov  added the comment:


New changeset 8be7c2bc5ad5e295f0f855bb31db412eef2c7c92 by Dave Goncalves in 
branch 'main':
bpo-14911: Corrected generator.throw() documentation (GH-32207)
https://github.com/python/cpython/commit/8be7c2bc5ad5e295f0f855bb31db412eef2c7c92


--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47179] pymalloc should align to max_align_t

2022-03-31 Thread STINNER Victor


STINNER Victor  added the comment:

Oh, it seems like this issue is a duplicate of bpo-31912 created in 2017.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47179] pymalloc should align to max_align_t

2022-03-31 Thread STINNER Victor


STINNER Victor  added the comment:

Objects/obmalloc.c currently relies on the SIZEOF_VOID_P macro:
---
#if SIZEOF_VOID_P > 4
#define ALIGNMENT  16   /* must be 2^N */
#define ALIGNMENT_SHIFT 4
#else
#define ALIGNMENT   8   /* must be 2^N */
#define ALIGNMENT_SHIFT 3
#endif
---

If we want to respect sizeof(max_align_t) alignment, we can compute 
sizeof(max_align_t) in configure and uses the result in obmalloc.c. I expect 
that it's either 16 or 32, so we can maybe just hardcode ALIGNMENT_SHIFT using 
something like: "if == 32 ... #elif == 16 ... #else #error ...".

On x86 (32-bit) Fedora 35, gcc says 48 for sizeof(max_align_t) which is way 
larger than the current alignment to 8 bytes!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes


Change by Christian Heimes :


--
keywords: +patch
pull_requests: +30288
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/32212

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47179] pymalloc should align to max_align_t

2022-03-31 Thread STINNER Victor


STINNER Victor  added the comment:

On my x86-64 Fedora 35, gcc says 32 bytes for sizeof(max_align_t). By the way, 
g++ also says 32 bytes for sizeof(std::max_align_t).

GCC 11.2.1 defines max_align_t as:
---
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \
  || (defined(__cplusplus) && __cplusplus >= 201103L)
#ifndef _GCC_MAX_ALIGN_T
#define _GCC_MAX_ALIGN_T
/* Type whose alignment is supported in every context and is at least
   as great as that of any standard type not using alignment
   specifiers.  */
typedef struct {
  long long __max_align_ll __attribute__((__aligned__(__alignof__(long long;
  long double __max_align_ld __attribute__((__aligned__(__alignof__(long 
double;
  /* _Float128 is defined as a basic type, so max_align_t must be
 sufficiently aligned for it.  This code must work in C++, so we
 use __float128 here; that is only available on some
 architectures, but only on i386 is extra alignment needed for
 __float128.  */
#ifdef __i386__
  __float128 __max_align_f128 
__attribute__((__aligned__(__alignof(__float128;
#endif
} max_align_t;
#endif
#endif /* C11 or C++11.  */
---
file: /usr/lib/gcc/x86_64-redhat-linux/11/include/stddef.h

It's not an union but a structure with 2 fields (1 long long, 1 long double). 
The __i386__ macro is not defined on Linux x86-64, so the struct does not have 
the 3rd 128-bit float field.

align.c:
---
#include 
int main() { return sizeof(max_align_t); }
---

Build and run (C):
---
$ gcc align.c -o align && (./align; echo $?)
32
---


align.cpp:
---
int main() { return sizeof(std::max_align_t); }
---

Build and run (C++):
---
$ g++ align.cpp -o align && (./align; echo $?)
32
---

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes


New submission from Christian Heimes :

unicodeobject.c has a static pointer to a unicode name CAPI capsule:

   static _PyUnicode_Name_CAPI *ucnhash_capi = NULL;

The capsule is initialized on demand when the parser encounters a named unicode 
representation like "\N{digit nine}". Once the capsule pointer ucnhash_capi has 
been initialized, it is never reset. Not even a full interpreter shutdown 
invalidates the pointer.

A shutdown of the main interpreter with Py_Finalize() renders the pointer 
invalid. If the interpreter is re-initialized again, the invalid pointer causes 
a segfault. The problem was first discovered by Trey Hunner in 
https://github.com/ethanhs/python-wasm/issues/69

python.js:219 Uncaught RuntimeError: null function or function signature 
mismatch
at _PyUnicode_DecodeUnicodeEscapeInternal (unicodeobject.c:6493:25)
at decode_unicode_with_escapes (string_parser.c:121:13)
at _PyPegen_parsestr (string_parser.c:273:1)
at strings_rule (action_helpers.c:901:20)
at atom_rule (parser.c:14293:27)
at primary_rule (parser.c:13916:17)
at await_primary_rule (parser.c:13666:17)
at factor_rule (parser.c:13542:29)
at term_rule (parser.c:13330:17)
at sum_rule (parser.c:13044:17)

I can reproduce the issue with pure C code:

$ gcc -Xlinker -export-dynamic -g -IInclude/ -I. -o ucnbug ucnbug.c 
libpython3.11.a -lm -ldl
$ gdb ucnbug
(gdb) run
0
9
Done

1

Program received signal SIGSEGV, Segmentation fault.
0x in ?? ()
(gdb) bt
#0  0x in ?? ()
#1  0x005729a8 in _PyUnicode_DecodeUnicodeEscapeInternal (s=, s@entry=0x7fffea53b6d0 "\\N{digit nine}", size=, 
errors=errors@entry=0x0, 
consumed=consumed@entry=0x0, 
first_invalid_escape=first_invalid_escape@entry=0x7fffc748) at 
Objects/unicodeobject.c:6490
#2  0x00644fe3 in decode_unicode_with_escapes 
(parser=parser@entry=0x7fffea5e45d0, s=0x7fffea53b6d0 "\\N{digit nine}", 
s@entry=0x7fffea6af1d1 "\\N{digit nine}'", len=, 
len@entry=14, t=t@entry=0x7fffea606910) at Parser/string_parser.c:118
#3  0x00645675 in _PyPegen_parsestr (p=p@entry=0x7fffea5e45d0, 
bytesmode=bytesmode@entry=0x7fffc838, rawmode=rawmode@entry=0x7fffc83c, 
result=result@entry=0x7fffc848, 
fstr=fstr@entry=0x7fffc850, fstrlen=fstrlen@entry=0x7fffc858, 
t=0x7fffea606910) at Parser/string_parser.c:269
#4  0x00644163 in _PyPegen_concatenate_strings 
(p=p@entry=0x7fffea5e45d0, strings=strings@entry=0x94e310) at 
Parser/action_helpers.c:896
#5  0x004791e6 in strings_rule (p=p@entry=0x7fffea5e45d0) at 
Parser/parser.c:15463
#6  0x0047c498 in atom_rule (p=p@entry=0x7fffea5e45d0) at 
Parser/parser.c:14274
#7  0x0047e159 in primary_raw (p=0x7fffea5e45d0) at 
Parser/parser.c:13908
#8  primary_rule (p=p@entry=0x7fffea5e45d0) at Parser/parser.c:13706

--
components: Interpreter Core
files: ucnbug.c
messages: 416432
nosy: christian.heimes, lukasz.langa, pablogsal, vstinner
priority: high
severity: normal
status: open
title: _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer
type: crash
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file50708/ucnbug.c

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Mark Shannon


Mark Shannon  added the comment:


New changeset a00518d9ad9a8f408a9699191019d75dd8406c32 by Irit Katriel in 
branch 'main':
bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD 
(GH-32115)
https://github.com/python/cpython/commit/a00518d9ad9a8f408a9699191019d75dd8406c32


--
nosy: +Mark.Shannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47158] logging.handlers.SysLogHandler doesn't get cleaned up properly on exit if it throws an exception

2022-03-31 Thread Grégory Starck

Grégory Starck  added the comment:

Enji : you can use this then:

```
In [6]: class Fixed(logging.handlers.SysLogHandler):
   ...: def __init__(self, *a, **kw):
   ...: self.socket = None
   ...: super().__init__(*a, **kw)
   ...: def close(self):
   ...: if self.socket is None:
   ...: return
   ...: super().close()
```

that looks to be enough to prevent the issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Mariusz Felisiak


Mariusz Felisiak  added the comment:

https://sqlite.org/src/info/336851b191fe79f0 was merged to the 3.38 branch, so 
we should expect 3.38.3 in the coming days.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44740] Lowercase "Internet" and "web" in docs

2022-03-31 Thread Mariusz Felisiak


Change by Mariusz Felisiak :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44740] Lowercase "Internet" and "web" in docs

2022-03-31 Thread Mariusz Felisiak


Change by Mariusz Felisiak :


--
resolution:  -> fixed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[Python-announce] ANN: Leo 6.6 released

2022-03-31 Thread Edward K. Ream
Leo http://leoeditor.com 6.6 final is now available on GitHub
 and pypi
.

Leo is an IDE, outliner and PIM .

*The highlights of Leo 6.6*

   - Replaced @raw and @end_raw with @section-delims.
   - Leo recognizes section references only when they appear on an
   otherwise blank line.
   - Many improvements to the python-to-typescript command.
   - Improved python importer.
   - Added plugins/picture_viewer.py, a stand-alone app that displays
   images.
   - Added plugins/remove_duplicate_pictures.py, an app that finds
   duplicate pictures.
   - The user may choose *other* commands after starting
   repeat-complex-command.
   - Improved leoserver.py to support leointeg.
   - Many bug fixes.

*6.6 Links*

   - 6.6 issues
   

   - 6.6 pull requests
   
   - 6.6 bug fixes
   

   - 6.6 enhancements
   

   - 6.6 code-level improvements
   


*General Links*

   - Leo's home page: http://leoeditor.com
   - Documentation 
   - Tutorials 
   - Video tutorials 
   - Forum 
   - Download 
   - Leo on GitHub 
   - LeoVue 
   - What people are saying about Leo
   
   - A web page that displays .leo files
   
   - More links 

Edward
-
Edward K. Ream: edream...@gmail.com
An old man, crazy about computer programming.
Leo Editor: http://leoeditor.com/
-
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[issue47166] Dataclass transform should ignore TypeAlias variables

2022-03-31 Thread Eric V. Smith


Eric V. Smith  added the comment:

Same question as Alex: what does the TypeAlias being inside the class offer 
that being at module level doesn't?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47158] logging.handlers.SysLogHandler doesn't get cleaned up properly on exit if it throws an exception

2022-03-31 Thread Vinay Sajip


Vinay Sajip  added the comment:

The 3.8 branch is security-fix-only now, I'm afraid. And I'm not sure it's 
worth backporting this.

--
versions:  -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47166] Dataclass transform should ignore TypeAlias variables

2022-03-31 Thread Alex Waygood


Alex Waygood  added the comment:

I think implementing this would add complexity to the code in dataclasses.py 
(though Eric's the expert!).

For your use case, is it essential that the type alias declaration be inside 
the class scope? Would it be possible for you to simply have the alias 
declaration in the global scope instead?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >