Re: [Python-Dev] Loggers in the stdlib and logging configuration APIs

2010-12-28 Thread Vinay Sajip
and consideration be given before choosing to set it for a logger. How does that sound? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Loggers in the stdlib and logging configuration APIs

2010-12-28 Thread Vinay Sajip
is that it can be used by modules from different sources (standard library, 3rd party libs, application code) and provide logs in an integrated manner. So the expectation you describe would follow naturally. Thanks for the feedback, Vinay Sajip ___ Python-Dev

[Python-Dev] Finding buildbot failures

2011-02-25 Thread Vinay Sajip
What's the easiest way of finding which tests failed on buildbot builds? I mean, is there anything easier than using the Web interface to browse to failing builds and then looking at the stdio output in a browser? Thanks, Vinay Sajip ___ Python-Dev

Re: [Python-Dev] Finding buildbot failures

2011-02-26 Thread Vinay Sajip
haven't fixed yet, but the above command should work fine) Thanks, Ezio, that's really handy! Just what I needed. Example output (for those who haven't used the tool) is at https://gist.github.com/845082 Regards, Vinay Sajip ___ Python-Dev mailing list

[Python-Dev] Unable to build old version from hg.python.org

2011-03-07 Thread Vinay Sajip
machine which I have been using for many months with the Subversion repository. Am I doing something wrong? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Unable to build old version from hg.python.org

2011-03-07 Thread Vinay Sajip
OK, I see issue 11421 on the tracker. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Unable to build old version from hg.python.org

2011-03-07 Thread Vinay Sajip
want to maintain 2.5) - on the other hand: 3.1 - 3.2 - default As it happens, the fix I'm doing won't apply to 2.5 anyway, so it doesn't matter. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] [Python-checkins] (2.6): Issue #11424: Fix bug in determining child loggers.

2011-03-10 Thread Vinay Sajip
From what I understand, we're supposed to forward-port in Mercurial, which is why I started with 2.6 (the bugfix wasn't applicable to 2.5). So we don't need to import into Subversion, but I see no point in reverting it in Mercurial. Regards, Vinay Sajip - Original Message From

Re: [Python-Dev] [Python-checkins] (2.6): Issue #11424: Fix bug in determining child loggers.

2011-03-10 Thread Vinay Sajip
. Also, the section on forward-porting in the Dev Guide says it should be applied to the oldest branch applicable and this could be interpreted to mean applicable based on the content of the branch, rather than according to release policy. Regards, Vinay Sajip

[Python-Dev] Proposed change to logging.basicConfig

2011-03-29 Thread Vinay Sajip
expect to check this change in within the next few days. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-16 Thread Vinay Sajip
approach has merit, please take a look at my fork, and give feedback/join in! Note that I used the same approach when porting pip/virtualenv to Python 3, which seems to have gone quite smoothly :-) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-16 Thread Vinay Sajip
with multiple codebases. Admittedly I haven't looked at the C code yet, but that's next on my list. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-16 Thread Vinay Sajip
Hi Antoine, Antoine Pitrou solipsis at pitrou.net writes: What you're proposing doesn't address the question of who is going to do the ongoing maintenance. I agree, my suggestion is orthogonal to the question of who maintains stdlib json. But if the json module is languishing in comparison to

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-16 Thread Vinay Sajip
Martin v. Löwis martin at v.loewis.de writes: Does it actually need improvement? I can't actually say, but I assume it keeps changing for the better - albeit slowly. I wasn't thinking of specific improvements, just the idea of continuous improvement in general... Regards, Vinay Sajip

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-16 Thread Vinay Sajip
and medium term, but you never know in the long term). Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-17 Thread Vinay Sajip
://gist.github.com/923927 and the simplejson version here: https://github.com/vsajip/simplejson/ Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-17 Thread Vinay Sajip
invalidates my finding of a 2% difference. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-17 Thread Vinay Sajip
in the non-speedup case. Perhaps someone with more familiarity with stdlib json speedup internals could take a look to see what I've missed? I perhaps can't see the forest for the trees. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Status of json (simplejson) in cpython

2011-04-18 Thread Vinay Sajip
Timing simplejson (with speedups): 0.3202629089355469 Timing stdlib json (with speedups): 0.3200039863586426 --- Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Socket servers in the test suite

2011-04-27 Thread Vinay Sajip
approach where you can just pass a single callable to a server to handle requests, e.g. as outlined in https://gist.github.com/945157 I'd be grateful for any comments about adding such functionality to e.g. test.support. Regards, Vinay Sajip

Re: [Python-Dev] Socket servers in the test suite

2011-04-28 Thread Vinay Sajip
Nick Coghlan ncoghlan at gmail.com writes: If you poke around in the test directory a bit, you may find there is already some code along these lines in other tests (e.g. I'm pretty sure the urllib tests already fire up a local server). Starting down the path of standardisation of that test

Re: [Python-Dev] Socket servers in the test suite

2011-04-29 Thread Vinay Sajip
and the drill-downs HTML pages for individual modules. BTW, is there a public place somewhere showing stdlib coverage statistics? I looked on the buildbot pages as the likeliest home for them, but perhaps I missed them. Regards, Vinay Sajip ___ Python

Re: [Python-Dev] Socket servers in the test suite

2011-04-29 Thread Vinay Sajip
Terry Reedy tjreedy at udel.edu writes: http://coverage.livinglogic.de/ which, however, currently has nothing for *.py. Perhaps a glitch/bug, as there used to be such. Anyone who knows the page owner might ask about this. Thanks for the pointer, nevertheless, Terry. Regards, Vinay

Re: [Python-Dev] Socket servers in the test suite

2011-05-02 Thread Vinay Sajip
not yet looked at how to adapt other stdlib code than test_logging to use these classes, but the above usage mode seems convenient and sufficient for testing applications. No doubt people will be able to suggest problems with/improvements to the approach outlined above. Regards, Vinay Sajip

Re: [Python-Dev] Problems with regrtest and with logging

2011-05-06 Thread Vinay Sajip
, then you can either restore the _handlerList using the approach in test_logging, or else you can just close the handlers when you've done with them. If you point me at the relevant code (is it on bitbucket or on hg.python.org?) I can perhaps take a look and advise. Regards, Vinay Sajip

Re: [Python-Dev] Problems with regrtest and with logging

2011-05-08 Thread Vinay Sajip
) def test_something(self): logging.warning('Test') self.assertTrue(self.handler.matches(message='Test')) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Problems with regrtest and with logging

2011-05-09 Thread Vinay Sajip
on it), and set the level on the logger. Where the functionality may be used in an API, you should perhaps check logger.hasHandlers() and avoid adding handlers if there are already some added by a using library or application. Regards, Vinay Sajip

Re: [Python-Dev] Problems with regrtest and with logging

2011-05-11 Thread Vinay Sajip
that's the code which should set the handlers. The levels set by a library for its loggers are merely defaults. Applications using the library can choose to override those levels as they wish. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] more timely detection of unbound locals

2011-05-15 Thread Vinay Sajip
Terry Reedy tjreedy at udel.edu writes: I would change this to local name 'bob' used before the assignment that makes it a local name Calling names 'variables' is itself a point of confusion. +1 ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReader

2011-05-24 Thread Vinay Sajip
that bag of tricks. So I would also want to keep codecs.open() and friends, at least for now - though it makes seems to make sense to implement them as wrappers (as Nick suggested). Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReader

2011-05-28 Thread Vinay Sajip
. Though of course I've no objection to implementing their functionality in the most efficient way possible (which may well be TextIOWrapper), IMO deprecating StreamReader/StreamWriter will make 2.x/3.x portability harder to achieve, and so seems a step too far. Regards, Vinay Sajip

[Python-Dev] 3.2.1 and Issue 12291

2011-06-09 Thread Vinay Sajip
, of course) think? While it does appear to have been broken for some time, it seems a bit too serious to leave until a 3.2.2 release. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

[Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
without cloning and building, I created a Debian package using checkinstall, which can be installed using sudo dpkg -i pythonv_3.3-1_i386.deb and removed using sudo dpkg -r pythonv I can make this Debian package available for download, if anyone wants it. Regards, Vinay Sajip [1] http

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
(the code doesn't rely on symlinks, but rather, copies of executables/DLLs). (All Windows testing so far has admittedly been using source builds rather than via a binary installer.) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
. test_packaging fails because of #12313. test_email fails for a similar reason - Makefile.pre.in is missing test_email in LIBSUBDIRS. test_sysconfig is probably failing because of changes I made, and I'm not sure of test_lib2to3. I will investigate! Regards, Vinay Sajip

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
to make do with junctions a.k.a. reparse points which are more shambolic than symbolic ;-) I know symlinks are available on Vista, Windows Server 2008 and later, but XP is still very common. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
environments skates close to it but manages to avoid it well enough to avoid confusion. Or as they involving encapsulating paths and libaries, perhaps we could call them capsules ;-) though I think the term virtualenv is pretty entrenched now in the Python community. Regards, Vinay Sajip

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
and then sudo checkinstall -D --fstrans=no which takes forever (God knows why - it's many many minutes at 100% CPU) but eventually comes up with the .deb. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] Implement Aspect-oriented programming

2011-06-13 Thread Vinay Sajip
to intelligent, context-sensitive messages. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-13 Thread Vinay Sajip
Barry Warsaw barry at python.org writes: Ah, no I don't think that'll be helpful. I can probably reuse the python3.3 packaging stuff to do a PPA. Okay, go for it! Is there a specific tutorial somewhere about making a PPA for Python? (As opposed to more generalised tutorials - or would they be

Re: [Python-Dev] In-Python virtualisation and packaging

2011-06-21 Thread Vinay Sajip
with a patched version of Distribute which uses sys.site_prefix is available, falling back to sys.prefix when not (so the Distribute change is backward compatible). Regards, Vinay Sajip [1] http://bugs.python.org/issue12331 [2] http://bugs.python.org/issue9100 [3] https://gist.github.com/1022705

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Vinay Sajip
. Last I knew it was Carl Meyer pushing it forward, but Vinay Sajip is the current standard- bearer. I understand Windows support will be a bit tricky; I don't know if they have someone who's going to handle it for them. Mark, thanks for the summary. Re. a PEP for virtual environments

Re: [Python-Dev] svn.python.org confusion

2011-06-28 Thread Vinay Sajip
, openssl etc.) is still the SVN repo. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-06-29 Thread Vinay Sajip
PEP 397 (Python launcher for Windows) has a reference implementation in Python. Does anyone know of a C implementation, or is planning/working on one? I realise this is the final objective, so such implementation might be premature, but perhaps someone has been experimenting ... Regards, Vinay

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-06-30 Thread Vinay Sajip
files. I can post this on BitBucket if anyone's interested, but it's a work in progress. I'm working on some simple tests. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-01 Thread Vinay Sajip
of another thing that perhaps needs handling: what if a customized command points to the launcher itself? It'd be turtles all the way down :-) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-01 Thread Vinay Sajip
. Of course these can be made dynamic, but what's there is good enough for the moment for exploration. Do have a play, and let me know what you think. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-02 Thread Vinay Sajip
taken a closer look, if you think it looks good enough, then that's fine. If you have a BitBucket account, I can add your account to the repo so you can push changes to it. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-03 Thread Vinay Sajip
: with the configuration containing [commands] shell=cmd /c with a shebang in doit.py of '#!shell python -v' the launcher will run 'cmd /c python -v doit.py'. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-03 Thread Vinay Sajip
- if users have to do this now anyway, we at least wouldn't be naking things worse :-) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-03 Thread Vinay Sajip
. I've no idea what put that association in the registry. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-04 Thread Vinay Sajip
launcher - how do we deal with that? Or don't we? There'll be no warning for the user, and this problem will occur even if the launcher is packaged separately from Python. so I think we need to think about this a little more. What say? Regards, Vinay Sajip

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-04 Thread Vinay Sajip
? question. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-05 Thread Vinay Sajip
that you could restore associations to the launcher just by repairing its installation), but since nested MSIs are a no-no, that means installing via a bootstrapping .exe. This is a bigger change to our Windows packaging than some people might be comfortable with ... Regards, Vinay Sajip

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-05 Thread Vinay Sajip
registry or the Wow6432Node used for 32-bit applications. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation

2011-07-05 Thread Vinay Sajip
information Currently I'm putting the file association information in the same component as the files, since the registry values cross reference those files. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

[Python-Dev] Python Launcher for Windows (PEP 397) needs testing!

2011-07-06 Thread Vinay Sajip
. All the other code is just plain C and Win32 APIs (gosh - takes me back! Window procedures, anyone?). The code builds with Visual Studio and also Visual Studio Express (C++ edition). Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-07 Thread Vinay Sajip
using io module code, the only portability issues would be because of people relying on broken aspects of the existing codecs code - which is unlikely to be all (or even most) of the people using codecs.StreamReader/StreamWriter. Regards, Vinay Sajip

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-07 Thread Vinay Sajip
understand that there might be specific issues with them, but isn't actively harmful a little strong? I don't see who is being actively harmed by them, nor how. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-07 Thread Vinay Sajip
from 2.x to 3.x. But in 2.x, is there any other API which allows you to wrap arbitrary streams? If not, then ISTM that removing the Stream* classes would give 2.x-3.x porting projects more trouble than codecs.open() - open(). Regards, Vinay Sajip

Re: [Python-Dev] Python Launcher for Windows (PEP 397) needs testing!

2011-07-07 Thread Vinay Sajip
linked in statically. If you get any more issues, you can post them on the BitBucket issue tracker - they are probably OT for here, unless design/PEP related. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Python Launcher for Windows (PEP 397) needs testing!

2011-07-07 Thread Vinay Sajip
on the BitBucket tracker. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
at all. The launcher code tries to add these keys in HKEY_CLASSES_ROOT, but I believe Windows can map this to HKCU rather than HKLM if you don't have administrator access, at least on XP. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
\Software\Classes tree. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
the command line is merely a convenience for developers (as the PEP says) - it's better to rely on shebang lines together with settings in the .ini to get the behaviour you want. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-20 Thread Vinay Sajip
commands, while perhaps useful for testing, are useless in everyday Python usage: perhaps -O, -Werror, -E, -S etc. might be more useful. I'll take suggestions as to what might be useful customised commands to ship as a default. Regards, Vinay Sajip ___ Python

Re: [Python-Dev] New tests in stable versions

2011-07-20 Thread Vinay Sajip
are you referring to? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-23 Thread Vinay Sajip
SDK (for the 64-bit compilers), Visual Studio Express C++ (2008 Edition), WiX for the installers, and Python. All are free as in beer, and some are also free as in speech. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] PEP 402: Simplified Package Layout and Partitioning

2011-08-12 Thread Vinay Sajip
) and I don't think all instances of putting data files in a package are to be frowned upon. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-17 Thread Vinay Sajip
of it :-) Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-18 Thread Vinay Sajip
existing code e.g. the top-level test scripts or the _backport directory. The added test_distutils2.py is what I used to run the tests. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-18 Thread Vinay Sajip
before final release, but they are not complete show-stoppers and won't preclude 2.x users giving useful feedback. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-18 Thread Vinay Sajip
Éric Araujo merwok at netwok.org writes: Le 18/08/2011 00:30, Vinay Sajip a écrit : stdlib dependency code is either moved to util.py or test/support.py as appropriate. We need sysconfig, shutil, tarfile, hashlib... Surely that’s a lot to put in util.py. Well sysconfig.py/sysconfig.cfg

Re: [Python-Dev] Strange message error in socket.sendto() exception

2011-08-20 Thread Vinay Sajip
Facundo Batista facundobatista at gmail.com writes: An error regarding the argument quantity? what? Ideas? Thanks! I think this is the same as http://bugs.python.org/issue5421 tl;dr : fixed in recent versions. Regards, Vinay Sajip

Re: [Python-Dev] FileSystemError or FilesystemError?

2011-08-23 Thread Vinay Sajip
as a proper word. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Ctypes and the stdlib (was Re: LZMA compression support in 3.3)

2011-08-30 Thread Vinay Sajip
these. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Status of the built-in virtualenv functionality in 3.3

2011-10-06 Thread Vinay Sajip
as it would shadow the third-party module name, and I’m not fond of “virtualize”: it brings OS-level virtualization to my mind, not isolated Python environments. I'm OK with Carl's suggestion of venv, and prefer it to Brian's suggestion of env. Regards, Vinay Sajip

Re: [Python-Dev] Status of the built-in virtualenv functionality in 3.3

2011-10-06 Thread Vinay Sajip
name would be isolate: python -m isolate /project/env doesn't look too bad. There's no eponymous package on PyPI, and note also that in addition to the common usage of isolate as a verb, it's also a noun with an appropriate meaning in this context. Regards, Vinay Sajip

[Python-Dev] socket module build failure

2011-10-07 Thread Vinay Sajip
no longer supported for Python development, or could something be wrong with my configuration? BTW nothing has changed on the machine other than updates to Jenkins and the cpython repo. Any advice would be appreciated! Regards, Vinay Sajip ___ Python-Dev

Re: [Python-Dev] Bring new features to older python versions

2011-10-10 Thread Vinay Sajip
/logutils/ Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-10 Thread Vinay Sajip
this pretty much tick all the boxes? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Bring new features to older python versions

2011-10-10 Thread Vinay Sajip
)? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-10 Thread Vinay Sajip
the registry information on installed Pythons only, with no nod to the possibility of users having installed multiple virtual environments from those installed Pythons. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-11 Thread Vinay Sajip
that there is a Find other ... button which is hidden, and its handler (in PC\bdist_wininst\install.c) is commented out. However, the code called by the handler - GetOtherPythonVersion - is still there. Does anyone here know why the button has been made unavailable? Regards, Vinay Sajip

[Python-Dev] Test failures on Windows 7

2011-10-11 Thread Vinay Sajip
, so can someone advise whether there is any special configuring I need to do? I've just built from the solution file (using Visual Studio 2008 SP1). Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

[Python-Dev] Where are the build files for recent wininst-x.y.exe programs in packaging?

2011-10-11 Thread Vinay Sajip
for -9.0 and -10.0 versions. Where can these be found? Thanks, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] Where are the build files for recent wininst-x.y.exe programs in packaging?

2011-10-11 Thread Vinay Sajip
Vinay Sajip vinay_sajip at yahoo.co.uk writes: Never mind, found the answer from closed issue 9818 - bdist_wininst.vcproj. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-16 Thread Vinay Sajip
flickr link did not work for me, even after I tried replacing at with @. Care to post a shortened link? Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-16 Thread Vinay Sajip
it to the packager to include all relevant binary dependencies, I'm not sure how satisfactory that'll be - possibly, not very. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-16 Thread Vinay Sajip
, but having a Find Other... to locate an alternative Python in a virtual env doesn't seem too onerous for the user. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-16 Thread Vinay Sajip
. BTW, I believe that for virtual env installations, there's no need to provide integration with Add/Remove Programs. I find that the Add/Remove Programs dialog takes long enough to populate as it is :-( Regards, Vinay Sajip ___ Python-Dev mailing list

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-17 Thread Vinay Sajip
care of by having a good bdist_simple - bdist_msi conversion. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-17 Thread Vinay Sajip
. But there are other changes we could make now - for example, the list of categories does not include a library location (necessitating my use of a compiled category), but perhaps a lib category could be built in now. Regards, Vinay Sajip ___ Python-Dev

Re: [Python-Dev] PEP397 no command line options to python?

2011-10-17 Thread Vinay Sajip
does both the bug fix and the arg skipping at present, but I'll happily separate them if needs be. Don't worry about separating them for now, assuming that it's fairly easy to figure out which bit is which :-) Thanks regards, Vinay Sajip

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-17 Thread Vinay Sajip
Hmm, clicking the link in the email works here. but just to be safe: http://goo.gl/pC48e Thanks - looks nice! What is the license which applies to the code? Is it available in a public repository? Regards, Vinay Sajip ___ Python-Dev mailing

Re: [Python-Dev] PEP397 no command line options to python?

2011-10-18 Thread Vinay Sajip
being to bring shebang-line functionality to Windows. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] PEP397 no command line options to python?

2011-10-19 Thread Vinay Sajip
-run-edit-run-... session for the script(s) being edited. If that's the case, just append -u to the shebang line at the beginning of your session, and remove it at the end, and keep using py as your editor's Python; won't that do the trick? Regards, Vinay Sajip

Re: [Python-Dev] PEP397 no command line options to python?

2011-10-22 Thread Vinay Sajip
, on separate lines, even without the --which, e.g. Currently configured: -2: c:\Python27\python.exe -3: c:\Python32\python.exe Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] packaging location ?

2012-09-15 Thread Vinay Sajip
Tarek Ziadé tarek at ziade.org writes: Regards, oh, cool ! maybe we could copy it at hg.python.org ? Sure, but I don't know if I can do it. IIUC it needs someone with an account on the server to create new repositories. Regards, Vinay Sajip

Re: [Python-Dev] packaging location ?

2012-09-15 Thread Vinay Sajip
in there - a Makefile, configure script and some .bat files. I tried cloning it but I'm not allowed to create a repo at the top level - it says Please use a secondary level path such as sandbox/distlib Seems a shame not to make it a top-level repo. Regards, Vinay Sajip

<    1   2   3   4   5   >