Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-06 Thread Martin v. Löwis
ncertain what I should rename them to. So proposals that rename only one of them aren't that helpful. It would be helpful if people would indicate support for Antoine's proposal. Regards, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-06 Thread Martin v. Löwis
> Wouldn't renaming the existing "surrogates" handler be an incompatible > change, and thus inappropriate? No - it's new in Python 3.1. So what do you think about Antoine's proposal? Regards, Martin ___ Python-Dev mai

Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-06 Thread Martin v. Löwis
n be named analogously > "utf_8b_encoder_invalid_codepoints". Even these, to me, would be better > than confusing giving them the same name as the codec. So are you proposing that I should rename the PEP 383 handler to "utf_8b_encoder_invalid_codepoints"? Regards, Martin __

Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-07 Thread Martin v. Löwis
he primary application of this error >> handler (i.e. file IO operations), there is no way of specifying >> an addition error handler anyway. > > Would it be useful to allow setting this somewhere? I'm deliberately not proposing this as part of the PEP. First, it has eno

Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-07 Thread Martin v. Löwis
trip", > errors="roundtripreplace", errors="tosurrogate", > errors="surrogatereplace", errors="surrogateescape", > errors="binaryreplace", errors="binaryescape". This includes Antoine's > pro

Re: [Python-Dev] PEP 383 update: utf8b is now the error handler

2009-05-07 Thread Martin v. Löwis
ize yourself with the implementation before commenting further? Thanks, Martin ___ 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 383 update: utf8b is now the error handler

2009-05-07 Thread Martin v. Löwis
ppy to make it "surrogatepass" and "surrogateescape" as proposed by Walter. I'm sure you didn't really mean the spelling of "excape" to be taken literally - whether or not you meant the plural and the underscore literally, I

Re: [Python-Dev] PEP 382: little help for stupid people?

2009-05-09 Thread Martin v. Löwis
ys.path, in any order. > > How would this work if base, addon1 and addon2 were eggs managed by > buildout or setuptools? What is a managed egg (i.e. what kind of management does buildout or setuptools apply to it)? Regards, Martin _

Re: [Python-Dev] PEP 382: Namespace Packages

2009-05-09 Thread Martin v. Löwis
4a.*, plonehrm.*, plonetheme.*, pbp.*, lovely.*, xm.*, paste.*, Products.*, buildout.*, five.*, silva.*, tl.*, tw.*, themerubber.*, themetweaker.*, zc.*, z3c.*, zgeo.*, z3ext.*, etc. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] .pth files are evil

2009-05-09 Thread Martin v. Löwis
es, rather than modifying existing ones. If you always use --single-version-externally-managed with easy_install, it will stop editing .pth files on installation. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] PEP 382: little help for stupid people?

2009-05-09 Thread Martin v. Löwis
Chris Withers wrote: > Martin v. Löwis wrote: >>> So this __init__.py can have code in it? >> >> That's the point, yes. >> >>> And base.tar can have other modules and subpackages in it? >> >> Certainly, yes. > > Great, when is the

Re: [Python-Dev] PEP 382: Namespace Packages

2009-05-09 Thread Martin v. Löwis
, as the setuptools mechanism doesn't support base packages. Regards, Martin ___ 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] .pth files are evil

2009-05-09 Thread Martin v. Löwis
> (or the generated script wrappers) to add them to sys.path. Ah, ok. Is there also an easy_install invocation that unpacks the zip file into some location of sys.path (which then wouldn't require editing sys.path)? Regards, Martin ___ Python-

Re: [Python-Dev] .pth files are evil

2009-05-10 Thread Martin v. Löwis
> GNU stow does handle these issues. If GNU stow solves all your problems, why do you want to use easy_install in the first place? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-

Re: [Python-Dev] how GNU stow is complementary rather than alternative to distutils

2009-05-10 Thread Martin v. Löwis
Zooko Wilcox-O'Hearn wrote: > On May 10, 2009, at 11:18 AM, Martin v. Löwis wrote: > >> If GNU stow solves all your problems, why do you want to use >> easy_install in the first place? > > That's a good question. The answer is that there are two separate jobs:

[Python-Dev] albatross backup

2009-05-11 Thread Martin v. Löwis
rs (and neither sure what your current strategy is wrt. volumes on the other machines). Compared to /srv, everything else is peanuts, anyway. Regards, Martin P.S. I have removed ~root/.ssh/authorized_keys. It only contained my key, and root logins are disallowed, anyway. P.P.S. You can stop doing

Re: [Python-Dev] albatross backup

2009-05-11 Thread Martin v. Löwis
[please ignore this message - I sent it to the wrong mailing list] Regards, Martin ___ 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] Shorter release schedule?

2009-05-12 Thread Martin v. Löwis
d releases: would we still maintain them? If so, how many of them? For how long? Regards, Martin ___ 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] How to build Python 2.6.2 on HP-UX Itanium with thread support?

2009-05-13 Thread Martin v. Löwis
on HP-UX, and discussion whether this patch is the appropriate solution. Regards, Martin (**) There is, of course, ActiveState, which does provide binaries, including for HP-UX, so I suppose they support it - at least if you buy commercial support. ___

Re: [Python-Dev] How to build Python 2.6.2 on HP-UX Itanium with thread support?

2009-05-13 Thread Martin v. Löwis
nload/other - contributions are welcome. Regards, Martin ___ 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 376 : Changing the .egg-info structure

2009-05-16 Thread Martin v. Löwis
com/en-us/library/aa365247.aspx Regards, Martin ___ 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@python.org

2009-05-16 Thread Martin v. Löwis
sers of a conversion function that requires cleanup need to initialize the output pointer to NULL, and then release memory explicitly when the argument conversion fails. Which of these do you like best? Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] LZW support in tarfile ?

2009-05-17 Thread Martin v. Löwis
e says: it might be best to just remove that option. For compatibility, perhaps deprecate it in 2.7 and 3.1, and remove in in 3.2. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscri

[Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
Thomas Wouters reminded me of a long-standing idea; I finally found the time to write it down. Please comment! Regards, Martin PEP: 384 Title: Defining a Stable ABI Version: $Revision: 72754 $ Last-Modified: $Date: 2009-05-17 21:14:52 +0200 (So, 17. Mai 2009) $ Author: Martin v. Löwis Status

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
see. Why do you think that optimization efforts could be related to the PEP 384 proposal? Regards, Martin ___ 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 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
the T_ constants would need to be changed as well. So if that's the rationale, I would propose to make it namespace-safe under a different file name, and add alias #defines in structmember.h for compatibility. I also think this should happen independent of PEP 384. See also iss

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
Dirkjan Ochtman wrote: > On Mon, May 18, 2009 at 12:07 AM, "Martin v. Löwis" > wrote: >> I fail to see the relationship, so: no effect that I can see. >> >> Why do you think that optimization efforts could be related to >> the PEP 384 proposal? > &

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
core as ref counting. Access to the type object reference is probably similar. All the other structs are used "directly" in C code, with no accessor macros. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Martin v. Löwis
uld it help IronClad if it could restrict itself to PEP 384 compatible modules? b) Would further restrictions in the PEP help that cause? Regards, Martin ___ 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 384: Defining a Stable ABI

2009-05-22 Thread Martin v. Löwis
ime of 3.x. Another approach could be to document the known restrictions, and otherwise declare "use at your own risk". Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubs

Re: [Python-Dev] FWD: FTP URLs for Python source

2009-05-23 Thread Martin v. Löwis
en scp/rcp/ftp it to the target system. We cannot add an FTP URL to the download page, because we don't run an ftp server anymore, and don't plan to. [I don't quite get the "Here is what ended up working" part. What is http://www.e?] Regards, Martin

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-26 Thread Martin v. Löwis
e, I would actually like to deprecate, >> then remove these APIs. I had originally hoped that this would happen >> for 3.0 already, alas, nobody worked on it. >> >> In any case, I have removed them from the ABI now. > > How do you expect Python extensions to all

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-26 Thread Martin v. Löwis
untime DLL doesn't change > between releases, but it becomes a problem when they do e.g. > due to an upgrade to a new MSVC++ compiler version or in case > the extension was downloaded pre-compiled from pypi or some > other site. What problem specifically may occur? Regards, Martin

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-26 Thread Martin v. Löwis
I start a Python 3.5 application which uses a limited > API extension, this would try to load python32.dll into the > Python 3.5 process. AFAIK, that's not possible due to the > naming conflicts. I don't see this problem. As long as we manage to install multiple versions of python3.d

Re: [Python-Dev] Making the GIL faster & lighter on Windows

2009-05-26 Thread Martin v. Löwis
> 3. ?? - I'm sure there are other issues that deserve a look. What about fairness? I don't know off-hand whether the GIL is fair, or whether critical sections are fair, but it needs to be considered. Regards, Martin ___ Python-Dev mailin

Re: [Python-Dev] Making the GIL faster & lighter on Windows

2009-05-26 Thread Martin v. Löwis
re it; it won't happen that one thread starves waiting for the mutex. This is something that the mutex needs to provide, not the application. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Python-Dev] Making the GIL faster & lighter on Windows

2009-05-26 Thread Martin v. Löwis
Apples & oranges when it > comes to stuff like this Please trust Antoine that it's relevant: if the current implementation isn't fair on Linux, there is no need for the new implementation to be fair on Windows. Regards, Martin ___ Python-D

Re: [Python-Dev] Issues with Py3.1's new ipaddr

2009-06-01 Thread Martin v. Löwis
l too narrow, for some applications I would envision - such as computing consistency of BGP tables and whois databases). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Issues with Py3.1's new ipaddr

2009-06-01 Thread Martin v. Löwis
ddr was first offered. It's just not an important library, and people will continue to roll their own for some time. OTOH, with ipaddr in the standard library, people will also start contributing extensions that make it support their use cases, so it should grow a wider

Re: [Python-Dev] Issues with Py3.1's new ipaddr

2009-06-01 Thread Martin v. Löwis
iscussed on the tracker). Regards, Martin ___ 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] Issues with Py3.1's new ipaddr

2009-06-01 Thread Martin v. Löwis
Clay McClure wrote: > On Tue, Jun 2, 2009 at 1:38 AM, "Martin v. Löwis" wrote: > >> For the net-vs-host issue, I think a backwards-compatible solution >> is possible: just give the IP() function an option parameter that >> makes it reject a netmask during par

Re: [Python-Dev] Issues with Py3.1's new ipaddr

2009-06-01 Thread Martin v. Löwis
fully (but I might be wrong with that, and there might be a different reason). Regards, Martin ___ 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] Issues with Py3.1's new ipaddr

2009-06-02 Thread Martin v. Löwis
> You seem comfortable with these quirks, but then you're not planning > to write software with this library. Developers who do intend to write > meaningful network applications do seem concerned, yet we're ignored. I don't hear a

Re: [Python-Dev] Issues with Py3.1's new ipaddr

2009-06-02 Thread Martin v. Löwis
refer its removal at this point. Regards, Martin ___ 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] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-03 Thread Martin v. Löwis
s "the module has these minor flaws, they should be fixed at some point", which means "commit, then change later". This is what happened. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-03 Thread Martin v. Löwis
r because his author offered to maintain it. I then didn't have the time to review it myself, and was happy that others picked it up. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-03 Thread Martin v. Löwis
ker to > add responses. Actually, one of roundup's big advantages over many competitors is that you can also respond by email; many contributors actually do that. You only have to remember that this isn't really email, so you can usually omit salute and si

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-04 Thread Martin v. Löwis
and there's no documentation > (that I'm aware of) which says that a "-1" is required, or how it will > be used or interpreted. Well, there is http://www.python.org/dev/peps/pep-0010/ I personally use them sometimes, but wouldn't insist on others using them.

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-04 Thread Martin v. Löwis
> Is there a good python-dev archive search mechanism (other than to > google "python-dev " ;) out there? Wouldn't that help? I would add site:mail.python.org into the google query, but apart from that: what's wrong with googl

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-04 Thread Martin v. Löwis
someone can remove > python-dev from the "nosies." No new code is required to set this up > as far as I can tell. That would certainly be possible. I'm not sure whether it *should* be done, though. If anybody actually wants that feature, please create a ticket in t

Re: [Python-Dev] Issues with process and discussions (Re: Issues with Py3.1's new ipaddr)

2009-06-04 Thread Martin v. Löwis
y easy. Start a search, put your account name into "Nosy list member", and put "My nosy" (or some such) into "Query name**". Then hit search, and watch "My nosy" appear under "Your queries". Regards, Martin

Re: [Python-Dev] Status of 2.7 and 3.2

2009-06-07 Thread Martin v. Löwis
, rather > than a 2.x to 3.y upgrades? IMO, it's much up to the contributors. If the regular committers want to continue to work on 2.x, and a release manager is found to create releases, we can continue to release 2.8, and perhaps 2.9. However, I think at this point, it is too early

Re: [Python-Dev] Status of 2.7 and 3.2

2009-06-07 Thread Martin v. Löwis
Nick Coghlan wrote: > Martin v. Löwis wrote: >>> I have thought that 2.7 was now to come out instead with 3.2 and would >>> include backported 3.2 new features. Others expect 2.7 to come out soon >>> after 3.1 and to only contain new 3.1 features. So Guido or someo

Re: [Python-Dev] Status of 2.7 and 3.2

2009-06-07 Thread Martin v. Löwis
#x27;ll have to convince me that having new features > in 2.7 that aren't in 3.1 is a good idea :) I don't see why the precise ordering of release dates matters at all. It seems you are happy with having 3.2 be released "around the same time" as 2.7. What is "the same time

Re: [Python-Dev] Draft PEP 385: Migrating from svn to Mercurial

2009-06-08 Thread Martin v. Löwis
>> Also, Martin suggested we migrate to Python's svn and then go along >> for the svn->hg ride. Does that still make sense now that some >> planning has been done? > > I don't think so. It should not matter from which repository the conversion > is d

Re: [Python-Dev] Draft PEP 385: Migrating from svn to Mercurial

2009-06-08 Thread Martin v. Löwis
> For my part I'm fine either way (and I agree that Martin should decide > based on what is best for him). See my other message. We need to collect SSH keys, and I don't mind moving the Jython repository. OTOH, if the Jython repository gets converted into hg right away, it'

Re: [Python-Dev] Status of 2.7 and 3.2

2009-06-08 Thread Martin v. Löwis
suggests that you *do* want to see new features (namely, a native curses module, and a native readline module). Which one is it? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] Cannot set PYTHONPATH with big paths with Python 3.0 and 3.1

2009-06-08 Thread Martin v. Löwis
that long). If nobody else has time to submit a patch, either, Python 3.1 will get released with this bug. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mai

Re: [Python-Dev] SSL Certificate Validation

2009-06-16 Thread Martin v. Löwis
e yourself much more with OpenSSL. Regards, Martin ___ 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] SSL Certificate Validation

2009-06-16 Thread Martin v. Löwis
>> This question is really off-topic for python-dev. As a python-dev >> poster, you should do research upfront, and only post on what you >> consider facts. > > Martin, I told him to ask his question about _ssl internals on > python-dev as he is new, and looking to work

Re: [Python-Dev] SSL Certificate Validation

2009-06-16 Thread Martin v. Löwis
In any case, _ssl.c is *not* the place where any of the certificate validation actually happens - nor does it happen elsewhere in the Python source code, IIUC. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/

Re: [Python-Dev] xmlrpc improvements

2009-06-20 Thread Martin v. Löwis
asing control of xmlrpclib. Regards, Martin ___ 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] xmlrpc improvements

2009-06-20 Thread Martin v. Löwis
e6267 While I have your attention, please also review http://bugs.python.org/issue6233 Regards, Martin ___ 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] Binary Operator for New-Style String Formatting

2009-06-21 Thread Martin v. Löwis
erybody else who said that this would be a change for the worse. This kind of syntax is one of the most prominent features of Perl. $...@~ly/your/s!, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] trace module options.

2009-06-25 Thread Martin v. Löwis
On-topic would have been a disussion of which of these features would be useful for the trace module to be built-in, how to best provide them, along with an offer to produce a patch. Regards, Martin ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] Syntax for parsing tuples/lists into C arrays

2009-06-25 Thread Martin v. Löwis
> Comments? I don't think there is any need to support that in the Python core. Instead, if you find such a functionality useful, feel free to implement it yourself, and share it with others. Regards, Martin ___ Python-Dev mailing list Py

Re: [Python-Dev] ndPython: I NEED TO TALK WITH ONE OF THE PYTHON CORE DEVELOPERS

2009-06-25 Thread Martin v. Löwis
> Can you tell me which modules provide to > decode and execute a .pyc file ? The bytecode loader in in marshal.c; the byte code interpreter is in ceval.c. Also consider frameobject.c and codeobject.c. HTH, Martin ___ Python-Dev mailing list Pyth

Re: [Python-Dev] pthread sem PyThread_acquire_lock

2009-06-27 Thread Martin v. Löwis
le, not what the specific patch would look like)? Regards, Martin ___ 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] 2.4.7: Final 2.4 release

2009-06-29 Thread Martin v. Löwis
preferably only fixes that have already been applied to later releases of Python. Regards, Martin ___ 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] PEP 376

2009-06-29 Thread Martin v. Löwis
nt, which you should now seek. Regards, Martin ___ 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] pthread sem PyThread_acquire_lock

2009-06-29 Thread Martin v. Löwis
tibilities. So any change must be done with greatest care, but simultaneously, should also try to arrange to cover all cases. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

Re: [Python-Dev] PEP 376

2009-06-30 Thread Martin v. Löwis
> - Post that to python-list, with a note pointing to the PEP for people > who care about distutils details If that hasn't been done before (I have not followed), it should be done right away. PEP 1 makes it a mandatory requirement for acceptance. Rega

Re: [Python-Dev] PEP 376

2009-06-30 Thread Martin v. Löwis
but it doesn't seem to hurt having it, especially since "egg-info" already managed to sneak in. > I hope it'll make it one day. If not, I don't understand the goal of > the "Python Language Summit' Just be patient. Both Python 2.7 and 3.2 are still many mon

Re: [Python-Dev] PEP 376

2009-07-01 Thread Martin v. Löwis
> I dunno what the right solution is. I feel that it is straight forward. Either provide a /usr/bin/python-uninstall utility, or arrange to make python -mdistutils.uninstall work, so one would do python -mdistutils.uninstall some_package Regards, Mar

Re: [Python-Dev] "re" module and Python 1.6 (GPL incompatible) license?

2009-07-02 Thread Martin v. Löwis
> PS: if this gets fixed somehow, can the fix be backported to the > Python 2.5.x releases? Definitely not - it's not security critical. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
ndows and hg could provide detailed instructions well in advance of August 1. If we don't have anybody familiar with Windows and hg, we have a really serious problem. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
ntly: 2.4 and 2.5, although 2.4 will be closed soon. - our committers consistently refuse to merge changes across branches themselves, and likely continue to do so unless there is some feature of hg that I missed (e.g. one were merging would happen without any user specifically asking for i

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
ng it (either code.python.org, or sys.revision), *cannot* be agnostic of the specific technology. Regards, Martin ___ 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] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
few the > other) is a big problem. But feel free to enlighten me! If "both" means "both the server side test, and win32text", then Mark already gave the answer: he cannot use win32test because he does not know how to operate it (and

[Python-Dev] 3.1 buildbots

2009-07-03 Thread Martin v. Löwis
I have now turned the 3.0 buildbots off, and created new builders for 3.1. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
from your proposed sys.revision. For cloned branches, I wonder how sys.revision[1] would be computed. Regards, Martin ___ 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] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
e used for the specific version. Regards, Martin (*) even for svn it was best-effort only in case there were local modifications. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://m

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
rrors the output of the hg id command, which is > intended for this kind of usage. I would like to see this well before the switch also. It could be a patch (unified diff) stored in the tracker, or it could be an actual branch that then needs to get merged with all active branches (IIUC). Regard

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
Barry Warsaw wrote: > On Jul 3, 2009, at 5:00 PM, Martin v. Löwis wrote: > >> I'm -1 on calling it "sys.revision", as this makes it difficult to >> tell what the actual versioning system was, and hence how the >> data should be interpreted. It will already b

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
should just freeze the tuple at > e.g. ('CPython', 'branches/release26-maint', None). That would work for me (I had to re-read the documentation to see that None is a valid, documented value for version, and allowed if "the tree was exported"). Interesting to notice

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-03 Thread Martin v. Löwis
Nick Coghlan wrote: > Martin v. Löwis wrote: >> I would drop the roundup integration from the things that need to >> be done pre-migration - there currently is no svn integration, so >> not having it for hg is not a step backwards. > > That's not quite true - the

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-04 Thread Martin v. Löwis
> I see that George Brandl and Martin van Loewis seem to be accomodating > your viewpoint, but I don't get the impression that either you (as the > hg migration proponent) nor they (as core committers) realize how far > apart your assumptions are. Actually, I (probably) don&#

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-05 Thread Martin v. Löwis
omeone does a hg merge. I probably don't fully understand, but that seems to imply a workflow were all changes made to one branch should also automatically be integrated into a different branch. I'm curious as to how such a mechanism can apply to Python. Regards, Martin __

[Python-Dev] Mercurial migration: help needed

2009-07-05 Thread Martin v. Löwis
e of the Python source code, Mercurial, and either autoconf or Visual Studio (preferably both). Regards, Martin ___ 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] Mercurial migration: help needed

2009-07-05 Thread Martin v. Löwis
> with him). I think that's straight-forward. Once we know what URLs to link to, we just need to fix the regexps. > For build identification, I'd only be able to do the C/Python side of > things and (with luck) autoconf. Ok, we'll see in a week from now whe

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-06 Thread Martin v. Löwis
s-is, for all the stuff that won't be migrated. Regards, Martin ___ 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] Mercurial migration: progress report (PEP 385)

2009-07-07 Thread Martin v. Löwis
l33d00 after problems on Pentium CPUs". In practice, rather 30ba63d28b1b or 12fb3b32d75d (from html5lib, fwiw). Dirkjan meant "[a-f0-9]{12}" literally. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-07 Thread Martin v. Löwis
or a, say, "r" or "R" prefix, or perhaps "V" or "merc:". I think you are proposing that there is no prefix because the chance for a misidentification of some word as a hg revision number is small, as it has to be exactly 12 hex digits. Regards, Martin

Re: [Python-Dev] Mercurial migration: progress report (PEP 385)

2009-07-07 Thread Martin v. Löwis
llow revisions of a patch - motivation 4: allow tracking the mainline while working on a patch - motivation 5: avoid using arcane third-party tools for merge tracking So merge tracking was not the main argument, but the fifth. Regards, Martin ___ Python-Dev

Re: [Python-Dev] Suggested PySys_SetArgv use with a (char **) argv ?

2009-07-07 Thread Martin v. Löwis
ide a patch to bugs.python.org. I believe this patch is *very* difficult to implement, unless the function can accept some severe limitations. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] Suggested PySys_SetArgv use with a (char **) argv ?

2009-07-07 Thread Martin v. Löwis
er *how* it's done as long as you can pass char** in some way. > Alternately a function to convert the char **argv to wchar_t **argv > could be ok too. Convert in what manner? What is the encoding of your char**? Regards, Martin ___ Python-Dev

Re: [Python-Dev] PEP 376 - Open questions

2009-07-08 Thread Martin v. Löwis
;. That would be setting expectations far too high because > packaging cross-platform is so messy. OTOH, it *is* expected that the PEP explicitly lists aspects that it didn't resolve, so that any reader can find out whether something was discu

Re: [Python-Dev] Current patch process question

2009-07-08 Thread Martin v. Löwis
life easier. I usually abstain from "me too" messages, but only this time: as Antoine says. Regards, Martin ___ 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] Search error on tracker?

2009-07-09 Thread Martin v. Löwis
gain, did you search for closed reports also? > Is there some sort of delay in updating the search indexes? No, it's immediate. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

[Python-Dev] Mercurial: tag generation incorrect

2009-07-10 Thread Martin v. Löwis
, Martin ___ 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

<    5   6   7   8   9   10   11   12   13   14   >