Raymond Hettinger added the comment:
I would like to see this and issue 8934 discussed as a usability bug. As far as I can tell, the current state of affairs an unintended by-product of a rushed effort to split the standard library to bytes apis and unicode apis. I don't see any reason that we should have to live with this forever.
----------
nosy: +rhettinger
_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue21071>
_______________________________________
New submission from Polux Moon:
when using a bool as parameter implementation (2.7) behave like:
sys.exit(True) <=> sys.exit(1)
sys.exit(False) <=> sys.exit(0)
so the bool indicate if the termination is abnormal
following the doc it should be equivalent to sys.exit(1) in all cases
if we assume the implementation is right, the doc should describe the behavior for boolean input
----------
assignee: docs@python
components: Documentation
messages: 232883
nosy: Polux.Moon, docs@python
priority: normal
severity: normal
status: open
title: sys.exit with bool parameter
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue23083>
_______________________________________
New submission from Chris Jerdonek:
The documentation for os.path.normcase(path) is currently confusing or self-contradictory.
Currently, it reads--
"Normalize the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive filesystems, it converts the path to lowercase."
However, with a case-insensitive file system on Mac OS X (e.g. "File System Personality: Journaled HFS+"), normcase() does not convert paths to lowercase.
As it stands, it seems like the clause "on case-insensitive filesystems, it converts the path to lowercase" should be removed or further qualified. I don't know what the qualification is though.
----------
assignee: docs@python
components: Documentation, Library (Lib)
messages: 232871
nosy: chris.jerdonek, docs@python
priority: normal
severity: normal
status: open
title: os.path.normcase documentation confusing
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5
_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue23079>
_______________________________________
R. David Murray added the comment:
A backward compatibility break would certainly need to be discussed, IMO.
----------
_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue21071>
_______________________________________