Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Maybe issue #9299 could be fixed first. Next you could backport new
os.makedirs() in distutils2/_backport/os.py.
--
___
Python tracker rep...@bugs.python.org
http
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I want to eliminate ABI flags in file names.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10262
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I suggest to backport only makedirs() function.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9281
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
About --enable-loadable-sqlite-extensions=no, this behavior also occurs with
--with-system-expat=no and --with-system-ffi=no options. Please file a new
issue, add me to nosy list and I will attach a patch
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I'm attaching the patch for py3k branch. A part of this patch could be applied
also in 2.7 and 3.1 branches.
--
keywords: +patch
Added file: http://bugs.python.org/file19851/python-3.2-issue10558.patch
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
2.7 branch: --with-system-expat and --with-system-ffi
3.1 branch: --with-system-ffi
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10558
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8194
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
r86611 has introduced a regression:
$ mkdir dir1 dir2
$ python3.1 -m compileall dir1 dir2
Listing dir1 ...
Listing dir2 ...
$ python3.2 -m compileall dir1 dir2
usage: compileall.py [-h] [-l] [-f] [-q] [-b] [-d DESTDIR
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Please also fix it in py3k branch in Lib/xmlrpc/client.py.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8194
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10642
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I suggest to:
- Print path to the .pth file, which causes exception. Current traceback
doesn't help in finding the cause of problem:
# echo import nonexistent /usr/lib64/python3.2/site-packages/some_file.pth
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10677
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10679
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10663
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue969718
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
$ make DESTDIR=/var/tmp/portage/dev-lang/python-3.2_pre20101212/image/
altinstall
Creating directory /usr/bin
Creating directory /usr/lib64
/usr/bin/install -c python
/var/tmp/portage/dev-lang/python
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The patch works correctly for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10687
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10764
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
$(CC) and $(CXX) should be expanded by `make`, but configure.in contains wrong
quoting, which results in incorrect expansion during running `configure`.
-LDSHARED=$(CC) -shared
-LDCXXSHARED=$(CXX) -shared;;
+LDSHARED
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
r82912 introduced NameError for ST_MTIME in Lib/logging/handlers.py on 3.1
branch. It's a regression in 3.1.3. The code in 3.2 is correct.
-from stat import ST_DEV, ST_INO
+from stat import ST_DEV, ST_INO
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Apparently this patch isn't sufficient for test___all__.
Please create empty _xmlplus directory (without __init__.py) in site-packages
directory appropriate for given sys.prefix (e.g.
/usr/lib/python3.2/site-packages
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I rather doubt that there will be any problem with Python invoked through a
wrapper.
Gentoo's python-wrapper isn't used when target executable (e.g.
/usr/bin/python3.1) is directly called. A side effect of python
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5871
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
This change was backported to 2.7 (r87701) and 3.1 (r87702).
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10013
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6203
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11022
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
title: locale.setlocale() doesn't change I/O codec, os.environ -
locale.setlocale() doesn't change I/O codec, os.environ does
___
Python tracker rep...@bugs.python.org
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
title: 3.x locale does not default to C,contrary to the documentation
and to 2.x behavior - 3.x locale does not default to C, contrary to the
documentation and to 2.x behavior
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10148
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I'm attaching the patch, which works for me.
- New, private variable (_PYTHONNOSITEPACKAGES) disables addition of
site-packages directories to sys.path.
- regrtest.py always runs test_site.py in a subprocess
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Added file: http://bugs.python.org/file20584/python-2.7-issue1674555.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1674555
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Martin v. Löwis:
It seems that your web browser replaces , with ,\t in the title (where
\t is a tab character) each time you add a comment.
--
___
Python tracker rep
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11063
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever, georg.brandl
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11121
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
Lib/xml/__init__.py since r16544 tries to replace xml package with _xmlplus
package from PyXML. PyXML is no longer maintained and doesn't support Python 3,
so it should be safe to remove PyXML-related code in Lib
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11197
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11200
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11235
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11259
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
$ cat test.py
import cPickle
cPickle
cPickle.load
$ 2to3 -f imports test.py
RefactoringTool: Refactored test.py
--- test.py (original)
+++ test.py (refactored)
@@ -1,3 +1,3 @@
-import cPickle
+import pickle
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11276
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11282
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
1. libpython3.so has soname llibpython3.so due to needless l in -Wl,-hl$@.
2. libpython3.so is not linked against libpython$(LDVERSION).so when
-Wl,--as-needed flag is used. -Wl,--as-needed flag is used by default
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Regardless of this patch, such a libpython3.so regular file cannot exist in
Gentoo. Gentoo package manager disallows installation, when it detects file
collisions. If I rename libpython3.so of Python 3.2
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
$ nice -n20 python3.3 -m test.test_os
...
test_set_get_priority (__main__.ProgramPriorityTests) ... FAIL
==
FAIL: test_set_get_priority (__main__
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I actually wanted to use 'nice -n19 python3.3 -m test.test_os', which also
fails.
Test suite of Python can be run be a package manager, which automatically sets
high niceness.
If niceness is high, then maybe
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
os.mkdir() and os.mkdirat() use libc's mkdir() and mkdirat(), which can ignore
SUID/SGID permissions. This problem occurs at least on systems using glibc. The
solution is to call chmod() / fchmodat() to ensure
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The new patch restores respecting of umask.
--
Added file: http://bugs.python.org/file20951/python-mkdir.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Removed file: http://bugs.python.org/file20950/python-mkdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11355
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
A side effect of this patch is that it fixes failure of
test_exist_ok_existing_directory() from test_os.py in situation when top-level
directory of Python sources has SGID bit set.
(test_exist_ok_existing_directory
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Having the soname be libpython3 is the whole point of the library: I think
that the point of this library is libpython3.so filename, not soname.
Everything should still work if libpython3.so had no soname at all
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
r81319 fixed 4 calls in pythonrun.c.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6697
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
Python 3.1 and 3.2 fail with segmentation fault when a directory in PYTHONPATH
contains an empty encodings subdirectory.
$ cd /tmp
$ mkdir encodings
$ PYTHONPATH=. python3.1
Segmentation fault
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8775
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8776
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6312
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I noticed the same problem in many tests.
E.g. test___all__ fails when pyxml is installed.
--
nosy: +Arfrever
title: Python 2.5 testsuite sys.path contains system dirs - sys.path in tests
contains system
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
$ python3.2 -m distutils.tests.test_register
...E
==
ERROR: test_strict (__main__.RegisterTestCase
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I noticed that register_module.raw_input also should be renamed to
register_module.input. The test passes with the new patch.
--
Added file: http://bugs.python.org/file17638/distutils.patch
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Removed file: http://bugs.python.org/file17637/distutils.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8980
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
You would have to install docutils.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8980
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
'python3.2 setup.py build' automatically uses 2to3. You should use docutils
trunk. docutils-0.6 has many bugs in support for Python 3.
I have docutils installed (using Portage, Gentoo's package manager) for Python
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The following command (in bash shell) shows more files:
find -name '*.[ch]' -exec grep -El $'^\t' {} \;
I think that internal copies of libffi should be ignored.
--
nosy: +Arfrever
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
It's a duplicate of issue #1222585. The patch in that issue will also make
distutils not reuse flags Python was built with.
--
nosy: +Arfrever
___
Python tracker rep
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I think that this change could be backported to 3.1 branch. It doesn't cause
any additional warnings, which are absent in py3k branch (see issue #8623).
r79499 doesn't merge cleanly, so I'm attaching the patch
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8623
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The following command also finds files, in which tabs are preceded only by
spaces:
find -name '*.[ch]' -exec grep -El $'^ *\t' {} \;
--
___
Python tracker rep
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Should this regression block final release of 2.7 or can it be fixed in e.g.
2.7.1?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7673
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-2089 claims that this
issue is about security vulnerability. This problem seems to also affect at
least Python 2.6.
--
versions: +Python 2.6
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3080
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9189
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9193
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I would suggest to document changed behavior of string interpolation with
sys.version_info and sys.getwindowsversion() in What’s New in Python 2.7 page
and maybe What’s New In Python 3.1 page
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
These changes break building of Python 3.* in some locales in Gentoo.
running build
running build_ext
Traceback (most recent call last):
File ./setup.py, line 1812, in module
main()
File ./setup.py, line 1807
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
You shouldn't use ldd. I suggest that setup.py try to link a small executable,
which would use a function from libcurses and would be linked against
libreadline, but not libcurses. If linking succeeds, then you
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
This patch allows to build Python 3.* in this locale.
It might be safer to open tmpfile in binary mode to avoid potential problems
with non-ASCII characters in paths to libraries
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
altinstall target depends on libinstall target, which depends on build_all
target, which depends on sharedmods target.
altinstall target also depends on sharedinstall target.
Both sharedmods and sharedinstall
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
distutils.dir_util.mkpath() is used to create a directory and is supposed to
not fail when this directory already exists.
There's a chance that another process will create this directory between
os.path.isdir
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
.py extension is intended for pure-Python modules, not for Python scripts.
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9278
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9299
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I suggest to raise exception when target regular file exists:
try:
mkdir(name, mode)
except OSError as e:
if not (exist_ok and e.errno == errno.EEXIST and path.isdir(name)):
raise
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
title: os.mkdir() and os.makedirs() add a keyword argument to suppress File
exists exception. - os.makedirs(): Add a keyword argument to suppress File
exists exception
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9375
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Alternatively you could call os.chmod.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9299
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
title: python-2.6.5 and 3.2.1 uses 'rwx' mmap() calls for the ctypes module -
_ctypes module uses 'rwx' mmap() calls
versions: +Python 2.7, Python 3.1
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
'mkdir -p' prints error when target exists and is non-directory:
$ cd /tmp
$ touch file
$ mkdir -p file
mkdir: cannot create directory `file': File exists
--
___
Python
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
You haven't attached the new patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9299
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
title: ctypes should work with systems where mmap can't be PROT_WRITE and
PROT_EXEC - ctypes should work with systems where mmap can't be PROT_WRITE and
PROT_EXEC
versions: +Python 2.7
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Does the patch from issue #5504 work for you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9385
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9425
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9129
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9549
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8678
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9762
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9630
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Security fixes are allowed in 2.6 branch, so could you backport the fix also to
2.6 branch?
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6087
1 - 100 of 1671 matches
Mail list logo