[issue9281] Race condition with mkdir/makedirs in distutils2

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10262] Add --disable-abi-flags option to `configure`

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9281] Race condition with mkdir/makedirs in distutils2

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10268] Add --enable-loadable-sqlite-extensions option to `configure`

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10558] non-standard processing of several configure options ignores =no

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10558] non-standard processing of several configure options ignores =no

2010-11-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8194

[issue10453] Add -h/--help option to compileall

2010-12-06 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-07 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10677] make altinstall includes ABI codes in versioned executable name

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10677

[issue10679] make altinstall may clobber OS provided scripts

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10679

[issue10663] configure shouldn't set a default OPT

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10663

[issue969718] BASECFLAGS are not passed to module build line

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue969718

[issue10687] Python fails to install with empty ABI flags

2010-12-12 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10687] Python fails to install with empty ABI flags

2010-12-13 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10764] sysconfig and alternative implementations

2010-12-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10764

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2011-01-02 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10810] logging.handlers.TimedRotatingFileHandler.__init__(): ST_MTIME NameError

2011-01-02 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10835] sys.executable default and altinstall

2011-01-05 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue5871] email.header.Header too lax with embeded newlines

2011-01-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5871

[issue10013] fix `./libpython2.6.so: undefined reference to `_PyParser_Grammar´` in parallel builds

2011-01-13 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2011-01-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6203

[issue11022] locale.setlocale() doesn't change I/O codec, os.environ[] does

2011-01-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11022

[issue11022] locale.setlocale() doesn't change I/O codec, os.environ does

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue10148] st_mtime differs after shutil.copy2

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10148

[issue1674555] sys.path in tests contains system directories

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue1674555] sys.path in tests contains system directories

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2011-01-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11063] uuid.py module import has heavy side effects

2011-01-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063

[issue11121] libpython3.so support with --enable-shared

2011-02-04 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11164] xml shouldn't use _xmlplus

2011-02-09 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11197] information leakage with SimpleHTTPServer

2011-02-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11197

[issue11200] Addition of abiflags breaks distutils

2011-02-12 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11200

[issue11235] Source files with date modifed in 2106 cause OverflowError

2011-02-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11235

[issue11244] Negative tuple elements produce inefficient code.

2011-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11244

[issue11259] asynchat does not check if terminator is negative integer

2011-02-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11259

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-02-21 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-02-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276

[issue11282] 3.3 unittest document not kept consist with code

2011-02-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11282

[issue11347] libpython3.so: Broken soname and linking

2011-02-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11347] libpython3.so: Broken soname and linking

2011-02-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11348] test_os: test_set_get_priority() fails when high niceness is set

2011-02-27 Thread Arfrever Frehtes Taifersar Arahesis
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__

[issue11348] test_os: test_set_get_priority() fails when high niceness is set

2011-02-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11355] os.mkdir() and os.mkdirat() don't apply SUID/SGID permissions

2011-02-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11355] os.mkdir() and os.mkdirat() don't apply SUID/SGID permissions

2011-02-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11355] os.mkdir() and os.mkdirat() don't apply SUID/SGID permissions

2011-02-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11355] os.mkdir() and os.mkdirat() don't apply SUID/SGID permissions

2011-02-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue11347] libpython3.so: Broken soname and linking

2011-02-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-05-19 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8766] Segmentation fault with empty encodings subdirectory of directory in PYTHONPATH

2010-05-19 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8775] Use locale encoding to encode command line arguments (subprocess, os.exec*(), etc.)

2010-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8775

[issue8776] Bytes version of sys.argv

2010-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8776

[issue6312] httplib fails with HEAD requests to pages with transfer-encoding: chunked

2010-05-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6312

[issue1674555] sys.path in tests contains system directories

2010-06-06 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: $ python3.2 -m distutils.tests.test_register ...E == ERROR: test_strict (__main__.RegisterTestCase

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-12 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-12 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8930] messed up formatting after reindenting

2010-06-13 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9031] distutils uses invalid -Wstrict-prototypes flag when compiling C++ extension module

2010-06-19 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2010-06-21 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8623] Aliasing warnings in socketmodule.c

2010-06-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8623

[issue8930] messed up formatting after reindenting

2010-06-22 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue8413] String interpolation doesn't work with sys.version_info

2010-06-23 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue7673] audioop: check that length is a multiple of the size

2010-06-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7673

[issue7673] audioop: check that length is a multiple of the size

2010-06-26 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue3080] Full unicode import system

2010-06-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3080

[issue9189] Improve CFLAGS handling

2010-07-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9189

[issue9193] Versioned .so files

2010-07-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9193

[issue8413] String interpolation doesn't work with sys.version_info

2010-07-07 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue7384] curses crash on FreeBSD

2010-07-13 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue7384] curses crash on FreeBSD

2010-07-13 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue7384] curses crash on FreeBSD

2010-07-15 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9280] sharedinstall target doesn't depend on sharedmods target

2010-07-16 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9281] Race condition in distutils.dir_util.mkpath()

2010-07-16 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9278] rename 2to3 pydoc to 2to3.py pydoc.py

2010-07-19 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9299] os.mkdir() and os.makedirs() add a keyword argument to suppress File exists exception.

2010-07-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9299

[issue9299] os.mkdir() and os.makedirs() add a keyword argument to suppress File exists exception.

2010-07-24 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9299] os.makedirs(): Add a keyword argument to suppress File exists exception

2010-07-24 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9375] ElementPath parser in ElementTree 1.3 does not reject element// as invalid

2010-07-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9375

[issue9299] os.makedirs(): Add a keyword argument to suppress File exists exception

2010-07-26 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9385] _ctypes module uses 'rwx' mmap() calls

2010-07-26 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9299] os.makedirs(): Add a keyword argument to suppress File exists exception

2010-07-27 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9299] os.makedirs(): Add a keyword argument to suppress File exists exception

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9385] _ctypes module uses 'rwx' mmap() calls

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue9425] Rewrite import machinery to work with unicode paths

2010-07-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9425

[issue3754] cross-compilation support for python build

2010-08-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754

[issue9129] DoS smtpd module vulnerability

2010-08-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9129

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9549

[issue8678] crashers in rgbimg

2010-09-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8678

[issue9762] build failures

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762

[issue9630] Reencode filenames when setting the filesystem encoding

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9630

[issue9129] DoS smtpd module vulnerability

2010-09-04 Thread Arfrever Frehtes Taifersar Arahesis
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

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2010-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087

  1   2   3   4   5   6   7   8   9   10   >