[issue22107] tempfile module misinterprets access denied error on Windows
Serhiy Storchaka added the comment: What exceptions are raised on Windows when try to open a file in bad directory? open('foo').close() open('foo/bar') # what raised? open('nonexistent/bar') # what raised? If raised the same exceptions as on Linux, then perhaps the following patch fixes this issue. -- keywords: +patch nosy: +serhiy.storchaka stage: - patch review Added file: http://bugs.python.org/file38145/tempfile_bad_tempdir.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16124] fcntl_ioctl still not 100% sane with unsigned longs
Garrett Cooper added the comment: Another note: mixed endianness might have been a factor as previous versions of the product that were shipped used bi-arch x86 (32-bit userland on 64-bit kernel. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16124 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Serhiy Storchaka added the comment: And what returns os.access for writable directories and non-existent files? os.mkdir('dir') os.access('dir', os.W_OK) # what returns? os.access('nonexistent', os.W_OK) # what returns or raises? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16124] fcntl_ioctl still not 100% sane with unsigned longs
Serhiy Storchaka added the comment: This looks as a duplicate of issue521723 and issue1471. Do you have tests that demonstrate a failure with using ioctl on OpenBSD? May be there are problems on 64-bit big-endian platforms (or even on 64-bit little-endian if additional parameters are passed to ioctl). -- nosy: +gregory.p.smith, loewis, serhiy.storchaka stage: - test needed versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16124 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16124] fcntl_ioctl still not 100% sane with unsigned longs
Garrett Cooper added the comment: Yes, it's a duplicate. That being said, documentation alone it should be unsigned long for Darwin (OS/X), FreeBSD, OpenBSD. Looking at the definition for ioctl(2), the below example would cause a failure. I need to hunt around for a practical example as I don't have one offhand (it's something that was found a long time ago in a couple of python 2.6 at my current employer because they have ioctl's that go beyond the 32-bit boundary IIRC...) fuji:~ ngie$ clang -Wall -c test_ioctl.c fuji:~ ngie$ clang -DBROKEN -Wall -c test_ioctl.c test_ioctl.c:9:9: warning: incompatible pointer types initializing 'ioctl_t' (aka 'int (*)(int, int, ...)') with an expression of type 'int (int, unsigned long, ...)' [-Wincompatible-pointer-types] ioctl_t _ioctl = ioctl; ^~ 1 warning generated. fuji:~ ngie$ cat test_ioctl.c #include sys/ioctl.h #ifdef BROKEN typedef int (*ioctl_t)(int, int, ...); #else typedef int (*ioctl_t)(int, unsigned long, ...); #endif ioctl_t _ioctl = ioctl; fuji:~ ngie$ uname -a Darwin fuji.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Dec 17 19:05:52 PST 2014; root:xnu-2422.115.10~1/RELEASE_X86_64 x86_64 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16124 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21934] OpenBSD has no /dev/full device
Roundup Robot added the comment: New changeset 354c3b65e245 by Serhiy Storchaka in branch '2.7': Issue #21934: test_file2k no longer create regular file /dev/full on OpenBSD https://hg.python.org/cpython/rev/354c3b65e245 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21934 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21849] Fix multiprocessing for non-ascii data
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: -Fix unicodeless build of Python resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21849 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data
Rolf Krahl added the comment: The design goal for my implementation was compatibility. My version can be used as a drop in replacement for the existing urllib's HTTPHandler. The only thing that need to be changed in the calling code is that it must call build_opener() to select the chunked handler in the place of the default HTTPHandler. After this, the calling code can use the returned opener in the very same way as usual. I guess, switching to a push interface would require major changes in the calling code. In principle, you could certainly support both schemes at the same time: you could change the internal design to a push interface and than wrap this by a pull interface for the compatibility with existing code. But I'm not sure whether this would be worth the effort. If, as Piotr suggests, the current urllib is going to be replaced by urllib3, then I guess, its questionable if it makes sense to add major design changes that are incompatible with existing code to the current standard lib. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12319 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5700] io.FileIO calls flush() after file closed
Serhiy Storchaka added the comment: And here is a patch for 2.7. -- Added file: http://bugs.python.org/file38148/fileio_flush_closed-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21934] OpenBSD has no /dev/full device
Antoine Pitrou added the comment: Why the complication? You could just use open mode r+. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21934 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments
Changes by Tim Golden m...@timgolden.me.uk: -- components: +Windows nosy: +tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23465 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19681] test_repr (test.test_functools.TestPartialC) failures
Roundup Robot added the comment: New changeset 138c2afd9f1f by Serhiy Storchaka in branch '3.4': Issue #19681: Test the repr of partial with more than one keyword argument. https://hg.python.org/cpython/rev/138c2afd9f1f New changeset 6f80e8bcb5ad by Serhiy Storchaka in branch 'default': Issue #19681: Test the repr of partial with more than one keyword argument. https://hg.python.org/cpython/rev/6f80e8bcb5ad -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19681 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15178] Doctest should handle situations when test files are not readable
Serhiy Storchaka added the comment: Doctest still failed with backtrace if argument is a file name. $ ./python -m doctest aaa.py Traceback (most recent call last): File /home/serhiy/py/cpython/Lib/runpy.py, line 170, in _run_module_as_main __main__, mod_spec) File /home/serhiy/py/cpython/Lib/runpy.py, line 85, in _run_code exec(code, run_globals) File /home/serhiy/py/cpython/Lib/doctest.py, line 2795, in module sys.exit(_test()) File /home/serhiy/py/cpython/Lib/doctest.py, line 2773, in _test m = __import__(filename[:-3]) ImportError: No module named 'aaa' It would be good to have tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15178 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23374 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23408] Pickle tests use incorrect test data
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23408 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23096] Implementation-depended pickling floats with protocol 0
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23096 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6639] turtle: _tkinter.TclError: invalid command name .10170160
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6639 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23096] Implementation-depended pickling floats with protocol 0
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23096 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23096] Implementation-depended pickling floats with protocol 0
Roundup Robot added the comment: New changeset 8c9121993eb5 by Serhiy Storchaka in branch 'default': Issue #23096: Pickle representation of floats with protocol 0 now is the same https://hg.python.org/cpython/rev/8c9121993eb5 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23096 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23408] Pickle tests use incorrect test data
Serhiy Storchaka added the comment: Committed in d92a067464a0 and 3e4ed1a23cfc. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23408 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5700] io.FileIO calls flush() after file closed
Serhiy Storchaka added the comment: Added comments as Antoine suggested. -- versions: +Python 2.7 Added file: http://bugs.python.org/file38147/fileio_flush_closed_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6639] turtle: _tkinter.TclError: invalid command name .10170160
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6639 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package
Serhiy Storchaka added the comment: Added a test. -- Added file: http://bugs.python.org/file38146/pydoc_encoding_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23374 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23146] Incosistency in pathlib between / and \
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23146 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23452] Build errors using VS Express 2013 in win32 mode
Steve Dower added the comment: There's nothing wrong with that line, it's probably the Tk or Tcl build failing. Zach may have some ideas, or I'll play with it some more in the next few days. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23452 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19681] test_repr (test.test_functools.TestPartialC) failures
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19681 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21934] OpenBSD has no /dev/full device
Serhiy Storchaka added the comment: This was my first idea. But this would be different test. The behavior of files opened with w and r+ modes can be different. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21934 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20575] Type handling policy for the statistics module
Steven D'Aprano added the comment: Thanks for the note Mark. I need to give Oscar's comments some careful and distraction-free thought, but off the top of my head I think Oscar's suggestion to require consistent types seems reasonable, except that mixing int with any other type should be allowed. Otherwise, I think that the coercion rules for mixed float/Decimal/Fraction rapidly become intractable. -- assignee: - steven.daprano ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20575 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23239] SSL match_hostname does not accept IP Address
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23239 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23215] MemoryError with custom error handlers and multibyte codecs
Serhiy Storchaka added the comment: Thank you for your patch Aleksi. It LGTM in general. Updated patch just moves the test to Lib/test/test_multibytecodec.py where it can reuse ALL_CJKENCODINGS and fixes few other minor bugs in multibyte codecs. -- Added file: http://bugs.python.org/file38150/python_codec_crash_fix_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23215 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Serhiy Storchaka added the comment: Is there a difference if you do open(..., 'w')? It's a different enough operation that it may have a different error. Oh, yes, I forgot the 'w' mode. Mark, could you please run following test on Windows? import os open('foo', 'wb').close() flags = os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, 'O_NOFOLLOW', 0) | getattr(os, 'O_BINARY', 0) os.open('foo/bar', flags, 0o600) # what raised? os.open('nonexistent/bar', flags, 0o600) # what raised? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23215] MemoryError with custom error handlers and multibyte codecs
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23215 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23146] Incosistency in pathlib between / and \
Roundup Robot added the comment: New changeset 0f8f24dab34b by Antoine Pitrou in branch '3.4': Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib. https://hg.python.org/cpython/rev/0f8f24dab34b New changeset 0de45993c21c by Antoine Pitrou in branch 'default': Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib. https://hg.python.org/cpython/rev/0de45993c21c -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23146 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22687] horrible performance of textwrap.wrap() with a long word
Serhiy Storchaka added the comment: wordsplit_3.patch is wordsplit_2.patch with few added comments in tests. Is it enough? -- Added file: http://bugs.python.org/file38149/wordsplit_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22687 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Mark Lawrence added the comment: os.mkdir('dir') os.access('dir', os.W_OK) True os.access('nonexistent', os.W_OK) False open('dir/bar') Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'dir/bar' open('nonexistent/bar') Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent/bar' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23146] Incosistency in pathlib between / and \
Antoine Pitrou added the comment: Thanks for the patch! -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23146 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Serhiy Storchaka added the comment: Thank you Mark. Could you please make first test in msg236028 (when first part of the path is a file, not a directory)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23239] SSL match_hostname does not accept IP Address
Roundup Robot added the comment: New changeset b15a5f239e8a by Antoine Pitrou in branch 'default': Issue #23239: ssl.match_hostname() now supports matching of IP addresses. https://hg.python.org/cpython/rev/b15a5f239e8a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23239 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Mark Lawrence added the comment: open('README').close() open('README/bar') Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'README/bar' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Steve Dower added the comment: Is there a difference if you do open(..., 'w')? It's a different enough operation that it may have a different error. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19050] crash while writing to a closed file descriptor
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19050 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20140] UnicodeDecodeError in ntpath.py when home dir contains non-ascii signs
Vinay Sajip added the comment: There is a bug in distlib.resources. As far as I know, this is no longer the case - a change was made in distlib.resources to get around the problem: https://bitbucket.org/vinay.sajip/distlib/src/471427909ebbba2f4fa9f4cbc34f17bd2d31b8e3/distlib/resources.py?at=default#cl-31 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22390] test.regrtest should complain if a test doesn't remove temporary files
Serhiy Storchaka added the comment: What about this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22390 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21898] .hgignore: Missing ignores for Eclipse/pydev
Berker Peksag added the comment: Thanks for the patch! I'm -1 to adding IDE/editor specific files to .hgignore. You can create a global .hgignore instead. -- nosy: +berker.peksag resolution: - wont fix stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21898 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23469] Delete Misc/*.wpr files
New submission from Berker Peksag: Config/plugin/readme files for Emacs and Vim in Misc have been deleted. The only remaining ones are for Wing IDE. Here is a patch to remove these files. -- files: wpr.diff keywords: patch messages: 236082 nosy: berker.peksag priority: normal severity: normal stage: patch review status: open title: Delete Misc/*.wpr files versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file38153/wpr.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23469 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12782] Multiple context expressions do not support parentheses for continuation across lines
Steven D'Aprano added the comment: This has come up on Python-Ideas again: http://permalink.gmane.org/gmane.comp.python.ideas/32002 https://mail.python.org/pipermail/python-ideas/2015-February/032000.html -- nosy: +steven.daprano ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12782 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Serhiy Storchaka added the comment: Great. There is only one difference between Windows and Linux, but it affects only error type in tests. Here is a patch with updated test. It should now work on Windows. -- Added file: http://bugs.python.org/file38151/tempfile_bad_tempdir_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23468] ISO 8601 datetime process
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23468 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
STINNER Victor added the comment: As far as bytes formatting supports the %s code (an alias to %b) purely for compatibility with Python 2, it would be good to support the %r as an alias to %a. I don't like this idea. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Inconsistency between str and bytes formatting of integers - PEP 461: Inconsistency between str and bytes formatting of integers ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23466 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22211] Remove VMS specific code in expat.h xmlrole.h
STINNER Victor added the comment: Modules/expat is not a copy of a module hosted somewhere else? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22211 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21998] asyncio: support fork
Changes by STINNER Victor victor.stin...@gmail.com: -- title: asyncio: a new self-pipe should be created in the child process after fork - asyncio: support fork ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21998 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22087] asyncio: support multiprocessing (support fork)
Changes by STINNER Victor victor.stin...@gmail.com: -- title: asyncio: support multiprocessing (support fork=) - asyncio: support multiprocessing (support fork) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22087 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18932] Optimize selectors.EpollSelector.modify()
STINNER Victor added the comment: @Giampaolo: I'm not sure that I understood your proposition? Can you please write a patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18932 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22087] asyncio: support multiprocessing (support fork=)
Changes by STINNER Victor victor.stin...@gmail.com: -- title: asyncio: support multiprocessing - asyncio: support multiprocessing (support fork=) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22087 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23466] Inconsistency between str and bytes formatting of integers
New submission from Serhiy Storchaka: PEP 461 says that all numeric bytes formatting codes will work as they do for str. In particular b%x % val is equivalent to (%x % val).encode(ascii). But this is wrong with current implementation: '%x' % 3.14 Traceback (most recent call last): File stdin, line 1, in module TypeError: %x format: an integer is required, not float b'%x' % 3.14 b'3' The same is for %X, %o and %c. Raising TypeError on non-integer input to %c, %o, %x, and %X was added in issue19995. -- components: Interpreter Core messages: 236056 nosy: ethan.furman, serhiy.storchaka priority: normal severity: normal status: open title: Inconsistency between str and bytes formatting of integers type: behavior versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23466 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23468] ISO 8601 datetime process
SilentGhost added the comment: Perhaps I'm misinterpreting your message, but this doesn't seem like a problem with datetime module. The issue is with dateutil module, which is not the part of the standard library and is not developed here. Also, I can reproduce this issue on 3.4 (though I doubt it's awfully relevant). -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23468 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21998] asyncio: support fork
STINNER Victor added the comment: Can someone review at_fork-2.patch? Martin: Can you please try my patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21998 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
New submission from Serhiy Storchaka: The main motivation of PEP 461 was to help ease migration from, and/or have a single code base with, Python 2. But bytes formatting don't support the %r code supported in Python 2. Instead it supports the %a code which is exactly equivalent to the %r code in Python 2 but doesn't supported in Python 2. So it is not so easy to migrate from or have a single code base with Python 2 it the code uses the %r opcode. As far as bytes formatting supports the %s code (an alias to %b) purely for compatibility with Python 2, it would be good to support the %r as an alias to %a. -- components: Interpreter Core messages: 236057 nosy: ethan.furman, gvanrossum, serhiy.storchaka priority: normal severity: normal status: open title: Improve byte formatting compatibility between Py2 and Py3 type: enhancement versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
Mark Lawrence added the comment: open('foo', 'wb').close() flags = os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, 'O_NOFOLLOW', 0) | getattr(os, 'O_BINARY', 0) os.open('foo/bar', flags, 0o600) Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'foo/bar' os.open('nonexistent/bar', flags, 0o600) Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent/bar' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23468] ISO 8601 datetime process
New submission from Stoneagee: Code: import dateutil.parser from datetime import datetime a='0001-01-01T00:00:00+02:00' b='1964-01-01T00:00:00+02:00' ia=dateutil.parser.parse(a) ib=dateutil.parser.parse(b) print a print ia print b print ib output: 0001-01-01T00:00:00+02:00 2001-01-01 00:00:00+02:00 1964-01-01T00:00:00+02:00 1964-01-01 00:00:00+02:00 On wiki ISO 8601, under Combined date and time representations: If a time zone designator is required, it follows the combined date and time. For example 2007-04-05T14:30Z or 2007-04-05T12:30-02:00 I know you may have to fall back template on date such as 1/1/1, but this is ISO and according to my reading, it does not require one. BTW, my input comes from public posted information. Thanks, -- messages: 236059 nosy: Stoneagee priority: normal severity: normal status: open title: ISO 8601 datetime process type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23468 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
Guido van Rossum added the comment: Yeah, we probably got carried away by purity concerns. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19050] crash while writing to a closed file descriptor
STINNER Victor added the comment: I'm sorry, I can't try this myself as I no longer run 2.7. You should install Python 2.7 if you want to work on Python 2.7 only issue. It's not so hard to install Python, especially on Windows (this issue looks to be specific to Windows). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19050 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
Ethan Furman added the comment: Sometimes practicality wins; it's why we allow %s, and we should also allow %r. Both %s and %r need to be clearly documented as an aid to Py2/3 code bases, and not recommended for new code. Serhiy, do you have time to take of this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21934] OpenBSD has no /dev/full device
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21934 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22211] Remove VMS specific code in expat.h xmlrole.h
John Malmberg added the comment: These files are identical to the files in the expat git repository. So it looks like I need to submit the fix and get it accepted to that repository first. And then at some point cPython will pick up the change. I can still provide diffs if desired, but based on Victor's comment, they would not be applied. Historical Note: That VMS specific code is only needed for building on VAX/VMS 5.5-1 and earlier with the long obsolete VAX C. VAX/VMS 5.5-1 was released in June 1992. VAX/VMS 5.5-2 was released November 1992, and around that time a new DEC C compiler release appeared that no longer needed that hack, but used it as the default mode for backwards compatibility. That default mode is not compatible with many Open Source projects. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22211 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22885] Arbitrary code execution vulnerability due to unchecked eval() call in dumbdbm module
Roundup Robot added the comment: New changeset 02865d22a98d by Serhiy Storchaka in branch '2.7': Issue #22885: Fixed arbitrary code execution vulnerability in the dumbdbm https://hg.python.org/cpython/rev/02865d22a98d New changeset 693bf15b4314 by Serhiy Storchaka in branch '3.4': Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb https://hg.python.org/cpython/rev/693bf15b4314 New changeset cf6a62b0ef3b by Serhiy Storchaka in branch 'default': Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb https://hg.python.org/cpython/rev/cf6a62b0ef3b -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22885 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5700] io.FileIO calls flush() after file closed
Martin Panter added the comment: For the record, the python-dev thread referenced in the original post is https://mail.python.org/pipermail/python-dev/2009-April/088212.html. The obvious fix to me is to have FileIO.close() call IOBase.close() to invoke the flush() before continuing with its own closing. This is what Serhiy’s patches appear to do, so I agree with them in general. I do wonder what the point of duplicating test code in test_io and test_fileio is. The only difference seems to be calling open() versus calling FileIO() directly. Wouldn’t it be better to merge the code together, or maybe just assert open() returns a FileIO instance? -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22885] Arbitrary code execution vulnerability due to unchecked eval() call in dumbdbm module
Serhiy Storchaka added the comment: Committed issue22885.patch with modified test which demonstrates vulnerability of unpatched dbm.dumb. If you want to change exception type raised by dbm.dumb, you can open new issue. -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22885 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package
Martin Panter added the comment: Patch looks sensible to me. This is another example of where Issue 15216 would be useful (a standard way to modify the encoding settings of a stream). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23374 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20140] UnicodeDecodeError in ntpath.py when home dir contains non-ascii signs
Serhiy Storchaka added the comment: Yes, the implementation of os.path is alright. There is a bug in distlib.resources. And the lack of os.path documentation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package
Serhiy Storchaka added the comment: In the case of this issue pydoc needs change not the encoding of stdout, but errors handler of stdout. There is similar issue with pprint (issue19100). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23374 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23457] make test failures
David Edelsohn added the comment: When you configure Python, you can specify an installation directory, which defaults to /usr/local. make install will overwrite the Python installation in the specified (possibly default) installation location, but not versions installed in other locations on the systems. The focus of AIX is as a server system, not a deskside system with a graphical user interface. AIX also has many differences from Linux and other SVR4 systems in the way that libraries and shared libraries are built and linked. Firefox is a very complicated application and I doubt that you will have a lot of success building and running it on AIX. If you really need Firefox web browser on your AIX desktop, I strongly suggest that you run Firefox on another system and use the display option to instruct the window to appear on the AIX X Window System. In other words, you can have the web browser appear on the AIX system display without running the web browser on the AIX system. If you need access to local files, you can mount the AIX filesystems on the remote system running the web browser. The Python testsuite errors probably are not the cause of your Firefox build problems. And fixing Python or trying to build Firefox on AIX probably are not effective use of your time and not the best way to solve the real problem of access to a web browser on an AIX display. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23440] Extend http.server.SimpleHTTPRequestHandler testing
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23440 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
Serhiy Storchaka added the comment: The implementation is easy -- just add case 'r': before case 'a':. The hard (to me) part is the documentation, so that I'm out of the game. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23467] Improve byte formatting compatibility between Py2 and Py3
Changes by Ethan Furman et...@stoneleaf.us: -- assignee: - ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23467 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18932] Optimize selectors.EpollSelector.modify()
Giampaolo Rodola' added the comment: Attached is a patch (for epoll only) which updates the SelectorKey. This introduces a considerable slowdown compared to my first patch: no patch:16.2 usec per loop your patch: 12.4 usec per loop my patch:10.9 usec per loop first patch: 3.07 usec per loop The culprit is the new nameduple's _replace() call. It's a shame a single line adds such a great slowdown. I think it makes sense to investigate whether we can introduce a faster replace mechanism for namedtuple. -- nosy: +rhettinger Added file: http://bugs.python.org/file38152/epoll.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18932 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23468] ISO 8601 datetime process
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - third party stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23468 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
Berker Peksag added the comment: Buildbots are not happy: == ERROR: test_write_filtered_python_package (test.test_zipfile.PyZipFileTests) -- Traceback (most recent call last): File D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_zipfile.py, line 733, in test_write_filtered_python_package self.requiresWriteAccess(packagedir) File D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_zipfile.py, line 683, in requiresWriteAccess if not os.access(path, os.W_OK, effective_ids=True): NotImplementedError: access: effective_ids unavailable on this platform http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/9269/steps/test/logs/stdio -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17753 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23457] make test failures
Dwight added the comment: Hi David, Thanks for the feed back. I must have a defective distribution because when installed python 3 it did not remove the older python 2. Also for some reason I have to set the LIBPATH to include the path to python libarary. Don't know why; but the build does not build a python module that know where the library is installed. I understand that IBM no longer sells workstations based on the Power processor; but there are a few of us out here that have been working on RT/PC, RS/6000 and pSeries system for close to 20 years. It is not a simple project to just up and move to a different environment even if it is another UNIX system. (I have a number of assembly applications that I use every day! Optimized for the Power processor!) I have used the new python to successfully build atk; but am having problems with GObject-Introspection 1.42. It seems that python 3 broke something in that distribution. So far I have not been able to determine if there is a fix for the problem. I have two power systems. A 9114-275 Intellistation and a pSeries 520. Both are configured as workstations. I certaily would rather not have to spend my time trying to build firefox; but I need firefox to access the AIX support site and the H/W and S/W documentation site. (It took about a year for someone to fix it so that I could access the online support site. They at least admitted it was there fault that I could not access the site. However; the current support person/group will not even admit that there is a problem.) Well enough of this off the subject stuff. Thanks for the information and comments. I guess I am now off to solving the GObject-Introspection 1.42 problem. Humm! Have you heard about this incompatability problem? Thanks, Dwight -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
Roundup Robot added the comment: New changeset 59716f28ed30 by Berker Peksag in branch '3.4': Issue #17753: effective_ids unavailable on Windows. https://hg.python.org/cpython/rev/59716f28ed30 New changeset 964753cf09de by Berker Peksag in branch 'default': Issue #17753: effective_ids unavailable on Windows. https://hg.python.org/cpython/rev/964753cf09de -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17753 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11717] conflicting definition of ssize_t in pyconfig.h
Mark Lawrence added the comment: Can we have a formal patch review please? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11717 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10818] pydoc: Remove old server and tk panel
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10818 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20833] scripts\pydocgui.pyw out of date
Berker Peksag added the comment: pydocgui.pyw was removed in https://hg.python.org/cpython/rev/2e578b80c2f3. msi.py was updated in issue 14512. Closing this as out of date. -- nosy: +berker.peksag resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20833 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14512] Pydocs module docs server not working on Windows.
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14512 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20069] Add unit test for os.chown
Serhiy Storchaka added the comment: Tests failed on Solaris: http://buildbot.python.org/all/builders/AMD64%20Solaris%2011%20%5BSB%5D%203.x/builds/3895/steps/test/logs/stdio == FAIL: test_chown_without_permission (test.test_os.ChownFileTests) -- PermissionError: [Errno 1] Not owner: '@test_18916_tmp' During handling of the above exception, another exception occurred: Traceback (most recent call last): File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_os.py, line 1080, in test_chown_without_permission os.chown(support.TESTFN, uid_2, gid) AssertionError: Operation not permitted does not match [Errno 1] Not owner: '@test_18916_tmp' -- -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20069 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20069] Add unit test for os.chown
Roundup Robot added the comment: New changeset 4cea99f51bfe by Serhiy Storchaka in branch 'default': Issue #20069: Fixed test_os on Solaris: error message is platform depended. https://hg.python.org/cpython/rev/4cea99f51bfe -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20069 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22834] Unexpected FileNotFoundError when current directory is removed
Serhiy Storchaka added the comment: Tests failed on Solaris: http://buildbot.python.org/all/builders/AMD64%20Solaris%2011%20%5BSB%5D%203.x/builds/3895/steps/test/logs/stdio == ERROR: test_deleted_cwd (test.test_importlib.import_.test_path.Source_FinderTests) -- Traceback (most recent call last): File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_importlib/import_/test_path.py, line 167, in test_deleted_cwd os.chdir(path) File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/tempfile.py, line 711, in __exit__ self.cleanup() File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/tempfile.py, line 715, in cleanup _shutil.rmtree(self.name) File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/shutil.py, line 474, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/shutil.py, line 472, in rmtree os.rmdir(path) OSError: [Errno 22] Invalid argument: '/tmp/tmpsx3fm0t4' -- -- nosy: +serhiy.storchaka resolution: fixed - stage: resolved - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22834 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17753 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
Serhiy Storchaka added the comment: Thanks Berker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17753 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7
Roundup Robot added the comment: New changeset a1391786abcd by Serhiy Storchaka in branch '2.7': Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7). https://hg.python.org/cpython/rev/a1391786abcd -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22071] Remove long-time deprecated attributes from smtpd
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22071 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com