Author martin.panter
Recipients Jelle Zijlstra, brett.cannon, ethan.furman, martin.panter, python-dev, serhiy.storchaka
Date 2016-08-27.01:56:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472262997.53.0.532836431021.issue26027@psf.upfronthosting.co.za>
In-reply-to
Content
This change causes test_os to produce warnings, and can fail:

$ hg update b64f83d6ff24
$ ./python -bWerror -m test -u all -W test_os
[. . .]
======================================================================
ERROR: test_path_t_converter (test.test_os.PathTConverterTests) (name='stat', path=bytearray(b'@test_12055_tmp'))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/disk/home/proj/python/cpython/Lib/test/test_os.py", line 2865, in test_path_t_converter
    result = fn(path, *extra_args)
DeprecationWarning: stat: path should be string, bytes, os.PathLike or integer, not bytearray

Similar warnings:
DeprecationWarning: lstat: path should be string, bytes or os.PathLike, not bytearray
DeprecationWarning: access: path should be string, bytes, os.PathLike or integer, not bytearray
DeprecationWarning: open: path should be string, bytes or os.PathLike, not bytearray
History
Date User Action Args
2016-08-27 01:56:37martin.pantersetrecipients: + martin.panter, brett.cannon, ethan.furman, python-dev, serhiy.storchaka, Jelle Zijlstra
2016-08-27 01:56:37martin.pantersetmessageid: <1472262997.53.0.532836431021.issue26027@psf.upfronthosting.co.za>
2016-08-27 01:56:37martin.panterlinkissue26027 messages
2016-08-27 01:56:37martin.pantercreate