Franck Pommereau added the comment:
Thanks for the explanation! Fixing is up to you, Python developers. But since
there's a simple workaround, maybe it doesn't worth the effort.
--
___
Python tracker
<https://bugs.python.o
Franck Pommereau added the comment:
I've just launched ipython3 (installed with pip):
$ ipython3
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python.
Franck Pommereau added the comment:
I have the problem still exists in 3.4.3 at least:
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import token
&
Franck Pommereau added the comment:
Actually, comparing with the content of tok_name, all the following constants
are missing:
COMMENT = 54
NL = 55
BACKQUOTE = 56
ATEQUAL = 57
--
___
Python tracker
<https://bugs.python.org/issue31
New submission from Franck Pommereau :
Module token does not have constant COMMENT. But tokenize produces it and it
appears in tok_name.
--
components: Library (Lib)
messages: 303901
nosy: fpom
priority: normal
severity: normal
status: open
title: Missing token.COMMENT
type
Franck Pommereau added the comment:
Sorry for the noise, I just discovered in the doc for os.mkdir that UMASK is
applied on the mode passed to the functions. So the behaviour is actually
correct.
--
resolution: -> not a bug
stage: -> resolved
status: open -&g
New submission from Franck Pommereau:
Documentation of os.makedirs says "The default mode is 0777 (octal)" but when I
use os.makedirs("foo"), the directory is created with permissions 0755.
Documentation should be updated or default mode fixed.
I've tested it only wi