[issue23710] C API doc for PyObject_HEAD is outdated

2015-03-19 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen: https://docs.python.org/3/c-api/structures.html#c.PyObject_HEAD says that the macro should be used for creating new types and that it has ob_type. Unfortunately at some point (@61466 perhaps) that definition in object.h was changed. This affects other

[issue18837] multiprocessing.reduction is undocumented

2013-08-25 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen: In older versions (2.x, 3.2, 3.3) multiprocessing.reduction was only mentioned in a one example, with a one comment after it. In the 3.4dev documentation even this was dropped. -- assignee: docs@python components: Documentation messages: 196184

[issue15890] lib2to3 pickles created with wrong permissions

2012-09-09 Thread Tomi Pieviläinen
Tomi Pieviläinen added the comment: > Tomi, do you find a different behavior in 3.2? No, the behaviour is the same in 2.6-3.2: no compiled files have permissions for other than root, and all non-compiled files do (because install is run with "-m 644"). What made me report this

[issue15890] lib2to3 pickles created with wrong permissions

2012-09-09 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen: The fix of #15822 caused another break. After installing 3.3rc2 from source, ls -ltc --full-time /usr/local/lib/python3.3/lib2to3/ shows: -rw---. 1 root root 1455 2012-09-09 20:55:36.475519602 +0300 PatternGrammar3.3.0.candidate.2.pickle -rw

[issue15822] Python 3.3 creates lib2to3 grammar in wrong order

2012-08-30 Thread Tomi Pieviläinen
Tomi Pieviläinen added the comment: Ah, sorry, forgot to add that info. I also am running ext4. -- ___ Python tracker <http://bugs.python.org/issue15822> ___ ___

[issue15822] Python 3.3 creates lib2to3 grammar in wrong order

2012-08-30 Thread Tomi Pieviläinen
Tomi Pieviläinen added the comment: Platform: RHEL 6.3 x86_64. 0. (remove old python 3 install, though this doesn't change anything) 1. Unpack 3.3rc1 source, cd Python-3.3.0rc1/ 2. ./configure; make 3. sudo make install 4. ls -ltc --full-time /usr/local/lib/python3.3/lib2to3/ This shows

[issue15822] Python 3.3 creates lib2to3 grammar in wrong order

2012-08-30 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen: Python 3.3rc1 source install modifies/installs lib2to3/Grammar.txt after modifying Grammar3.3.0.candidate.1.pickle: -rw-r--r--. 1 root root 6589 2012-08-27 13:25:33.190414570 +0300 Grammar.txt -rw-r--r--. 1 root root 20622 2012-08-27 13:25:33.150477192

[issue15317] Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle

2012-07-15 Thread Tomi Pieviläinen
Tomi Pieviläinen added the comment: On Sat, Jul 14, 2012 at 12:44:46PM +, Éric Araujo wrote: > > Éric Araujo added the comment: > > How did you configure and build? If you ran make as root it may explain this. Indeed I did do it as root for all steps. The umask for

[issue15317] Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle

2012-07-10 Thread Tomi Pieviläinen
Tomi Pieviläinen added the comment: Also PatternGrammar3.2.3.final.0.pickle is missing the read permissions. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15317] Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle

2012-07-10 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen : /usr/local/lib/python3.2/lib2to3/Grammar3.2.3.final.0.pickle is readable only by root after installing with make install from the source package. This makes at least installing distribute fail, and thus makes virtualenv, tox etc. unusable