[issue31726] Missing token.COMMENT

2017-10-09 Thread Franck Pommereau
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

[issue31726] Missing token.COMMENT

2017-10-08 Thread Franck Pommereau
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.

[issue31726] Missing token.COMMENT

2017-10-08 Thread Franck Pommereau
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 &

[issue31726] Missing token.COMMENT

2017-10-08 Thread Franck Pommereau
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

[issue31726] Missing token.COMMENT

2017-10-08 Thread Franck Pommereau
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

[issue31515] Doc for os.makedirs is inconsistent with actual behaviour

2017-09-19 Thread Franck Pommereau
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

[issue31515] Doc for os.makedirs is inconsistent with actual behaviour

2017-09-19 Thread Franck Pommereau
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