[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed and committed in revision 85125. Actually, this changes the behavior of BaseHTTPServer a little and adds two new methods to the code, so I don't think, this should be back-ported to 2.7 and 3.1. If older code were to encounter the new 100 Continue resp

[issue8927] Handle version conflicts in dependencies

2010-09-29 Thread Dave Abrahams
Dave Abrahams added the comment: Oh, and http://distutils2.notmyidea.org/depgraph.html is a 404 for me. -- ___ Python tracker ___ ___

[issue8927] Handle version conflicts in dependencies

2010-09-29 Thread Dave Abrahams
Dave Abrahams added the comment: I'm not sure the change of title you made is appropriate. The case I described isn't a conflict, in the sense that there is a version of D that satisfies everybody's requirements. Maybe the real title should be something like "exhaustively or comprehensively

[issue9784] _msi.c warnings under 64-bit Windows

2010-09-29 Thread Jon Anglin
Jon Anglin added the comment: I have uploaded another patch that replaces CRT API calls with Win32 API calls. It compiles cleanly under 32 and 64 bit Windows. Is there a unit test for msilib? I was not able to find one, thus the patch is not fully tested. -- Added file: http://bugs.p

[issue9993] shutil.move fails on symlink source

2010-09-29 Thread Ned Deily
Changes by Ned Deily : -- nosy: +tarek stage: -> patch review versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list maili

[issue5302] Allow package_data globs match directories

2010-09-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6466] duplicate get_version() code between cygwinccompiler and emxccompiler

2010-09-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue5302] Allow package_data globs match directories

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg109658 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5302] Allow package_data globs match directories

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg107422 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5302] Allow package_data globs match directories

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: +1 on handling those options like gcc in distutils2. +1 on printing warnings in distutils1, but I don’t know if it could break third-party code, so Tarek will accept or reject. -- components: +Distutils versions: +Python 2.7, Python 3.1, Python 3.2

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg107248 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue8357] Add a --show-installation-paths in the install command

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue6466] duplicate get_version() code between cygwinccompiler and emxccompiler

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> needs patch versions: +3rd party -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5300] Distutils ignores file permissions

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy stage: -> unit test needed versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue6555] distutils config file should have the same name on both platforms and all scopes

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Re-adding distutils because of the $HOME vs. os.path.expanduser fix. -- components: +Distutils versions: +3rd party, Python 3.1 ___ Python tracker

[issue8369] Add a lint command to distutils

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: There has been a lengthy discussion on the fellowship-of-the-packaging ML about what should or should not be a command. One side argues that distutils commands should only concern themselves with packaging, distributing and installing, the other side defends th

[issue8274] test_run failing

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: I don’t get this failure. -- nosy: +eric.araujo resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8255] step-by-step tutorial

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8255] step-by-step tutorial

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Documentation versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue8679] write a distutils to distutils2 converter

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Now that we want d2 to use only a static configuration file, I think lib2to3 is not the right tool. mkpkg (to be given a better name) should be able to convert an existing setup.py to a setup.cfg, and also create a setup.py from a setup.cfg. -- depende

[issue8679] write a distutils to distutils2 converter

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: I will commit this if Tarek does not do it shortly. In distutils2, I’ll remove grok_environment_error wholly, since it exists for 1.5 compat only. -- assignee: tarek -> eric.araujo keywords: -needs review stage: -> patch review type: -> behavior versi

[issue8190] Add a PyPI XML-RPC client module

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: distutils2.index implements an XML-RPC client, a crawler for the so-called simple index and a wrapper for them. A quick test showed that not all calls listed on the wiki page work now; Alexis, can you give us a status update? -- resolution: -> accepted

[issue8876] distutils should not assume that hardlinks will work

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- type: -> behavior versions: +3rd party, Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[issue8908] friendly errors for UAC misbehavior in windows installers

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Can you please tell if this still applies now that distutils has been reverted to its previous stable state? Can you test with distutils2? Thanks in advance. -- versions: +3rd party ___ Python tracker

[issue8252] add a metadata section in setup.cfg

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue8253] add a resource+files section in setup.cfg

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue8254] write a configure command

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: (BTW I haven’t pushed the work in progress yet but I will shortly.) -- ___ Python tracker ___ ___ Pytho

[issue8254] write a configure command

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Status update. * configure works: it checks options (like install does) and writes to a file. * New design for build: It uses set_undefined_options to get options from configure (previously it read the cache file, but this caused nasty issues; I’ll document tho

[issue8927] Handle version conflicts in dependencies

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue809163] Can't add files with spaces

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Adding the “easy” keyword so that a beginner or sprinter can find this and write a test. Hint: Forget the part about RPM, write a test about inclusion of file with spaces in their name. -- keywords: +easy versions: +3rd party, Python 2.7, Python 3.1, Py

[issue9395] clean does not remove all temp files

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue8591] update mkpkg to latest coding standards

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue976869] Stripping script extensions with distutils

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Akira: Why require people to manually run this command instead of bundling it into distutils? After all, install_scripts is just a cp, but distutils still does it :) I wonder if this should be a built-in functionality like in Fred’s patch or an install hook sh

[issue870479] Scripts need platform-dependent handling

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: > it's possible that the #! line processing may rely on \n line endings It does. Python on POSIX can import modules with CLRF, but the shebang machinery can’t parse the first line to get the interpreter to run. Does anyone object about changing that? Re: gener

[issue6860] Inconsistent naming of custom command in setup.py help output

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: This is a murky area, I’m not sure we have to refactor so much just to fix this bug. Maybe it’s a doc bug: People have to define command_name if their command has a name that is different from the class name. Maybe it’s a simple fix in the code for -h. I’d li

[issue6860] Inconsistent naming of custom command in setup.py help output

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg102824 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9841] sysconfig and distutils.sysconfig differ in subtle ways

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: I understand. This means that sysconfig fixes will have to be ported to distutils.sysconfig and d2/sysconfig. -- stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue793069] Add --remove-source option

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue828450] sdist generates bad MANIFEST on Windows

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Adding the “easy” keyword to encourage someone to write a test. -- keywords: +easy versions: +3rd party ___ Python tracker ___ __

[issue1052827] filelist.findall should not fail on dangling symlinks

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1011113] Make “install” find the buil d_base directory

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue7694] DeprecationWarning from build_ext needs stacklevel

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1382562] --install-base not honored on win32

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1635363] Add command line help to windows unistall binary

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue1092365] Distutils needs a way *not* to install files

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1294032] Distutils writes keywords comma-separated

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg114556 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1294032] Distutils writes keywords comma-separated

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg102723 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1294032] Distutils writes keywords comma-separated

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue1597850] Cross compiling patches for MINGW

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue2942] mingw/cygwin do not accept asm file as extension source

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: Re-adding distutils since we’re not sure the bug does not apply there. aj, have you add time to test it? -- assignee: -> tarek components: +Distutils versions: +3rd party ___ Python tracker

[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-29 Thread Éric Araujo
Éric Araujo added the comment: If someone creates a .pydistutils.cfg file with a prefix option, it means to me that they want distutils to respect it. Can you explain to me why it’s always wrong to follow this option for Sage? Assuming you’ve convinced us prefix is bad, why can’t you require

[issue9988] test_warnings fails with PYTHONFSENCODING=latin-1 on UNIX/BSD

2010-09-29 Thread STINNER Victor
STINNER Victor added the comment: > Maybe the PYTHONWARNINGS code should be moved there instead? sys.warnoptions is read by the warnings module (not the _warnings module) when this module is loaded. The warnings module is loaded by Py_InitializeEx() if sys.warnoptions list is not empty. It m

[issue8501] --dry-run option doesn't work

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue1109658] distutils dry-run breaks when attempting to bytecompile

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue1083299] Distutils doesn't pick up all the files it should.

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9709] test_distutils warning: initfunc exported twice on Windows

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8668] add a 'develop' command

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue7546] msvc9compiler.py: add .asm extension

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue1222585] C++ compilation support for distutils

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue8933] Invalid detection of metadata version

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue3992] remove custom log module from distutils2

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue5411] add xz compression support to distutils

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue4673] Distutils should provide an uninstall command

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue7894] too aggressive dependency tracking in distutils

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue5309] setup.py doesn't parallelize extension module compilation

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue1109659] distutils argument parsing is bogus

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue1682403] Transform reST to styled text in bdist_wininst-produced installers

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5187] distutils upload should prompt for the user/password too

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue3621] it would be nice if installers made by bdist_wininst stored an EstimatedSize property in the Windows registry

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue9561] distutils: set encoding to utf-8 for input and output files

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue2200] find_executable fails to find .bat files on win32

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue1887] distutils doesn't support out-of-source builds

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue9992] Command line arguments are not correctly decoded if locale and fileystem encodings are different

2010-09-29 Thread STINNER Victor
STINNER Victor added the comment: [cmdline_encoding-2.patch] Patch to use locale encoding to decode and encode command line arguments. Remarks about the patch: - failing to get the locale encoding (very unlikely) is a fatal error - TODO: in initfsencoding(), Py_FileSystemDefaultEncoding shou

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9181] Solaris extension building does not work with 64 bit python

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue901727] extra_path kwarg to setup() undocumented

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue9831] test_distutils fails on MacOSX 10.6

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6114] distutils build_ext path comparison only based on strings

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue5243] Missing dependency in distutils build

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8680] Add a sandbox in Distutils2

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue9980] str(float) failure

2010-09-29 Thread Kiriakos Vlahos
Kiriakos Vlahos added the comment: I found out that $x2xx (test both $12xx and $02xx) gives identical results to python. Here is what it means. The PC field (bits 9 and 8) or Precision Control determines to what precision the FPU rounds results after each arithmetic instruction in one of thr

[issue9992] Command line arguments are not correctly decoded if locale and fileystem encodings are different

2010-09-29 Thread Philip Jenvey
Changes by Philip Jenvey : -- nosy: +pjenvey ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9980] str(float) failure

2010-09-29 Thread Kiriakos Vlahos
Kiriakos Vlahos added the comment: Also note that different compilers initialize the FPU control word with different values. This creates a problem with embedded python that behaves differently or even produces wrong results depending on which language/compiler is used to embed it. At least

[issue9993] shutil.move fails on symlink source

2010-09-29 Thread Jonathan Niehof
New submission from Jonathan Niehof : shutil.move does not behave as I expect when moving a symlink across filesystems. (This is when src itself is a symlink, not when it is a directory tree including symlinks.) -If src is a symlink to file, rather than moving the symlink, it copies the conte

[issue9980] str(float) failure

2010-09-29 Thread Kiriakos Vlahos
Kiriakos Vlahos added the comment: Actually with control word $0032 or $3F I still do not get identical results to python.exe. PyScripter >>> '%.12g' % 38210.0 '38210.0009918' >>> str(38210.0) '38210.0009918' Python >>> '%.12g' % 38210.0 '38210' >>> str(38210.0) '38210.0' Does anybody know w

[issue9988] test_warnings fails with PYTHONFSENCODING=latin-1 on UNIX/BSD

2010-09-29 Thread STINNER Victor
STINNER Victor added the comment: > Indeed, the fs encoding isn't initialized until later in > Py_InitializeEx. Maybe the PYTHONWARNINGS code should be moved > there instead? sys.warnopts should be filled early because it is used to initialize the _warnings module, and the _warnings module ha

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-29 Thread STINNER Victor
STINNER Victor added the comment: I don't understand why you would like to implicitly convert bytes to str (which is one of the worse design choice of Python2). If you don't want to care about encodings, use bytes is fine. Decode bytes using an arbitrary encoding is the fastest way to mojibak

[issue9992] Command line arguments are not correctly decoded if locale and fileystem encodings are different

2010-09-29 Thread STINNER Victor
New submission from STINNER Victor : On UNIX/BSD systems, Python decodes arguments with the locale encoding, whereas subprocess encodes arguments with the fileystem encoding. If both encodings are differents, we have a problem. There was already the issue #4388 but it was closed because it was

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-29 Thread Nick Coghlan
Nick Coghlan added the comment: > I think it's quite misguided. latin1 encoding and decoding is blindingly > fast (on the order of 1GB/s. here). Unless you have multi-megabyte URLs, > you won't notice any overhead. Ah, I didn't know that (although it makes sense now I think about it). I'll star

[issue9991] xmlrpc client ssl check faulty

2010-09-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +flox, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9991] xmlrpc client ssl check faulty

2010-09-29 Thread Jonathan Niehof
New submission from Jonathan Niehof : This has been reported before (#6494, #7987) and closed as "You need to build Python with SSL support." However, this error is raised even if ssl support is included. The SSL check in xmlrpc.client for Python 3.1 is: if not hasattr(socket, "ssl") but ssl w

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The primary reason for supporting ASCII compatible bytes directly is > specifically to avoid the encoding and decoding overhead associated > with the translation to unicode text. I think it's quite misguided. latin1 encoding and decoding is blindingly fast (o

[issue9980] str(float) failure

2010-09-29 Thread Eric Smith
Eric Smith added the comment: I agree that in an ideal world there would not be a dependency on global flags. There's no doubt a performance issue with doing so, although someone would have to measure that. It may well be swamped by the memory allocation, etc. that is going on at the same tim

[issue9989] ctypes bitfield problem

2010-09-29 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Could be. FWIW, I had tested and observed the problem on a 32-bit Intel Windows box and 64-bit Intel Linux box. -- ___ Python tracker ___ __

[issue9989] ctypes bitfield problem

2010-09-29 Thread Ned Deily
Ned Deily added the comment: An endian issue? (i.e. on OS X, it works on ppc but not Intel) A slightly more detailed test case: $ more test_ctypes.py import ctypes class Blah2(ctypes.Structure): _fields_ = [("x", ctypes.c_uint64, 64), ("y", ctypes.c_uint64)] val = 0x01234567

  1   2   3   >