Re: [Python-Dev] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
the installer. > > Any clues? Please take a look at msilib.set_arch_from_file. This takes an executable file, determines the processor architecture, and then sets both MSI type (the PID_TEMPLATE SummaryInformation field), and the Win64 variable, which should cause all components to become

Re: [Python-Dev] Subversion branch merging

2007-07-13 Thread Martin v. Löwis
> You mean using svnmerge? If so, see the dev FAQ: > http://www.python.org/dev/faq/#how-do-i-merge-branches . If you are > after something else then I don't know. =) I think that's what I'm looking for. Thanks, Martin ___

Re: [Python-Dev] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
t; familiar with using _winreg. > > If there's interest and I can get pointers to where the MSI files are > built, I can look into patching it. I don't have a convenient 64-bit > Windows machine around to test any changes, though. You don't

Re: [Python-Dev] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
nstalling things differently. > using _winreg is (almost) like using the API directly. > RegDisable[/Enable]ReflectionKey appears to let the 32bit process see the > real keys - I'm not aware of how 64bit apps would enable that reflection, > but it probably doesn't really matt

Re: [Python-Dev] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
t back. Would the one at the > following URL be the correct one to verify? > > http://www.python.org/ftp/python/2.5.1/python-2.5.1.amd64.msi > (linked from http://www.python.org/download/) Indeed. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
know > if this is desirable for some other reason. I found the same thing, and put a corrected installer at http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.5.1.amd64.msi Mark, can you please report whether that fixes your problem? Regards, Martin __

Re: [Python-Dev] Subversion branch merging

2007-07-13 Thread Martin v. Löwis
r on your dial-up machine? I simply cannot imagine that all contributors have access to some machine that is always online and willing to host bzr patches (which is necessary IIUC). Regards, Martin ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] Subversion branch merging

2007-07-13 Thread Martin v. Löwis
on since 0.21, and I certainly don't want to go back to these times). 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] Registry keys written by x64 installer

2007-07-13 Thread Martin v. Löwis
. You are free to put 32-bit executables into 64-bit components just fine. (A "component" in MSI is a group of files and registry keys that is installed together). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http:/

Re: [Python-Dev] Subversion branch merging

2007-07-14 Thread Martin v. Löwis
er with the bugtracker is a burden for some contributors. 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] Registry keys written by x64 installer

2007-07-18 Thread Martin v. Löwis
> Hi Martin, > >> I found the same thing, and put a corrected installer at >> >> http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.5.1.amd64.msi > > Is there any intention to update the msi at python.org? No. I would have to bump the version number for tha

Re: [Python-Dev] Add a -z interpreter flag to execute a zip file

2007-07-23 Thread Martin v. Löwis
Studio. It's all in Tools/msi/msi.py. Just look for the other extensions; the change should be fairly straight-forward. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] Two spaces or one?

2007-07-28 Thread Martin v. Löwis
> I normally use monospaced fonts for Python, but in my > Think Pascal days I wrote most of my Pascal in Geneva. I had to read that sentence twice to understand that you didn't actually go to Switzerland to write Pascal (although this would have been very appropriate). Rega

Re: [Python-Dev] Bus error in transformer.py

2007-07-28 Thread Martin v. Löwis
> Any hints how to debug it further? You should run it under gdb, or attach to the interpreter from gdb. Could it be that you get a stack overflow? To my knowledge, stack space is very scarce on FreeBSD if you use threads. Regards, Martin ___ Pyt

Re: [Python-Dev] Bus error in transformer.py

2007-07-28 Thread Martin v. Löwis
It's a mess. The simplest thing to do would be to stop supporting threading on FreeBSD. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/optio

[Python-Dev] Python Package Index hostname change

2007-07-31 Thread Martin v. Löwis
join [EMAIL PROTECTED] 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] Extending Python by Adding Keywords & Data types

2007-07-31 Thread Martin v. Löwis
tatypes, look at xxmodule.c. The same disclaimer applies: if you have any questions about that, don't ask here. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://ma

Re: [Python-Dev] Cygwin: Problem detecting subprocess termination after _spawn_posix in distutils?

2007-07-31 Thread Martin v. Löwis
spawn_all from distutils/spawn.py: what version of Python are you talking about? I can't find _spawn_all in the sources of 2.5.x, or 2.6. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Python Package Index hostname change

2007-07-31 Thread Martin v. Löwis
Guido van Rossum schrieb: > And why not in the upcoming 2.5 release as well? It's changed there as well. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] Python Package Index hostname change

2007-07-31 Thread Martin v. Löwis
> Please, update 'DEFAULT_REPOSITORY' in Lib/distutils/command/upload.py > (py-2.6 and py3k-struni branches) I did already, for 2.6, in r56543. For the other branches, this change will propagate through merging. Regards, Martin ___ Py

Re: [Python-Dev] Cygwin: Problem detecting subprocess termination after _spawn_posix in distutils?

2007-07-31 Thread Martin v. Löwis
't help, you can ask on the Cygwin list also; to analyse this further, ISTM one will need to debug the internals of cygwin. One thing you could try is to add -v to the list of gcc options; you can then see whether gcc is progressing correctly. Regards, Martin _

Re: [Python-Dev] Python Package Index hostname change

2007-08-01 Thread Martin v. Löwis
> Martin, could you please verify if this change did not break the > download counter? Do you have reason to believe that it did? It should not have. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/m

Re: [Python-Dev] Pythreads and BSD descendants

2007-08-03 Thread Martin v. Löwis
ecide to break __BSD_VISIBLE the same way it got "broken" in OpenBSD, so we need to add their "official" feature selection macro once we find out what that is). The same problem exists of course on many other systems, but those solved the problem long ago (e.g. _GNU_SOURCE - glibc, _

Re: [Python-Dev] x86_64 Interix - Advise needed on size of long

2007-08-04 Thread Martin v. Löwis
hy* you want to make all these changes, but if you so desire... This becoming part of Python? No way. It is intentional that PyInt_AsLong returns long (why else would the function be called this way?), and it is also intentional that the int type has its internal representation as a long. Li

Re: [Python-Dev] x86_64 Interix - Advise needed on size of long

2007-08-05 Thread Martin v. Löwis
a real pain. I must take it into > account all the time when porting. I can only hope people stop using > in favour of explicit sized types or types like size_t, intptr_t etc. I > would love to see the damn thing obsolete. You mean the long type?

Re: [Python-Dev] cStringIO.StringIO() buffer behavior

2007-08-05 Thread Martin v. Löwis
H, since 2.5.1 already supports them, another choice would be continue supporting them, in the same way as they are supported in 2.5.1. Either solution would special-case Unicode strings. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Regular expressions, Unicode etc.

2007-08-08 Thread Martin v. Löwis
bjects/unicodetype_db.h, but the > init attempts to run Tools/unicode/makeunicodedata.py have not > been successful. > > I may be able to reverse engineer the mechanism enough to get > the files off the Unicode site and run it, but I don't want to > spend forever on it. Any clu

Re: [Python-Dev] Regular expressions, Unicode etc.

2007-08-08 Thread Martin v. Löwis
emember it took me some time to understand it as well, but now I see that it does precisely what it needs to do, and precisely in the way it needs to do that. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] Regular expressions, Unicode etc.

2007-08-08 Thread Martin v. Löwis
de point, how do you determine whether it is printing? If rendering it would generate black pixels on white background? 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] Regular expressions, Unicode etc.

2007-08-08 Thread Martin v. Löwis
acter". I propose that this is best done with UTS#18, in which you would write [\P{C}] # or \P{Other} If this is what you want, I'm all in favor of having it implemented. 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] cc: "Martin v. Löwis"

2007-08-08 Thread Martin v. Löwis
uires it to be > run in a particular directory. I can find nothing in any file > even referring to this. Yes, that's something you have to know. Put the files into the root directory of the source tree, then run makeunicodedata.py > And, of course, it SHOULD be possible to upgrade th

Re: [Python-Dev] Unicode database

2007-08-09 Thread Martin v. Löwis
XT >> ) > > Then you DEFINITELY are using a non-standard set of files. That > above was from the source of Python 2.5.1 that I have just downloaded. I don't understand. Why does this follow? What should I read out of the grep lines above, and why does my citing of a URL prov

Re: [Python-Dev] Regular expressions, Unicode etc.

2007-08-09 Thread Martin v. Löwis
actually print anything. > > Ah. It's not an ordinary English term. It's a computer language > one, so I assumed that you would know it. I know the term "printable character", which is what I read in definitions of the isprint() routine. "printing character&qu

Re: [Python-Dev] Unicode database

2007-08-10 Thread Martin v. Löwis
be how best to make a suitable proposal that, inter > alia, includes changes that can't be made by the normal building > mechanisms. > > And I still don't have a clue about that one. You lost me somewhere. What are "chan

[Python-Dev] Dropping support for Win9x

2007-08-12 Thread Martin v. Löwis
t release. If you object to this plan, please speak up. 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] [Python-3000] Documentation switch imminent

2007-08-15 Thread Martin v. Löwis
still other files present in Doc, e.g. from building the documentation 3. review any files left in Doc 4. rm -rf Doc 5. svn up If you are certain there is nothing of interest in your sandbox copy of Doc, you can start with step 4. Regards, Martin ___

Re: [Python-Dev] [Python-3000] Documentation switch imminent

2007-08-15 Thread Martin v. Löwis
data? No, it's to delete any files in this tree not under version control, see step 2. If you had any such files, step 2 would abort with an error message svn: Konnte Verzeichnis »Doc« nicht hinzufügen: ein Objekt mit demselben Namen existiert bereits (or some such) Regards, Martin _

Re: [Python-Dev] Source file markers for Tru64?

2007-08-17 Thread Martin v. Löwis
is to be removed (in 3.0, I presume). > What others are there? Potentially, code that checks whether the processor is alpha might also be relevant - but that could also talk about other systems (Linux or VMS). Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Source file markers for Tru64?

2007-08-17 Thread Martin v. Löwis
> Martin> Can you please add it to PEP 11 first? > > Sorry, I was going by the Py3kDeprecated wiki page. Hmm. Who wrote this page, and why? I would hope that a PEP has more official status than a wiki page. > Martin> Please also add code that makes the build

Re: [Python-Dev] Source file markers for Tru64?

2007-08-17 Thread Martin v. Löwis
OS/2, AtheOS, BeOS), it > appears there is such a person. It would be nice information to collect if > not. (Maybe as a section of PEP 11?) Sounds fine to me. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] More on server-side SSL support

2007-08-20 Thread Martin v. Löwis
ol=PROTOCOL_SSLv23) That's somewhat limiting - you should be able to do connection upgrades (e.g. SMTP STARTTLS, or HTTP Connection: Upgrade); with that design, such usages would not be possible, no? Regards, Martin ___ Python-Dev mailing list Pyt

Re: [Python-Dev] More on server-side SSL support

2007-08-20 Thread Martin v. Löwis
ayer on top of TCP, and so I think the API should look like, as well. Whatever you design, it will either be complicated to use or insufficient in reasonable use cases. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

Re: [Python-Dev] Cannot build new documentation

2007-08-20 Thread Martin v. Löwis
k correctly with the "with" statement (bug #1586513). (backport from rev. 52517) > It seems like the delegation pattern does not mix well with context > managers... > Is there another solution? > Or did I miss something obvious? I think the obvious thing

Re: [Python-Dev] More on server-side SSL support

2007-08-20 Thread Martin v. Löwis
cessary to find out who the authenticated user is, to do authorization. Getting that as a pair (client dn, issuer dn) is the interface that springs to mind first. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

Re: [Python-Dev] Segfault

2007-08-21 Thread Martin v. Löwis
> I think there might already be a bug report about file not being > thread-safe. (It could have also been socket, but I think Martin > fixed a problem in socket a while ago.) This was a different problem, though: the socket object contained an address structure, which it didn't r

[Python-Dev] SF tracker closed now

2007-08-23 Thread Martin von Löwis
[second copy, since the first one apparently did not go through] We are starting with the tracker conversion. Please stop using the bug trackers (either SF or roundup) until further notice. Regards, Martin ___ Python-Dev mailing list Python-Dev

[Python-Dev] New bug tracker is active now

2007-08-23 Thread Martin von Löwis
o take the opportunity to thank Erik Forsberg, who really did the majority of the work involved in switching to roundup (along with various people helping out). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] New bug tracker is active now

2007-08-23 Thread Martin v. Löwis
am. I think this will be fairly difficult to fix. Roundup doesn't have a timezone database; it just applies the delta to the UTC time. We are merely using roundup, instead of developing it. See http://sourceforge.net/tracker/index.php?func=detail&

Re: [Python-Dev] tarfile and directory traversal vulnerability

2007-08-24 Thread Martin v. Löwis
el=1) Ok. You seem to be claiming that the tarfile is incorrect in some sense. Can you please point to some spec that says this is an incorrect tarfile? In any case, if you fix what you consider broken, you should do it exactly the same way as GNU tar does it (assuming you consider GNU tar fixed).

Re: [Python-Dev] tarfile and directory traversal vulnerability

2007-08-28 Thread Martin v. Löwis
r. Point is, you should be able to untar any file > 'safely'. I see, you are asking for an option. If people want to have this option, it should be added. Then, of course, the question is what default it should take. Regards, Martin ___

Re: [Python-Dev] Triage of old tracker bugs: Any use?

2007-08-28 Thread Martin v. Löwis
ot seen any feedback. Unfortunately, it's not easy currently to query the tracker for these, so perhaps the "chatting" state needs to be brought back first. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

Re: [Python-Dev] Other SSL issues in the tracker have been marked

2007-08-29 Thread Martin v. Löwis
> apt-get install openssl will fix that on those systems. on windows > you're unlikely to ever have an openssl binary present and available to > execute. OTOH, having openssl(1) installed is not a prerequisite for Python buildbots currently, and IMO shouldn't b

Re: [Python-Dev] Other SSL issues in the tracker have been marked

2007-08-29 Thread Martin v. Löwis
e result is unspecified if the socket has not been bound to a local name. However, Windows does not implement POSIX here; instead, it implements WinSock, which specifies that WSAEINVAL is returned. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.o

Re: [Python-Dev] PEP 238 - The // operator should truncate instead of floor

2007-08-29 Thread Martin v. Löwis
is right. It would have been good if you had indicated what result you had expected instead. I assume 0; to get 0, you have to write -(3/2)+3/2, or 0-3/2+3/2. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] Order of operations (was: PEP 238 - The // operator should truncate instead of floor)

2007-08-29 Thread Martin v. Löwis
t way, though. 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] whitespace-normalized commit hook...

2007-08-29 Thread Martin v. Löwis
> So, the pre-commit hook is blocking me; how do I trouble-shoot this? Run Tools/scripts/reindent.py Lib/ssl.py Alternatively, run "reindent.py -drv .|grep ' changed'" to analyse your entire sandbox. Regards, Martin ___ Python-

Re: [Python-Dev] zipfile module can't handle large files

2007-08-29 Thread Martin v. Löwis
> Does anyone know how to fix this limitation in the zipfile module? See http://bugs.python.org/issue1189216 Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: h

Re: [Python-Dev] Order of operations

2007-08-29 Thread Martin v. Löwis
Scott Dial schrieb: > Martin v. Löwis wrote: >>> Do you know why? Thanks! >> I'm not sure why precedence was defined that >> way, though. >> > > Because it is consistent with C's precedence rules. Maybe I'm missing something - how exactly is

Re: [Python-Dev] Order of operations

2007-08-29 Thread Martin v. Löwis
eof ( type-name ) unary-operator: one of & * + - ~ ! So -3.41 is definitely two tokens in C. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

Re: [Python-Dev] newb question

2007-08-29 Thread Martin v. Löwis
; not \2, > \3 etc. or are they not escape sequences, but literal forward slashes. They are octal escapes; this is a standard C construct. You need three octal digits to build one character. So it's \222, not \2, and \310, not \3. The integer values are 0222 and 0310, respectively

Re: [Python-Dev] HAVE_DECL_TZNAME in pyconfig.h.in, but no test for it ?

2007-08-30 Thread Martin v. Löwis
ade sure that the trunk will always use autoconf 2.61. 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] Notification of assignment in new tracker

2007-08-30 Thread Martin v. Löwis
"silently". So if you assign an issue to somebody but yourself, you should leave a message also so that this person actually learns about the assignment. Doing so is probably a good idea, anyway, as you should explain why you did this assignment. Regar

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-02 Thread Martin v. Löwis
> At one time Guido mentioned adding a built-in product() function to > cover some of the remaining use cases of the built-in reduce(). What is the use case for product()? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread Martin v. Löwis
> The issue000xxx emails might not being have In-Reply-To or References: header. If messages are entered through the web interface, they won't have these headers. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.py

Re: [Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread Martin v. Löwis
so. The non-threaded ones get displayed on the second level, appearing in reply to the original message (or, rather, the youngest message with the same subject - just as if the message mentioned in In-Reply-To has already been deleted). Regards, Martin __

Re: [Python-Dev] Porting information

2007-09-03 Thread Martin v. Löwis
ed good enough to run the Python test suite. For selected features of the interpreter, there are specific tests, in particular test_capi. The core of CPython (compiler, objects, builtins) is then tested through Python code. Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-04 Thread Martin v. Löwis
> I'd like to see some of the core machinery of numpy moved > into the Python stdlib, and numpy refactored so that it > builds on that. Then there wouldn't be duplication. I think this requires a PEP, and explicit support from the NumPy peopl

Re: [Python-Dev] frozenset C API?

2007-09-04 Thread Martin v. Löwis
w(), then decref the list object. > > Is that correct? Almost. It doesn't have to be a list - any iterable object would do. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

Re: [Python-Dev] Compiling cpython2.5.1 in VS2005?

2007-09-04 Thread Martin v. Löwis
> Can someone confirm this and update the readme file in the PCbuild8 > directory? I don't yet have access to the repository. Please provide patches instead, and post them on bugs.python.org. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] frozenset C API?

2007-09-04 Thread Martin v. Löwis
lsocket.getpeercert(). Conceptually, it should be a list (order *is* relevant). It can then be debated whether the RDN can be represented as a dictionary; my understanding is that the intention of RDNs is that the AttributeType is unique within an RDN (but I may be wrong). Regards, Ma

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-04 Thread Martin v. Löwis
>add_elementwise(src1, src2, dst, start, chunk, stride) > > where src1, src2 and dst are anything supporting the > new buffer protocol. That should be sufficient to support > something with a numpy-like API, I think. This so

Re: [Python-Dev] frozenset C API?

2007-09-04 Thread Martin v. Löwis
single Name. So I'll represent them as tuples, which will preserve > the order in which they occur in the certificate, and make the value > immutable. Ok. I think this will still not support multi-valued RDNs properly, but those are uncommon in PKI. Regards, Martin __

Re: [Python-Dev] frozenset C API?

2007-09-04 Thread Martin v. Löwis
at the attached certificates? How are they represented? The DNs of these are structurally different, one being /DC=org/DC=python/CN=foo/CN=bar and the other /DC=org/DC=python/CN=foo2+CN=bar2 Regards, Martin ca1.crt Description: application/x509-ca-cert ca2.crt Description: application/x509

Re: [Python-Dev] x86 XP trunk failure

2007-09-05 Thread Martin v. Löwis
ght want to know that this is actual build/test problem instead of > some kind of issue with the internet connection here. Thanks. You can discard any such dialogs - most likely, they really were from the 3.0 branch, which is known to crash in bsddb. Regards, Martin ___

Re: [Python-Dev] frozenset C API?

2007-09-05 Thread Martin v. Löwis
7;t tell whether that's two single-valued RDNs in a DN, or one multi-valued RDN with two attribute/value pairs. 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] frozenset C API?

2007-09-05 Thread Martin v. Löwis
t still don't produce structural overhead for the normal case of single-valued RDNs. 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] frozenset C API?

2007-09-05 Thread Martin v. Löwis
correct. 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] frozenset C API?

2007-09-05 Thread Martin v. Löwis
ed_certificate() CN = x[0] 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] frozenset C API?

2007-09-05 Thread Martin v. Löwis
Firefox claims the same order. To bad Verisign hasn't grasped the concept of distinguished names :-( Had they done it right, incorporationStateId, incorporationLocalityId, streetAddress, localityName, postalCode would all have been in the RDN with organizationName - they are all attribute

Re: [Python-Dev] frozenset C API?

2007-09-05 Thread Martin v. Löwis
hat, feel free to. Covering some of the most widely used extensions could be useful: subjectAltName, key usage, extended key usage. If you set up a framework for that, people will contribute others they like to see supported. Regards, Martin ___ Python-Dev ma

Re: [Python-Dev] x86 XP trunk failure

2007-09-05 Thread Martin v. Löwis
own will close the environment, and that will cause a bsddb crash because something is getting released that does not exist anymore. When I last looked at it, I did not see an easy way to fix it; contributions are welcome. Regards, Martin ___ Python-Dev mail

Re: [Python-Dev] frozenset C API?

2007-09-05 Thread Martin v. Löwis
51:F5:4E:E0:CB:16:55:F4:D7:CC:38:67'}, Hmm. In this certificate, none of the extensions you report have been marked critical; they are all non-critical. Also, you are reporting the logotype (1.3.6.1.5.5.7.1.12) incorrectly; it's defined in RFC 3709, and it's definitely not an empty string in the certificate you've used. 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] frozenset C API?

2007-09-06 Thread Martin v. Löwis
ou can get the whole thing as a blob, and then you have to decode it yourself if something you want is not decoded. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

Re: [Python-Dev] any tips on malloc debugging?

2007-09-07 Thread Martin v. Löwis
-with-pydebug build? If not, it should be. If that still does not give insights, I usually try valgrind (although usually with little success). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

[Python-Dev] Buildbot upgraded to 0.7.5

2007-09-08 Thread Martin v. Löwis
I just upgraded the buildbot master to 0.7.5. If you see any problems, please let me know. Neal: buildbot now supports reloading of configurations, without interrupting builds. Try "buildbot reconfig" when you make a change (certain changes would still require a restart). Regar

Re: [Python-Dev] testing in a Python --without-threads build

2007-09-08 Thread Martin v. Löwis
hatever your platform is as log as it was built in this millenium). 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] what platforms require RAND_add() before using SSL?

2007-09-09 Thread Martin v. Löwis
orms? In general, anything that does not have /dev/[u]random; older Solaris releases and HP-UX in particular. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail

Re: [Python-Dev] can't run test_tcl remotely logged in on an OS X machine

2007-09-09 Thread Martin v. Löwis
7041 error = 0) > Abort > % > > This is on the trunk. That's no surprise, I would say: it seems you link against TkAqua (not X11 Tk); for that to work, you need a reference to WindowServer, which won't be available when logged in through SSL. Regards, Martin ___

Re: [Python-Dev] Porting python

2007-09-09 Thread Martin v. Löwis
> I'd like to ask some help where i should start checking the code to fix the > error. Python searches possible candidate locations of the standard library for a landmark, see getpath.c; currently, the landmark is os.py. If it doesn't find the landmark, it complains.

Re: [Python-Dev] Word size inconsistencies in C extension modules

2007-09-09 Thread Martin v. Löwis
ixed over the years already. I have a GCC patch which checks for correctness of ParseTuple calls (in terms of data size) if you are interested. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-de

Re: [Python-Dev] Word size inconsistencies in C extension modules

2007-09-10 Thread Martin v. Löwis
Luke Mewburn schrieb: > On Mon, Sep 10, 2007 at 07:37:02AM +0200, "Martin v. L?wis" wrote: > | In principle, it is possible to deal with these in ParseTuple. > | To do so: > | a) in configure.in, make a configure-time check to compute the > |size of t

Re: [Python-Dev] BerkeleyDB 4.6.19 is buggy and causes test_bsddb3 to hang

2007-09-10 Thread Martin v. Löwis
stable that simultaneously ship in dozens of versions (i.e. with "releases" every two hours or more often). After a bug fix is available, and some time has passed, I'd rather reallow 4.6.x, and put something into README about this bug. Thanks for investigating it. Regards, Martin __

Re: [Python-Dev] Alpha/Tru64 buildbot and SSL compile

2007-09-10 Thread Martin v. Löwis
> The Alpha/Tru64 buildbot seems to be having difficulty compiling > the _ssl.c file. Looks like missing header files. Anyone know what > the configuration of OpenSSL on that machine is like? Neal Norwitz and Ralf Grosse-Kunstleve have access to that machine. Regard

Re: [Python-Dev] testing in a Python --without-threads build

2007-09-10 Thread Martin v. Löwis
, it seems that people expect that thread support is available on NetBSD. The list of expected skips does not mention test_thread for 'netbsd3' (it only does so for 'sco_sv3' and 'riscos') Regards, Martin ___ Python-Dev m

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-11 Thread Martin v. Löwis
6 above, also (obviously) 1. > I've only started looking at the code recently, so please forgive my > naivety. I'm still learning how the interpreter works on a high level, > let alone all the nitty gritty details! Good luck! Martin _

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-11 Thread Martin v. Löwis
tedly, classobject.c is extreme here). There are probably more classes which I just forgot. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailm

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-11 Thread Martin v. Löwis
n, except for their reference count. In addition, they are objects, and Justin seems to believe that things are easier if they are objects. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-11 Thread Martin v. Löwis
obably break quite some code. As for the cached strings - it would be easy to make a global table of these, e.g. calling them _PyS__init__, _PyS__add__, and so on. These could be initialized at startup, simplifying the code that uses them because they don&

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-12 Thread Martin v. Löwis
> But this has been raised before, and was rejected as not worth the > amount of work that would be required to achieve it. In my understanding, there is an important difference between "it was rejected", and "it was not do

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-12 Thread Martin v. Löwis
getting into details: you do NOT have to lock an object to modify its reference count. An atomic increment/decrement operation is enough. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

<    27   28   29   30   31   32   33   34   35   36   >