[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2020-03-26 Thread Steve Dower


Steve Dower  added the comment:


New changeset 79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d by Zackery Spytz in 
branch 'master':
bpo-38410: Properly handle PySys_Audit() failures (GH-16657)
https://github.com/python/cpython/commit/79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d


--

___
Python tracker 

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



[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2020-03-26 Thread Steve Dower


Steve Dower  added the comment:

Sorry for missing the pings! My GitHub notifications are a bit of a black hole. 
I'll merge it now.

--

___
Python tracker 

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



[issue40074] pickle module dump and load: add support for string file names

2020-03-26 Thread Diego Palacios


New submission from Diego Palacios :

The pickle functions dump and load are often used in the following lines:

```python
import pickle

fname = '/path/to/file.pickle'

with open(fname, 'rb') as f:
object = pickle.load(f)
```

The load function should also accept a file name (string) as input and 
automatically open and load the object. The same should happen for the dump 
function. This would allow a simple use of the functions:

```python
object = pickle.load(fname)
```

This is what many users need when reading and storing and object from/to a file.

--
components: Library (Lib)
messages: 365061
nosy: Diego Palacios
priority: normal
severity: normal
status: open
title: pickle module dump and load: add support for string file names
type: enhancement
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



[issue40073] AIX: python3 points to "air"

2020-03-26 Thread Batuhan Taskaya


Change by Batuhan Taskaya :


--
nosy: +BTaskaya

___
Python tracker 

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



[issue40073] AIX: python3 points to "air"

2020-03-26 Thread Michael Felt


Michael Felt  added the comment:

I tried looking at the blurbs to get an idea of what might have been the change 
- but nothing to indicate a change to the install process in any of "next" NEWS 
blurbs that are currently in branch 3.7

NEWS.d/next/Build/README.rst
NEWS.d/next/C API/2020-03-08-22-56-22.bpo-38643.k2ixx6.rst
NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst
NEWS.d/next/C API/README.rst
NEWS.d/next/Core and Builtins/2018-09-23-16-32-58.bpo-22490.8e0YDf.rst
NEWS.d/next/Core and Builtins/2020-02-02-00-12-07.bpo-39520.uicBq6.rst
NEWS.d/next/Core and Builtins/2020-03-06-06-12-37.bpo-39871.dCAj_2.rst
NEWS.d/next/Core and Builtins/2020-03-06-21-04-39.bpo-38894.nfcGKv.rst
NEWS.d/next/Core and Builtins/2020-03-23-18-08-34.bpo-20526.NHNZIv.rst
NEWS.d/next/Core and Builtins/README.rst
NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst
NEWS.d/next/Documentation/README.rst
NEWS.d/next/IDLE/2020-03-06-01-55-14.bpo-39852.QjA1qF.rst
NEWS.d/next/IDLE/2020-03-08-14-27-36.bpo-39885.29ERiR.rst
NEWS.d/next/IDLE/2020-03-09-02-45-12.bpo-27115.8hSHMo.rst
NEWS.d/next/IDLE/README.rst
NEWS.d/next/Library/2020-03-05-00-57-49.bpo-39828.yWq9NJ.rst
NEWS.d/next/Library/2020-03-09-01-45-06.bpo-39850.eaJNIE.rst
NEWS.d/next/Library/2020-03-23-17-52-00.bpo-40014.Ya70VG.rst
NEWS.d/next/Library/2020-03-09-18-56-27.bpo-39916.BHHyp3.rst
NEWS.d/next/Library/2020-03-10-15-32-31.bpo-38662.o1DMXj.rst
NEWS.d/next/Library/2020-03-11-23-08-25.bpo-39652.gbasrk.rst
NEWS.d/next/Library/2020-03-19-19-40-27.bpo-40016.JWtxqJ.rst
NEWS.d/next/Library/README.rst
NEWS.d/next/Security/2020-03-14-14-57-44.bpo-38576.OowwQn.rst
NEWS.d/next/Security/README.rst
NEWS.d/next/Tests/2020-03-18-16-04-33.bpo-27807.9gKjET.rst
NEWS.d/next/Tests/README.rst
NEWS.d/next/Tools-Demos/2020-03-07-18-01-30.bpo-39889.l1czT6.rst
NEWS.d/next/Tools-Demos/2020-03-09-13-28-13.bpo-36184.BMPJ0D.rst
NEWS.d/next/Tools-Demos/README.rst
NEWS.d/next/Windows/2020-03-04-17-05-11.bpo-39847.C3N2m3.rst
NEWS.d/next/Windows/2020-03-11-10-15-56.bpo-39930.LGHw1j.rst
NEWS.d/next/Windows/README.rst
NEWS.d/next/macOS/README.rst

--

___
Python tracker 

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



[issue40069] Clear .lst files for AIX

2020-03-26 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

> .lst files are not created by default (by Python configure and make).

They are an artifact when I configure with xlc (CC=xlc ./configure && make 
-j24), and as far as I know we already have some compiler-specific clear 
conditions.

--

___
Python tracker 

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



[issue40073] AIX: python3 points to "air"

2020-03-26 Thread Michael Felt


New submission from Michael Felt :

This is a regression in v3.6.10 and v3.7.6

`make install` creates a symbolic link `python3` that points to the executable 
python3.X

In versions v3.6.10 and v3.7.6 the executable is created as python3.Xm while 
the symbolic link still points to python3.X

Note: v3.8.2 and v3.9 (master) do not appear to be affected)

--
components: Build
messages: 365058
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: AIX: python3 points to "air"
type: behavior
versions: Python 3.6, Python 3.7

___
Python tracker 

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



[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2020-03-26 Thread Zackery Spytz


Zackery Spytz  added the comment:

I had pinged Steve Dower on the PR, but I didn't realize they weren't notified. 
The merge conflicts have been fixed.

--

___
Python tracker 

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



[issue39502] test_zipfile fails on AIX due to time.localtime

2020-03-26 Thread Michael Felt

Michael Felt  added the comment:

My apologies for the late reply -

Here is 3.6.10:

Python 3.6.10 (default, Mar 24 2020, 14:12:31) [C] on aix5
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.gmtime(4386268800)
time.struct_time(tm_year=2108, tm_mon=12, tm_mday=30, tm_hour=0,
tm_min=0, tm_sec=0, tm_wday=6, tm_yday=365, tm_isdst=0)

And, a patched 3.9:

root@x064:[/data/prj/python/python-3.9]./python
Python 3.9.0a4+ (default, Mar 13 2020, 08:03:36) [C] on aix
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.gmtime(4386268800)
Traceback (most recent call last):
  File "", line 1, in 
OverflowError: timestamp out of range for platform time_t

So, it should be working - but is not after the patches. I'll work on an
update asap.

On 07/02/2020 18:57, STINNER Victor wrote:
> STINNER Victor  added the comment:
>
> Does time.gmtime() accept year after 2038 on 64-bit AIX? Example on Linux:
>
 time.gmtime(4386268800)
> time.struct_time(tm_year=2108, tm_mon=12, tm_mday=30, tm_hour=0, tm_min=0, 
> tm_sec=0, tm_wday=6, tm_yday=365, tm_isdst=0)
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue40069] Clear .lst files for AIX

2020-03-26 Thread Michael Felt


Michael Felt  added the comment:

the XLC compiler has an option to create "listing" files. The content depends 
on the arguments passed to the xlc compilers.

>From memory (as I always need to look them up) these include -qinfo and 
>-qsource (plus arguments)

FYI: besides showing info such as macro substitution these are also the files 
that would include the generate assembly/machine instructions.

.lst files are not created by default (by Python configure and make). If they 
are there, there are a user generated file. As .lst files are created in the 
cwd (current working directory) I keep myself 'clean' by building out of tree.

--

___
Python tracker 

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



[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-26 Thread Paulo Henrique Silva


Paulo Henrique Silva  added the comment:

The module still uses static state. Fixed the leak and will convert it to use 
per-module state in a separate issue.

--

___
Python tracker 

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



[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-26 Thread Paulo Henrique Silva


Change by Paulo Henrique Silva :


--
pull_requests: +18532
pull_request: https://github.com/python/cpython/pull/19172

___
Python tracker 

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



[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-26 Thread Paulo Henrique Silva


Paulo Henrique Silva  added the comment:

I've got it, will investigate asap.

--

___
Python tracker 

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



<    1   2