[issue25187] bdist_rpm fails due to wrong hardcoded assumption about RPM filename format

2016-04-11 Thread David Ward
David Ward added the comment: Thanks again for your feedback. I revised this patch as requested to conform to changes also being made in issue 25627. Please review this new patch. I tested this successfully under both Python 3.4.3 and Python 2.7.11 on Fedora 23. Note that "import subpr

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2016-04-11 Thread David Ward
David Ward added the comment: This revised patch has a small change so that the subprocess output is decoded from a byte sequence to a string, which is necessary when running this under Python 3. With this change, this worked for me on Fedora 23 with Python 3.4.3. It also worked on Fedora 23

[issue25187] bdist_rpm fails due to wrong hardcoded assumption about RPM filename format

2016-04-11 Thread David Ward
David Ward added the comment: Please review this revised patch. Thank you. -- Added file: http://bugs.python.org/file42432/python-bdist_rpm-evaluate-_rpmfilename.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25187] bdist_rpm fails due to wrong hardcoded assumption about RPM filename format

2016-04-10 Thread David Ward
David Ward added the comment: Ping to review patch please... -- ___ Python tracker <http://bugs.python.org/issue25187> ___ ___ Python-bugs-list mailing list Unsub

[issue25187] bdist_rpm fails due to wrong hardcoded assumption about RPM filename format

2015-09-19 Thread David Ward
New submission from David Ward: bdist_rpm wrongly assumes a hard-coded format for the filename of the non-source RPM which is generated when it calls rpmbuild, specifically: "%{arch}/%{name}-%{version}-%{release}.%{arch}.rpm" The format used by rpmbuild is actually specified by the

[issue12578] Erratic socket.gaierror: [Errno 11004] when using smtplib

2011-07-17 Thread David Ward
New submission from David Ward : When migrating from python 2.7.1 to 2.7.2 (or 3.2) I get unpredictable /erratic exceptions thrown on constucting smtplib.SMTP: socket.gaierror: [Errno 11004] getaddrinfo failed Here is the call stack: File "**\mail.py", line 41, in Mail