[New-bugs-announce] [issue33161] Refactor of pathlib's _WindowsBehavior.gethomedir

Ekin Dursun report at bugs.python.org
Tue Mar 27 20:47:21 EDT 2018


New submission from Ekin Dursun <ekindursun at gmail.com>:

At line 245, default value for drv is provided with KeyError handling, but it is better to use dict's get method.

----------
components: Library (Lib), Windows
messages: 314562
nosy: onlined, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Refactor of pathlib's _WindowsBehavior.gethomedir
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33161>
_______________________________________


More information about the New-bugs-announce mailing list