[Python-Dev] ATTENTION: Python 3.8.0rc1 is due on Monday, Sep 30th

2019-09-27 Thread Łukasz Langa
Hello fellow core developers and testers,
as documented in PEP 569, we're less than 72 hours away from tagging the 
release candidate of Python 3.8.0. Ideally we'd only need one.

Sadly, at the moment we're looking rather miserable release-blocker wise:

https://bugs.python.org/issue?%40action=search&%40columns=activity&%40columns=id&%40columns=status&%40columns=title&%40pagesize=50&%40sort=activity&%40sortdir=on&%40startwith=0&ignore=file%3Acontent&priority=1&status=1&versions=22
 



The buildbots look better but they're also not perfect (there's too much red in 
recent history):

https://buildbot.python.org/all/#/grid?branch=3.8&tag=stable 



If you're on any of the release blockers, please work on fixing them ASAP.
If you're not on any release blockers, please avoid any commits to 3.8 for the 
time being.
The release candidate should ideally *be* 3.8.0, we don't want any untested 
last-minute changes.


Stabilizingly y'rs
- Ł


signature.asc
Description: Message signed with OpenPGP
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/IMCHZQGXRA2DAHCAQ33WMPGNA7KDVBFS/


[Python-Dev] Summary of Python tracker Issues

2019-09-27 Thread Python tracker

ACTIVITY SUMMARY (2019-09-20 - 2019-09-27)
Python tracker at https://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open7046 ( +3)
  closed 43001 (+56)
  total  50047 (+59)

Open issues with patches: 2795 


Issues opened (46)
==

#11410: Use GCC visibility attrs in PyAPI_*
https://bugs.python.org/issue11410  reopened by vinay.sajip

#18309: Make python slightly more relocatable
https://bugs.python.org/issue18309  reopened by mathias

#35886: Move PyInterpreterState into Include/internal/pycore_pystate.h
https://bugs.python.org/issue35886  reopened by vstinner

#37878: Sub-Interpreters : Document PyThreadState_DeleteCurrent()
https://bugs.python.org/issue37878  reopened by eric.snow

#38140: Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API
https://bugs.python.org/issue38140  reopened by petr.viktorin

#38174: Security vulnerability in bundled expat CVE-2019-15903 (fix av
https://bugs.python.org/issue38174  reopened by vstinner

#38234: The value of Py_SetPath is not used to populate the configurat
https://bugs.python.org/issue38234  reopened by vstinner

#38238: site.py reporting user site info even if ENABLE_USER_SITE=Fals
https://bugs.python.org/issue38238  opened by bjmuld

#38240: assertCountEqual is horribly misleading, sounds like only coun
https://bugs.python.org/issue38240  opened by vitaly.krug

#38241: Pickle with protocol=0 in python 3 does not produce a 'human-r
https://bugs.python.org/issue38241  opened by aggieNick02

#38242: Revert the new asyncio Streams API
https://bugs.python.org/issue38242  opened by yselivanov

#38243: A reflected XSS in python/Lib/DocXMLRPCServer.py
https://bugs.python.org/issue38243  opened by longwenzhang

#38248: inconsistency in asyncio.Task between cancellation while runni
https://bugs.python.org/issue38248  opened by njs

#38249: Optimize out Py_UNREACHABLE in the release mode
https://bugs.python.org/issue38249  opened by serhiy.storchaka

#38250: enum.Flag should be more set-like
https://bugs.python.org/issue38250  opened by John Belmonte

#38252: Use 8-byte step to detect ASCII sequence in 64bit Windows buil
https://bugs.python.org/issue38252  opened by Ma Lin

#38256: binascii.crc32 is not 64-bit clean
https://bugs.python.org/issue38256  opened by zmk

#38257: __pycache__ directory with World writable permission
https://bugs.python.org/issue38257  opened by SivaKumar NSK

#38258: ctypes ignores when a DLL function is called with too many arg
https://bugs.python.org/issue38258  opened by smernst

#38259: having a PriorityQueue in multiprocessing.queue module like in
https://bugs.python.org/issue38259  opened by Yair Bonastre

#38261: Tkinter CheckButton default label white in macOS dark mode
https://bugs.python.org/issue38261  opened by Ryang Sohn

#38263: [Windows] multiprocessing: DupHandle.detach() race condition o
https://bugs.python.org/issue38263  opened by vstinner

#38264: Makefile appears broken - touching header causes no build
https://bugs.python.org/issue38264  opened by vinay.sajip

#38266: Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal
https://bugs.python.org/issue38266  opened by wenzel

#38267: Add thread timeout for loop.shutdown_default_executor
https://bugs.python.org/issue38267  opened by aeros167

#38270: Tests: Avoid MD5 or check for MD5 availablity
https://bugs.python.org/issue38270  opened by christian.heimes

#38275: test_ssl: skip tests for disabled TLS/SSL versions
https://bugs.python.org/issue38275  opened by christian.heimes

#38276: test_asyncio: test_cancel_make_subprocess_transport_exec() fai
https://bugs.python.org/issue38276  opened by vstinner

#38277: Allowing conditions with assignment expressions in comprehensi
https://bugs.python.org/issue38277  opened by arne

#38278: Need a more efficient way to perform dict.get(key, default)
https://bugs.python.org/issue38278  opened by benspiller

#38279: multiprocessing example enhancement
https://bugs.python.org/issue38279  opened by BMV

#38280: Feature request: Add support to compile to native binary like 
https://bugs.python.org/issue38280  opened by WHK Yan

#38282: socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of ge
https://bugs.python.org/issue38282  opened by vstinner

#38283: sys._getframe(1).f_lineno changed behavior in 3.8
https://bugs.python.org/issue38283  opened by Thomas Haller

#38284: signal.sigwait* do not intercept certain signals
https://bugs.python.org/issue38284  opened by Blindfreddy

#38285: Asyncio BaseEventLoop can support socket types other than SOCK
https://bugs.python.org/issue38285  opened by malversan

#38286: tarfile forgets set sgid when targetpath has it
https://bugs.python.org/issue38286  opened by Charles Coulombe

#38287: tempfile.TemporaryDirectory() should behave the same as a cont
https://bugs.python.org/issue38287  opened by Pat Gunn

#38288: shutil.make_archive() should allow set

[Python-Dev] PEP 587 (Python Initialization Configuration) updated to be future proof again

2019-09-27 Thread Victor Stinner
Hi,

I dislike having to do that, but I had to make a last minute change in
my PEP 587 "Python Initialization Configuration" to allow to modify
the structure in the future without breaking the backward
compatibility. I added a "struct_size" field to PyPreConfig and
PyConfig:

* https://bugs.python.org/issue38304
* https://github.com/python/peps/commit/afa38c0bef7738b8fcc3173daee8488e0420833d

The example:

   PyConfig config;
   PyStatus status = PyConfig_InitPythonConfig(&config);
   ...

must now be written:

   PyConfig config;
   config.struct_size = sizeof(PyConfig);
   PyStatus status = PyConfig_InitPythonConfig(&config);
   ...

At the beginning, I used a private "_config_version" field which was
initialized statically by a macro. But it was decided to replace
macros with functions. I only noticed today that the conversion to
function broke the API/ABI future compatibility.

PyConfig_InitPythonConfig() got uninitialized memory and didn't know
the size of the config variable.

With my change, the function now requires the "struct_size" field to
be set, and so it can support internally different versions of the
PyConfig structure.

Storing the structure size directly in the structure is a common
practice in the Windows API which is a good example of long term ABI
compatibility.

--

By the way, last week, Pablo Galindo Salgado reported to me a
regression in PyInstaller caused by the implementation of my PEP.

I fixed different issues related to the "Path Configuration" (sys.path
in short), but I also added a lot of tests for this code. Previously,
there was simply no test on the path configuration!

I added a lot of comments to the C code, and I completed the public
documentation:
https://docs.python.org/dev/c-api/init_config.html#path-configuration

Please test the incoming Python 3.8.0rc1 release with your project if
you embed Python into your application. Please test also projects like
PyInstaller, PyOxidizer, etc.

Note: PyInstaller requires my fix for 3.8 (not merged yet):
https://github.com/pyinstaller/pyinstaller/pull/4440

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/C7Z2NA2DTM3DLOZCFQAK5A2WFYO3PHHX/