New submission from Serhiy Storchaka:

Proposed patch replaces all occurrences of sys.version[:3] with '%d.%d' % 
sys.version_info[:2]. The former doesn't work with non-one-digit versions (such 
as 3.10 and 10.1).

----------
components: Distutils, Library (Lib)
files: use_version_info.patch
keywords: patch
messages: 257279
nosy: dstufft, eric.araujo, lemburg, serhiy.storchaka, tarek
priority: normal
severity: normal
stage: patch review
status: open
title: Use sys.version_info instead of sys.version
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file41463/use_version_info.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25985>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to