Re: [Python-Dev] CPython on Windows ARM32

2019-02-08 Thread Christian Heimes
On 07/02/2019 00.41, Ned Deily wrote:
> On Feb 6, 2019, at 18:28, Steve Dower  wrote:
>> On 06Feb2019 1423, Christian Heimes wrote:
>>> Do you want to update Python 3.8 (master) only or also 3.7? I'm not
>>> strictly against updating 3.7. However we have traditionally kept the
>>> OpenSSL version of each branch stable. 1.1.1 comes with new features,
>>> stricter security settings and some ciphers removed.
>> I would prefer to stay on 1.1.0 for 3.7, but it's up to the release manager.
> 
> Me, too.  I am concerned that 1.1.1 support has not had a lot of exposure 
> yet.  Even the "What's New" document for 3.7 states: "The ssl module has 
> preliminary and experimental support for TLS 1.3 and OpenSSL 1.1.1. "

That's from the alpha and beta phase of OpenSSL. Support for 1.1.1 is as
stable as it can get.

> I am OK with fixes for 1.1.1 support but I think it would be premature to 
> change the Windows and/or macOS installers from 1.1.0 to 1.1.1.

1.1.1a is a solid release. Debian testing, Fedora, and RHEL 8 beta have
been shipping and testing 1.1.1 for a while. In my professional opinion
it's less about stability but more about backwards compatibility issues.
TLS 1.3 behaves slightly differently and 1.1.1 has dropped some weak
ciphers.

Christian

___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 3.8.0a1 is now available for testing

2019-02-08 Thread Petr Viktorin

On 2/7/19 5:16 PM, Stephane Wirtel wrote:

On 02/06, Petr Viktorin wrote:

On 2/6/19 8:43 AM, Stephane Wirtel wrote:

On 02/05, Barry Warsaw wrote:

On Feb 5, 2019, at 02:24, Stephane Wirtel  wrote:
You’re welcome!  I just pushed an update to add 3.8.0a1 to the set 
of Python’s (including git head).  Do you think there’s a better way 
to publicize these images?


I know that Julien Palard wanted a docker image with all the versions of
Python, see: https://github.com/docker-library/python/issues/373

For my part, I wanted to propose a docker image with the last version of
Python and try to use it for the detection of bugs in the main python
projects (django, numpy, flask, pandas, etc...) with a CI (example:
Gitlab-CI)

First issue: pytest uses the ast module of python and since 3.8.0a1, the
tests do not pass -> new issue for pytest


FWIW, we're preparing to rebuild all Fedora packages with the 3.8 
alphas/betas, so everything's tested when 3.8.0 is released: 
https://fedoraproject.org/wiki/Changes/Python3.8

Hi Petr,

Will you execute the tests of these packages?


It's best practice to include the test suite in Fedora packages.
Sometimes it's not – e.g. if the tests need network access, or all extra 
testing dependencies aren't available, or most frequently, the 
maintainer is just lazy.
If you have a specific package in mind, I can check. Currently django & 
numpy get tested; flask & pandas don't.


For 3.7, we did the rebuild much later in the cycle. The builds 
themselves caught async/await SyntaxErrors, and tests caught a lot of 
StopIteration leaking. At the time it felt like no one really knew what 
porting to 3.7.0 would look like – similar to how people didn't think 
"unicode" would be a big problem in py3k. That's what we're trying to 
avoid for 3.8.0.



I have a small discussion with Julien Palard and I wanted to create a
small CI where I will execute the tests of the updated packages from
the RSS feed of PyPI.

The first one was pytest 


That sounds exciting! Something like that is on my "interesting possible 
projects" list, but alas, not at the top :(


___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] find_library and issue21622

2019-02-08 Thread Javier Castillo II
Ran into some issues trying to deploy in an alpine container, where I wound
up coming across the issue. I found a solution ( not sure if an ideal
solution can exist ) that walks the paths in the environment variable
LD_LIBRARY_PATH. This was submitted in github PR 10460, but not sure if
there were any technical issues with this impacting its review.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] About the future of multi-process Python

2019-02-08 Thread Antoine Pitrou
On Thu, 7 Feb 2019 12:19:14 -0600
Neil Schemenauer  wrote:
> On 2019-02-06, Antoine Pitrou wrote:
> > For maximum synergy between these initiatives and the resulting APIs,
> > it is better if things are done in the open ;-)  
> 
> Hi Antoine,
> 
> It would be good if we could have some feedback from alternative
> Python implementations as well.  I suspect they might want to 
> support these APIs.  Doing zero-copy or sharing memory areas could
> be a challenge with a compacting GC, for example.  In that case,
> having something in the API that tells the VM that a certain chunk
> of memory cannot move would be helpful.

Both PEP 574 and Davin's shared-memory work build on top of the
PEP 3118 buffer API.  So I would expect that any Python implementation
with support for the buffer API to have the required infrastructure
to also support those initiatives.  The details may deserve to be
clarified, though. I'll try to send an e-mail and ask for feedback.

Regards

Antoine.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Python tracker Issues

2019-02-08 Thread Python tracker


ACTIVITY SUMMARY (2019-02-01 - 2019-02-08)
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:
  open6998 (+13)
  closed 40696 (+47)
  total  47694 (+60)

Open issues with patches: 2783 


Issues opened (43)
==

#35885: configparser: indentation
https://bugs.python.org/issue35885  opened by mrs.red

#35886: Move PyInterpreterState into Include/internal/pycore_pystate.h
https://bugs.python.org/issue35886  opened by eric.snow

#35887: Doc string for updating the frozen version of importlib in _bo
https://bugs.python.org/issue35887  opened by nnja

#35888: ssl module - could not get the server certificate w/o complete
https://bugs.python.org/issue35888  opened by Lee Eric

#35889: sqlite3.Row doesn't have useful repr
https://bugs.python.org/issue35889  opened by vlad

#35891: urllib.parse.splituser has no suitable replacement
https://bugs.python.org/issue35891  opened by jaraco

#35892: Fix awkwardness of statistics.mode() for multimodal datasets
https://bugs.python.org/issue35892  opened by rhettinger

#35893: distutils fails to build extension on windows when it is a pac
https://bugs.python.org/issue35893  opened by ronaldoussoren

#35898: The TARGETDIR variable must be provided when invoking this ins
https://bugs.python.org/issue35898  opened by Thomas Trummer

#35899: '_is_sunder' function in 'enum' module fails on empty string
https://bugs.python.org/issue35899  opened by Maxpxt

#35900: Add pickler hook for the user to customize the serialization o
https://bugs.python.org/issue35900  opened by pierreglaser

#35901: json.dumps infinite recurssion
https://bugs.python.org/issue35901  opened by MultiSosnooley

#35903: Build of posixshmem.c should probe for required OS functions
https://bugs.python.org/issue35903  opened by nascheme

#35904: Add statistics.fmean(seq)
https://bugs.python.org/issue35904  opened by rhettinger

#35905: macOS build docs need refresh (2019)
https://bugs.python.org/issue35905  opened by jaraco

#35906: Header Injection in urllib
https://bugs.python.org/issue35906  opened by push0ebp

#35907: Unnecessary URL scheme exists to allow file:// reading file  i
https://bugs.python.org/issue35907  opened by push0ebp

#35912: _testembed.c fails to compile when using --with-cxx-main in th
https://bugs.python.org/issue35912  opened by pablogsal

#35913: asyncore: allow handling of half closed connections
https://bugs.python.org/issue35913  opened by Isaac Boukris

#35915: re.search extreme slowness (looks like hang/livelock), searchi
https://bugs.python.org/issue35915  opened by benspiller

#35918: multiprocessing's SyncManager.dict.has_key() method is broken
https://bugs.python.org/issue35918  opened by giampaolo.rodola

#35919: multiprocessing: shared manager Pool fails with AttributeError
https://bugs.python.org/issue35919  opened by giampaolo.rodola

#35920: Windows 10 ARM32 platform support
https://bugs.python.org/issue35920  opened by steve.dower

#35921: Use ccache by default
https://bugs.python.org/issue35921  opened by pitrou

#35922: robotparser crawl_delay and request_rate do not work with no m
https://bugs.python.org/issue35922  opened by joseph_myers

#35923: Update the BuiltinImporter in importlib to use loader._ORIGIN 
https://bugs.python.org/issue35923  opened by nnja

#35924: curses segfault resizing window
https://bugs.python.org/issue35924  opened by Josiah Ulfers

#35925: test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster
https://bugs.python.org/issue35925  opened by pablogsal

#35926: Need openssl 1.1.1 support on Windows for ARM and ARM64
https://bugs.python.org/issue35926  opened by Paul Monson

#35927: Intra-package References Documentation Incomplete
https://bugs.python.org/issue35927  opened by ADataGman

#35928: socket makefile read-write discards received data
https://bugs.python.org/issue35928  opened by pravn

#35930: Raising an exception raised in a "future" instance will create
https://bugs.python.org/issue35930  opened by jcea

#35931: pdb: "debug print(" crashes with SyntaxError
https://bugs.python.org/issue35931  opened by blueyed

#35933: python doc does not say that the state kwarg in Pickler.save_r
https://bugs.python.org/issue35933  opened by pierreglaser

#35934: Add socket.bind_socket() utility function
https://bugs.python.org/issue35934  opened by giampaolo.rodola

#35935: threading.Event().wait() not interruptable with Ctrl-C on Wind
https://bugs.python.org/issue35935  opened by Chris Billington

#35936: Give modulefinder some much-needed updates.
https://bugs.python.org/issue35936  opened by brandtbucher

#35937: Add instancemethod to types.py
https://bugs.python.org/issue35937  opened by bup

#35939: Remove urllib.parse._splittype from mimetypes.guess_type
https://bugs.python.org/issue35939  opened by corona10

#35940: multiprocessing manager tests fail in the Refleaks buildbots
https://bugs.p