[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

[issue23203] Aliasing import of sub-{module, package} from the package raises AttributeError on import.

2015-01-08 Thread Franck Michea
New submission from Franck Michea: Hi, for those of you that prefer to read an example, you can read that commented demonstration of the bug[1]. Today I discovered what I think is a bug in the import system. Here is the basic setup: We have three nested packages: foo -> bar -> baz. T

[issue20604] Missing invalid mode in error message of socket.makefile.

2014-02-11 Thread Franck Michea
New submission from Franck Michea: Hi! Noticed that the wrong mode was missing from the error message of socket.makefile. Nothing important, but this patch fixes the thing anyway, if you want it. -- components: Library (Lib) files: missing_mode_in_error.patch keywords: patch messages

[issue17239] XML vulnerabilities in Python

2013-02-19 Thread Franck Michea
Changes by Franck Michea : -- nosy: +kushou ___ Python tracker <http://bugs.python.org/issue17239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12077] Harmonizing descriptor protocol documentation

2013-02-11 Thread Franck Michea
Changes by Franck Michea : Added file: http://bugs.python.org/file29041/12077_descriptor_howto_python2.patch ___ Python tracker <http://bugs.python.org/issue12

[issue12077] Harmonizing descriptor protocol documentation

2013-02-11 Thread Franck Michea
Franck Michea added the comment: Here is at least a correction of Descriptors' HowTo. There are two versions since some stuff differs (object inheritance, ...). Here are some of my interrogations though: - RevealAccess is not using instance parameter, so value is shared. Is this int

[issue17157] issubclass() should accept iterables in 2nd arg

2013-02-09 Thread Franck Michea
Franck Michea added the comment: I am neutral on this too, it just felt odd and this is why the question raised. Yesterday I tried to add sequences and iterables (only to issubclass but indeed it would need better testing and all) and came to a problem with sequences. The current

[issue17151] Python 3 changement of behavior with __ne__: documentation not updated

2013-02-07 Thread Franck Michea
New submission from Franck Michea: Hi. As of python 3, behavior of object.__ne__ changed to call (not object.__eq__) if implemented. This changement can be seen in function object_richcompare in file Objects/typeobject.c. Documentation didn't change though, still saying[1] that "Th

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2013-01-05 Thread Franck Michea
Changes by Franck Michea : -- nosy: +kushou ___ Python tracker <http://bugs.python.org/issue16143> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16849] Element.{get, iter} doesn't handle keyword arguments when using _elementtree C accelerator.

2013-01-03 Thread Franck Michea
New submission from Franck Michea: Documentation: - http://docs.python.org/3.3/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.get - http://docs.python.org/3.3/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.iter These two functions are documented with

[issue8139] ossaudiodev not initializing its types

2010-03-15 Thread franck
Changes by franck : -- nosy: +fluxspir ___ Python tracker <http://bugs.python.org/issue8139> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth