New submission from Marc Tamlyn:

platform.mac_ver() triggers the following deprecation warning:

python3.4 -Wall
Python 3.4.0b2 (v3.4.0b2:ba32913eb13e, Jan  5 2014, 11:02:52)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.mac_ver()
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/platform.py:652:
 DeprecationWarning: The readPlist function is deprecated, use load() instead
  pl = plistlib.readPlist(fn)
('10.9.1', ('', '', ''), 'x86_64')

----------
assignee: ronaldoussoren
components: Macintosh
messages: 207987
nosy: Marc.Tamlyn, ronaldoussoren
priority: normal
severity: normal
status: open
title: platform.py uses deprecated feature of plistlib
versions: Python 3.4

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

Reply via email to