[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-23 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Thanks Georg, I have changed the patch accordingly. There's one issue left: the name of the parameter (ignore) I have renamed it like this on Alexander suggestion, for consistency with filecmp.dircmp which uses ignore. By the

[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-23 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10392/copytree2.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2663> __

[issue1858] Make .pypirc handle multiple servers

2008-05-24 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: This is because the code uses a print statement when opening the .pypirc file. This was already the case before this patch, but the code was not covered by tests. (see in previous revision) The test is not broken, it just ouputs to stdi

[issue1858] Make .pypirc handle multiple servers

2008-05-24 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Right, Thanks! __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1858> __ ___ Python-bugs-list mailing list

[issue3332] DocTest and dict sort.

2008-07-10 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: This is not a bug: dict do not guarantee the ordering of the keys, so it may change on every run. A good practice is to test a sorted .items() output of your dict in your doctest. -- nosy:

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: The problem is in distutils code, not in setuptools or PyPI. As long as I can see, the problem remains in the trunk. It is dead simple to reproduce : put an unicode name for the author in a plain setup.py with a non ascii character

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9961/unicode.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10065/distutils.unicode.simplified.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9967/unicode.metadata.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-26 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: ok I will ask for this on the ML ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2562> ___ _

[issue3733] Adding bin and Scripts folder into PATH

2008-08-29 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: The windows installer could add two entries in the PATH environment variable. This would make "Python.exe" and other binaries available from the command prompt without having to change PATH manually. -- componen

[issue3736] super is a built-in type

2008-08-29 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: super is defined as a built-in function http://docs.python.org/dev/library/functions.html but it is a type, shouldn't it be replaced ? -- assignee: georg.brandl components: Documentation messages: 72174 nosy: georg.br

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-09-03 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Sure, sounds fine to me, thanks for the help on this issue ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3984] python interpreter import dependency with disutils/util

2008-09-28 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: I am trying to write a patch in distutils to make use the standard logging module, and I had a weird problem: if I add "import logging" at the top of Lib/distutils/log.py file to start my work, it just brakes the interpreter.

[issue3984] python interpreter import dependency with disutils/util

2008-09-28 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- components: +Distutils, Interpreter Core ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3985] removed string module from distutils

2008-09-28 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: This patch removes string usage from dist.py, so the module uses modern syntax. -- components: Distutils files: dist-no-string.diff keywords: patch messages: 73965 nosy: tarek severity: normal status: open title: removed string

[issue3985] removed string module from distutils [patch]

2008-09-28 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- title: removed string module from distutils -> removed string module from distutils [patch] ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3986] removed string and type usage from distutils.cmd [patch]

2008-09-28 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: I am removing in this patch the usage of string and type. 1/ I have remove string import, and used the proper modern syntax 2/ Type was used to check for object types, and sometimes isinstance() was called. I have replaced all the ca

[issue3987] removed types from distutils.core [patch]

2008-09-28 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: types is not used, the import shall be removed -- components: Distutils files: core-no-types.diff keywords: patch messages: 73968 nosy: tarek severity: normal status: open title: removed types from distutils.core [patch] ve

[issue3984] python interpreter import dependency with disutils/util

2008-09-28 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Ok thanks, I could make it work by removing the call to distutils.util.get_platform() in site.addbuilddir() and harcode the name of my platform there, Maybe a solution would be to : * move get_platform out of distutils.util * move sys

[issue3992] removed custom log from distutils

2008-09-28 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: This patch removes the custom log implementation from distutils. It keeps the compatibility with the previous logger and its specific CONSTANTE names. It add a sys.stdout stream handler so it produces the same output. It is based on l

[issue3984] python interpreter import dependency with disutils/util

2008-09-29 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Well, I have a patch in progress, that pulls it out in another package. But I still get problems with the logging dependency, so it seems like a lot of extra work for just this use case. On the other hand, if distutils is going to be &q

[issue3992] removed custom log from distutils

2008-09-29 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3987] removed types from distutils.core [patch]

2008-09-29 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3986] removed string and type usage from distutils.cmd [patch]

2008-09-29 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3985] removed string module from distutils [patch]

2008-09-29 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2461] test_util.py for distutils

2008-09-29 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue7748] unicode supported in distutils register but not distutils upload

2010-01-23 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: -> accepted type: -> crash versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/

[issue7748] unicode supported in distutils register but not distutils upload

2010-01-23 Thread Tarek Ziadé
Tarek Ziadé added the comment: fixed in r77717, r77719 Under Py3, we will just use utf8 strings. Thanks! -- status: open -> closed versions: -Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Tarek Ziadé
New submission from Tarek Ziadé : test_subprocess.test_executable now has a failure in the subprocess created (see http://www.python.org/dev/buildbot/builders/amd64%20gentoo%20trunk/builds/303/steps/test/logs/stdio) the bbots don't get red because this is happening in the subprocess an

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: Notice that this happen only under Linux and Solaris AFAIK. I couldn't reproduce it under Mac OS X -- ___ Python tracker <http://bugs.python.org/i

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-01-25 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ooops sorry Jesse, my brain has a hard link to your name when I see the word "process" ;) It comes out this bug is more related to 'sys' anyways. -- ___ Python tracker <http://bu

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-02-02 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: -> critical resolution: -> accepted ___ Python tracker <http://bugs.python.org/issue7511> ___ ___ Python-bugs-list

[issue6283] Cannot build extension in amd64 using msvc9compiler

2010-02-02 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek nosy: +tarek resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.o

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: normal -> high ___ Python tracker <http://bugs.python.org/issue7880> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Tarek Ziadé
Tarek Ziadé added the comment: Here's the traceback, I'll look at the problem asap 'import site' failed; traceback: Traceback (most recent call last): File "/MacDev/svn.python.org/python-trunk/Lib/site.py", line 530, in main() File "/MacDev/svn.

[issue7880] sysconfig does not like symlinks

2010-02-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Antoine, see http://bugs.python.org/issue7774 -- ___ Python tracker <http://bugs.python.org/issue7880> ___ ___ Python-bugs-list m

[issue5801] spurious empty lines in wsgiref code

2010-02-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: empty lines were removed in r78367, r78369 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue5801> ___ _

[issue8102] test_distutils fails on 2.6.5rc1: "No module named setuptools_build_ext"

2010-03-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: This file was added in r75256. Are you sure you miss that test file ? -- priority: -> high ___ Python tracker <http://bugs.python.org/iss

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-10 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: normal -> high resolution: -> accepted ___ Python tracker <http://bugs.python.org/issue8107> ___ ___ Python-bugs-list

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: Moved to distutils2 (distutils is feature frozen now) -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue1222

[issue1222585] C++ compilation support for distutils

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: If we consider that Distutils didn't provide c++ support, and that it partially worked by accident (through gcc), I would call it a new feature. Especially since it requires a new option. We are freezing the API so we can't add options to methods

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: This test just grabs xxmodule.c from Python to try out a compilation. It's a lot of work just to try out a .c file in build_ext. I've already changed this in trunk by having a c file local to distutils tests, as a fallback in case the location canno

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: No that won't work because the test tries to find a module that is only in the source dir. So not existing on python installations. The simplest thing to do is to skip the test if srcdir cannot be found. I'll fix

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-10 Thread Tarek Ziadé
Tarek Ziadé added the comment: Also, notice that srcdir can be broken on some platform. For instance, under Mac OS X Framework install: >>> import distutils.sysconfig >>> distutils.sysconfig.get_config_var('srcdir') '/Volumes/Rivendell/Users/ronald/Projects/p

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: @Ronald, @Barry: Yes that's what I did in trunk, so I can just merge that revision. (r78707, r78709) The only problem I had with it is that in case xxmodule.c changes, I have to change it there too, but it's no big deal. Barry, I'll merge back

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: What traceback do you get exactly ? The same one than the first TB of this issue ? -- priority: -> high ___ Python tracker <http://bugs.python.org/iss

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r78877 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue8107> ___ ___ Python-bugs-list mai

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: This will skip the whole test class if srcdir is not found, removing all tests run in test_build_ext. Are you sure you want to skip the whole test class if the srcdir is not there for 2.6.5 final ? (we have important tests in there, related to options like

[issue8102] test_distutils fails on 2.6.5rc1: "No module named setuptools_build_ext"

2010-03-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ok so, this file is lost during the installation process only for the Mac OS X install it seems. I need to dig into the Mac OS X build process. If I "./configure && make && make install" with the 2.6.5rc+ tarball, the files are properl

[issue3871] cross and native build of python for mingw32 with distutils

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: Roumen, I am moving all the new work in distutils into distutils2, and distutils is going to be frozen. Do you want to work on this feature in distutils2 ? (which is distutils code base before I started to revert things) Let me know so I mark this issue under

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ok then, I am applying Barry's suggestion right now in release26-maint then -- ___ Python tracker <http://bugs.python.org/i

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r78935. -- ___ Python tracker <http://bugs.python.org/issue8107> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8102] test_distutils fails on 2.6.5rc1: "No module named setuptools_build_ext"

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: ok thanks for the tests Neal. Martin, do I have to do soemthing in msi.py to see this file included ? (I am looking at msi.py right now and it looks like it has the proper glob, but I want to be 100% sure) Ronald, what about the Mac OS scripts

[issue8102] test_distutils fails on 2.6.5rc1: "No module named setuptools_build_ext"

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ok I see. Good to know thx -- ___ Python tracker <http://bugs.python.org/issue8102> ___ ___ Python-bugs-list mailing list Unsub

[issue8107] test_distutils fails on Windows in 2.6.5rc2

2010-03-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: No I guess its fine to leave it closed. -- ___ Python tracker <http://bugs.python.org/issue8107> ___ ___ Python-bugs-list mailin

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

2010-03-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: Moving the target to Distutils2, as Distutils is now feature frozen. -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue3

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2010-03-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, the revert put back distutils in its initial 2.6.x state but I guess this can be added back since it doesn't change the original behavior. -- priority: -> high resolution: -> accepted ___ Python tra

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Tarek Ziadé
Tarek Ziadé added the comment: Craig, did you run the command like this under 3.x ? : $ python setup.py build --compiler=mingw32 --verbose Also, what is your gcc version ? and your PATH environment ? -- ___ Python tracker <h

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Tarek Ziadé
Tarek Ziadé added the comment: Benjamin, can I fix this bug before you tag 3.1.2 ? Basically, I'll apply on 3.1 what was applied on 2.6 : MacZiade:release31-maint tarek$ svn di Index: Lib/distutils/command/build_e

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: Done for 3.1.x in r79121. I am now waiting for 3.1.2 to be taggued, then I'll revert the 3.x branch into a state the closest possible to 3.1.x. Next, Distutils will be feature-frozen in 3.x like it is in 2.x, as things are now happening in distutils2.

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

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: I guess i can be applied on distutils, and backported in distutils2. I'll do it in the coming days. Notice that I am now applying only bug fixes and regression fixes now for distutils. -- components: +Distutils2 resolution: ->

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: @Sean: you can look at the maintainers.rst file in the py3k branch I guess I am maintaining sysconfig, so I guess I'll just help on the review. Notice that we might need to backport some of the work in distutils/sysconfig since we have decided to r

[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
New submission from Tarek Ziadé : let's add a small xml-rpc client in Distutils2, implementing all functions. See http://wiki.python.org/moin/PyPiXmlRpc -- assignee: tarek components: Distutils2 messages: 101414 nosy: tarek priority: normal severity: normal stage: needs patch s

[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: see also http://tools.assembla.com/yolk/browser/trunk/yolk/pypi.py -- ___ Python tracker <http://bugs.python.org/issue8

[issue1222585] C++ compilation support for distutils

2010-03-23 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: normal -> high ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8250] Implement pkgutil APIs as described in PEP 376

2010-03-28 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: tarek components: Distutils2 nosy: tarek priority: normal severity: normal status: open title: Implement pkgutil APIs as described in PEP 376 type: feature request versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

[issue8252] add a metada section in setup.cfg

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé : let's add a metatadata section in setup.cfg, to express all the metadata fields instead of using setup.py options. -- assignee: tarek components: Distutils2 messages: 101860 nosy: tarek priority: normal severity: normal status: open title: add a m

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

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé : Implement the [resources] section described in: http://hg.python.org/distutils2/file/tip/docs/design/wiki.rst We also need to add a description of packages, scripts and modules. The result should be that projects will not need a setup.py file anymore

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- title: add a metada section in setup.cfg -> add a metadata section in setup.cfg ___ Python tracker <http://bugs.python.org/iss

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé added the comment: and change the mkpkg script accordingly -- ___ Python tracker <http://bugs.python.org/issue8252> ___ ___ Python-bugs-list mailin

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

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé added the comment: and change the mkpkg script accordingly -- ___ Python tracker <http://bugs.python.org/issue8253> ___ ___ Python-bugs-list mailin

[issue8254] write a configure command

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé : This command will contain all options that are used to build extensions (out of the build* and install* commands) and will create a confifuration file. build* and install* commands will be able to read back the file if present, and use its values, so we don&#

[issue8255] step-by-step tutorial

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé : Write a tutorial to describe the cycle of a Python project that is built, released and deployed, using Distutils2. This project will need to be complete enough to cover most use cases. This tutorial will be part of the Distutils2 documentation and will be

[issue8190] Add an xml-rpc client for PyPi

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé added the comment: We want to add a PyPI client in Distutils2, and PyPI provides these information via XML-RPC. PyPI could probably have a REST interface to grab these info as well, but this is another topic/project. On our side (distutils2), we want to provide a nice set of

[issue8190] Add a PyPI XML-RPC client module

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé added the comment: Please don't. This is confusing because some commands already interact with PyPI (upload/register). I don't see the problem in mentioning XML-RPC in the title here. It makes what we need to do crystal clear. -- title: Add a PyPI client modul

[issue8273] move test_support into the unittest package

2010-03-31 Thread Tarek Ziadé
New submission from Tarek Ziadé : Let's move test_support in unittest ! Then maybe, let's expose some of test_support functions into a new class on the top of unittest.TestCase, so they can be used via methods. The purpose is power up people when it comes to write test fixtures or

[issue8273] move test_support into the unittest package

2010-03-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Basically, all the APIs in test_support could live in unittest and the test package could only contain the test modules written for Python. IOW, these tests helpers can help more people than the core devs

[issue8273] move test_support into the unittest package

2010-03-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Sure, no need to have the test runner parts. -- ___ Python tracker <http://bugs.python.org/issue8273> ___ ___ Python-bugs-list m

[issue8273] move test_support into the unittest package

2010-03-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, let's make things explicit as David said: - "test" package: tests for Python itself, with private stuff, undocumented. - "unittest" package: the test framework that is used by the test package and that is public I'd ad

[issue8273] move test_support into the unittest package

2010-03-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: about : cpython_only / is_jython I think the idea here is to mark some tests as being specific to some implementations. I remember a discussion where we said that we could add in sys or platform the name of the implementation and make this somehow future-proof

[issue8295] add unpack_archive to shutil

2010-04-02 Thread Tarek Ziadé
New submission from Tarek Ziadé : unpack_archive is the reverse operation of make_archive and works the same way: it has a registery of function for each archive format. -- assignee: tarek components: Library (Lib) messages: 102212 nosy: tarek priority: normal severity: normal status

[issue1222585] C++ compilation support for distutils

2010-04-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: LDCXXSHARED added in r79652 and r79657. Now we can work on distutils2 side -- priority: high -> normal versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue1

[issue8312] Add post/pre hooks for distutils commands

2010-04-04 Thread Tarek Ziadé
New submission from Tarek Ziadé : Add hooks to a script can be launched before/after a command. This will be useful to build pre/post commit hooks for install/uninstall commands for instance -- assignee: tarek components: Distutils2 messages: 102353 nosy: tarek severity: normal status

[issue8324] add a test command

2010-04-05 Thread Tarek Ziadé
New submission from Tarek Ziadé : Add a test command in distutils, ala setuptools -- assignee: tarek components: Distutils2 keywords: gsoc messages: 102426 nosy: tarek priority: normal severity: normal status: open title: add a test command type: feature request

[issue3985] removed string module from distutils [patch]

2010-04-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Distutils is now frozen. Moving it to Distutils2 -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue3

[issue5411] add xz compression support to distutils

2010-04-09 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue5411> ___ ___ Python-bugs-list mailing list Unsub

[issue870479] Scripts need platform-dependent handling

2010-04-09 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue870479> ___ ___ Python-bugs-list mailing list Unsub

[issue976869] Stripping script extensions with distutils

2010-04-09 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2 -Distutils ___ Python tracker <http://bugs.python.org/issue976869> ___ ___ Python-bugs-list mailing list Unsub

[issue4908] Implement PEP 376

2010-04-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Work done in pkgutil, in the Distutils2 project, see PEP 376 for API names. -- components: +Distutils2 -Distutils title: adding a get_metadata in distutils -> Implement PEP 376 ___ Python tracker &l

[issue8357] distutils does not allow installation with --root and --prefix, and give's incorrect error message

2010-04-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Those are mutually exclusive: --prefix : installation prefix --root: install everything relative to this alternate root directory root will install things into a completely alternate root and will use the existing installation scheme and make all paths

[issue8357] distutils does not allow installation with --root and --prefix, and give's incorrect error message

2010-04-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: == prefix == With prefix, you need to make sure the target site-packages is in your PYTHONPATH: PYTHONPATH=/tmp/foo/lib/python2.6/site-packages/ python setup.py install --prefix=/tmp/foo And here, prefix is used as the base location, and the command uses

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

2010-04-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ooops you are right, I messed up too in my explanation, I mischecked the code. root and home are mutually exclusive, not root and prefix. In any case, all those options are making it really hard to understand. I'd like to make this story easier in distu

[issue8375] test_distutils fails when run with -j

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r79992 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue8375> ___ ___ Python-bugs-list mai

[issue8371] Add a command to download distributions

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: What would this command do precisely ? Are you thinking about a command that scans PyPI ? why this would be a command btw ? downloading a distribution is not a final goal, imho. Wouldn't it be simpler to have a simple function that provides this fe

[issue8382] cStringIO and StringIO doesn't behave the same way

2010-04-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : Looks like the python version of StringIO can write tuples, but not the C version. I am not sure this is intended: >>> from cStringIO import StringIO as cStringIO >>> from StringIO import StringIO as StringIO >>> string = Strin

[issue8382] cStringIO and StringIO don't behave the same way

2010-04-12 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- title: cStringIO and StringIO doesn't behave the same way -> cStringIO and StringIO don't behave the same way ___ Python tracker <http://bugs.pyth

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, I am not sure what would be the best fix though. We cannot raise an error on StringIO now because this will break lots of code out there. In the meantime, I think it's cleaner to avoid doing implicit str() conversions, so I think cStringIO has a b

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: Craig, that's another bug, can you open another issue for that? The missing vcvarsall.bat bug is cleared and I will close this issue once I've reverted distutils state in the 3.x branch -- ___ Python trac

[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: I don't know about 2.5 but: Reading the MSVCCompiler class code in trunk, I can see a case where __init__ doesn't create self.__root. (if self.__arch != Intel) making any call to get_msvc_paths() leading to an error. You certainly have some kind of

<    1   2   3   4   5   6   7   8   9   10   >