Re: [Python-Dev] Build extensions for windows python 2.4 what are the compiler rules?

2004-12-30 Thread "Martin v. Löwis"
file stuff should be removed from the examples, replacing them with the proper macros. 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] Re: Zipfile needs?

2005-01-03 Thread "Martin v. Löwis"
and does follow these procedures. 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] Small fix for windows.tex

2005-01-03 Thread "Martin v. Löwis"
Irmen de Jong wrote: The current cvs docs failed to build for me, because of a small misspelling in the windows.tex file. Here is a patch: Thanks, fixed. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-04 Thread "Martin v. Löwis"
he sense that it uses a stack of hacks and work-arounds for problems which Apple envisions to be solved differently. That would be bad, because it might make an implementation of the "proper" solution more difficult. Regards, Martin ___ Pyt

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
nsion then may pick up a user-installed Python? Why can this problem not be solved by adding -F options, as Jack Jansen proposed? This is not the wrong way to do it. I'm not convinced. Regards, Martin ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread "Martin v. Löwis"
ng to be done? It might be possible to avoid considerable uglification. 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/ar

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Bob Ippolito wrote: Then you haven't done the appropriate research by searching pythonmac-sig. Hmm. > Do you even own a Mac? Do I have to, in order to understand the issues? But to answer your question: yes, I do. Regards, Martin ___ Py

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
n addition to -F? What about -framework Python,/Versions/2.3 I could not find a specification how the suffix in -framework is meant to work - perhaps it could be used here? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread "Martin v. Löwis"
ged, and in what way? 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] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Michael Hudson wrote: Martin, can you please believe that Jack, Bob, Ronald et al know what they are talking about here? I find that really hard to believe, because it contradicts to what I think Apple wants me to believe. I'm willing to follow a series of statements that I can confirm to be

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
frameworks, period. I see. I wish you had told me right from the beginning. 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] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
okup" is a good idea (and this is indeed what bothered me most to begin with). As you say, explicitly specifying the target .dylib should work as well, and it also does not require 10.3. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
t things out at runtime. Not my personal preference, but at least we know that loading an extension into one Python won't bring in a fresh copy of a different interpreter or anything horrible like that. This sounds good, except that it only works on OS X 10.3, right? What about older versi

Re: [Python-Dev] csv module TODO list

2005-01-06 Thread "Martin v. Löwis"
UTF-8, then parsed, then recoded back. That said, I'm hardly a unicode expert, so I may be overlooking something (could a utf-16 encoded character span a line break, for example). This cannot happen: \r, in UTF-16, is also 2 bytes (0D 00, if UTF-16LE). There are issues t

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-06 Thread "Martin v. Löwis"
Ronald Oussoren wrote: Wouldn't it be better to link with the actual dylib inside the framework on 10.2? Otherwise you can no longer build 2.3 extensions after you've installed 2.4. That's what I thought, too. Regards, Martin ___ Pyt

[Python-Dev] Changing the default value of stat_float_times

2005-01-06 Thread "Martin v. Löwis"
When support for floating-point stat times was added in 2.3, it was the plan that this should eventually become the default. Does anybody object if I change the default now, for Python 2.5? Applications which then break can globally change it back, with os.stat_float_times(False) Regards, Martin

Re: [Python-Dev] PATCH/RFC for AF_NETLINK support

2005-01-10 Thread "Martin v. Löwis"
been no need to do so, so far. What do I get with recvmsg that I cannot get with recv/recvfrom just as well? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.

Re: [Python-Dev] Exceptions *must*? be old-style classes?

2005-01-16 Thread "Martin v. Löwis"
instances, e.g. that they are picklable, have an __dict__, and so on. > Am I wrong in assuming that only the most esoteric exceptions inheriting from Exception would break by Exception becoming new-style? Yes, I think so. Regards, Martin ___ Python-

Re: [Python-Dev] Exceptions *must*? be old-style classes?

2005-01-16 Thread "Martin v. Löwis"
e. 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] Exceptions *must*? be old-style classes?

2005-01-16 Thread "Martin v. Löwis"
magic descriptors as above for specialmethods). This would be worth a try. Does anybody have a patch to implement it? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.pyt

Re: [Python-Dev] a bunch of Patch reviews

2005-01-17 Thread "Martin v. Löwis"
Gustavo J. A. M. Carneiro wrote: If someone could take a look at: [ 1069624 ] incomplete support for AF_PACKET in socketmodule.c The rule applies: five reviews, with results posted to python-dev, and I will review your patch. Regards, Martin

Re: [Python-Dev] Exceptions *must*? be old-style classes?

2005-01-17 Thread "Martin v. Löwis"
Guido van Rossum wrote: a) Is Exception to be new-style? Probably not in 2.5; Martin and others have suggested that this could introduce instability for users' existing exception classes. Really? I thought that was eventually decided to be a very small amount of code. I still think that on

Re: [Python-Dev] a bunch of Patch reviews

2005-01-17 Thread "Martin v. Löwis"
tice because (almost) nobody really wants to push his patch bad enough to put some work into it to review other patches. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

Re: [Python-Dev] a bunch of Patch reviews

2005-01-18 Thread "Martin v. Löwis"
any case, what is important is that the documentation is added - it can always be rearranged later. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/m

Re: [Python-Dev] a bunch of Patch reviews

2005-01-20 Thread "Martin v. Löwis"
refer to CVS version numbers. I use the script attached to extract those numbers from the CVS commit message, to paste them into the SF tracker. I probably forgot to mention a few things; you'll notice few enough :-) HTH, Martin ___ Python-Dev m

Re: [Python-Dev] a bunch of Patch reviews

2005-01-20 Thread "Martin v. Löwis"
e. 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] a bunch of Patch reviews

2005-01-20 Thread "Martin v. Löwis"
section contents in NEWS, to put the more important items at the top.) I long ago stopped reading the NEWS file, because it is just too much text. However, if it is desirable to list any change in the NEWS file, I'm willing to comply. Regards, Martin _

Re: [Python-Dev] Speed up function calls

2005-01-24 Thread "Martin v. Löwis"
with your change, I believe it won't anymore. Apart from that, the change looks fine to me. 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] Improving the Python Memory Allocator

2005-01-24 Thread "Martin v. Löwis"
ty is preserved; it should be mentioned in the introductory comments as well. 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] Speed up function calls

2005-01-24 Thread "Martin v. Löwis"
the "What does this do" loop only pops off the function itself. So (without testing) methinks your code currently leaks references. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Speed up function calls

2005-01-24 Thread "Martin v. Löwis"
is the detail I was missing. 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] Patch review: [ 1009811 ] Add missing types to__builtin__

2005-01-26 Thread "Martin v. Löwis"
ncement, I cannot reject the patch, but I won't accept it, either. So it seems that this patch will have to sit in the SF tracker until either Guido processes it, or it is withdrawn. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] Patch review: [ 1009811 ] Add missing types to__builtin__

2005-01-27 Thread "Martin v. Löwis"
pretty strong "no" votes this time around, however. Therefore, I would like to suggest option #3, with being, say, 'internals'. -1. 'internals' is not any better than 'sys', 'new', or 'types'. It is worse, as new modules are confusing to u

Re: [Python-Dev] Patch review: [ 1009811 ] Add missing types to__builtin__

2005-01-27 Thread "Martin v. Löwis"
Raymond Hettinger wrote: Other than a vague feeling of completeness is there any reason this needs to be done? Is there anything useful that currently cannot be expressed without this new module? That I wonder myself, too. Regards, Martin ___ Python

Re: [Python-Dev] Patch review: [ 1009811 ] Add missing types to__builtin__

2005-01-28 Thread "Martin v. Löwis"
Jeff Rush wrote: If they are put into __builtins__, the documentation won't need updating. ;-) In that case, I'd rather prefer to correct the documentation. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

Re: [Python-Dev] Python Interpreter Thread Safety?

2005-01-28 Thread "Martin v. Löwis"
to change, plus the reference counting (which would have to grow atomic increment/decrement). 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 Interpreter Thread Safety?

2005-01-28 Thread "Martin v. Löwis"
list items, but currently doesn't - nor is it currently necessary). 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] Re: PEP 309 (Was: Patch review: [ 1094542 ] add Bunch type to collections module)

2005-01-29 Thread "Martin v. Löwis"
Paul Moore wrote: OK, I reviewed some bugs. Could I ask that someone review 941881 (Martin would be ideal, as he knows the Windows build process - 1006948 should probably be included as well). Thanks for the reviews. I won't be available next week to look into the PEP, but I promise to do so

Re: [Python-Dev] Improving the Python Memory Allocator

2005-01-30 Thread "Martin v. Löwis"
urse - but people typically dislike receiving patches through a mailing list. OTOH, I'm guilty of committing a patch myself which was explicitly marked as not-to-be-committed on SF, so I cannot really advise to use SF in this case. Putting it on your own web server would be best.

Re: [Python-Dev] Should Python's library modules be written to help the freeze tools?

2005-01-30 Thread "Martin v. Löwis"
ll desirable, your patch would be fine (I guess); if they say that the compatibility requirement can be dropped for 2.5, I suggest that the entire exec statement is removed, along with the conditional clause. Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] license issues with profiler.py and md5.h/md5c.c

2005-02-18 Thread Martin v. Löwis
that we cannot make (IMO). 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] Re: Prospective Peephole Transformation

2005-02-19 Thread Martin v. Löwis
Fredrik Lundh wrote: I'd say that this explains why it would still make sense to let the code generator change "x in (a, b, c)" to "x == a or x == b or x == c", as long as a, b, and c are all integers. How often does that happen in r

Re: [Python-Dev] builtin_id() returns negative numbers

2005-02-19 Thread Martin v. Löwis
say is that anybody can use their work for any purpose. 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] Store x Load x --> DupStore

2005-02-20 Thread Martin v. Löwis
Guido van Rossum wrote: I'm concerned that there's too much hacking of the VM going on with too little benefit. I completely agree. It would be so much more useful if people tried to fix the bugs that have been reported. Regards, Martin ___

Re: [Python-Dev] Re: Some old patches

2005-02-23 Thread Martin v. Löwis
ch I still need to look at). 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] a bunch of Patch reviews

2005-02-24 Thread Martin v. Löwis
te the problem? What is a "special linux socket name"? Regardless, the comment of the other reviewer is also valid: any patch needs documentation and test cases. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyt

Re: [Python-Dev] PEP 309

2005-02-27 Thread Martin v. Löwis
reverted? 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 309

2005-02-27 Thread Martin v. Löwis
stand. I do believe that there is no better way to implement the PEP. The PEP very explicitly defines what precisely functional.partial is, and the implementation follows that specification very closely. Regards, Martin ___ Python-Dev mailing list Pytho

[Python-Dev] Quick access to Python bug reports in Thunderbird

2005-02-27 Thread Martin v. Löwis
n Bug menu entry). Regards, Martin P.S. In case you wonder why this plugin is DictionarySearch: it is meant to lookup words in an email in a dictionary, e.g. Wikipedia. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] PEP 309

2005-02-27 Thread Martin v. Löwis
introduce a new module as well. When I put up 5 reviews to get Martin to look at this, I honestly believed that it was a simple case of an accepted PEP with a complete implementation (admittedly scattered over a couple of SF patches), and would simply be a matter of committing it. That was a fair

Re: [Python-Dev] PEP 309

2005-02-27 Thread Martin v. Löwis
ajor objections to the PEP or the patch. Before it goes in on auto-pilot, it would be darned nice if the proponents said that they've found it helpful in real code and that they are satisfied with the timings. I guess "darned nice" is the best you can hope for. Not sure if Peter Harris is sti

Re: [Python-Dev] Quick access to Python bug reports in Thunderbird

2005-02-27 Thread Martin v. Löwis
, it works in most cases, and it is easier to remember - especially as the shortest form is python.org/sf/ (browsers will add the http://, DNS will add the www., and the script will forward to SF index.php) Regards, Martin (*) Apparently, SF now supports an (apparently undocumented) URL format o

Re: [Python-Dev] Re: PEP 754

2005-02-28 Thread Martin v. Löwis
Warnes, Gregory R wrote: What else needs to be done to allow fpconst to go into the Python library? See PEP 1. First, the PEP must be Accepted. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] Re: python-dev Summary for 2005-01-16 through 2005-01-31

2005-03-01 Thread Martin v. Löwis
;t anything wrong with taking a vacation from a project for some time, not even if the vacation takes a few years :-) Enough ranting. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] Patch Reviewing

2005-03-03 Thread Martin v. Löwis
duplicate your work later. So it is better to include the review in the patch, and only post a summary to python-dev. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

[Python-Dev] Outdating import.c 2.241

2005-03-04 Thread Martin v. Löwis
I just mistakenly checked in import.c; I have "outdated" this checkin (cvs admin -o 2.241 import.c). If you happened to have checked-out import.c in-between, don't be surprised if the version numbers go backwards. Regards, Martin ___ Pyt

Re: [Python-Dev] Memory Allocator Part 2: Did I get it right?

2005-03-05 Thread Martin v. Löwis
IL (I assume Evan's patch rips that code out). I think the consensus is that the feature is desirable. So if the code is correct, it should be checked in. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

[Python-Dev] Migrating to subversion

2005-03-06 Thread Martin v. Löwis
r those interested in server side issues: the repository is an 1.1.1 fsfs repository. The CVS repository consumes 368MiB; the SVN repository 797MiB. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Migrating to subversion

2005-03-07 Thread Martin v. Löwis
7;t matter much, since that is excluded from backup, anyway) Thanks for doing this Martin. I've heard that SF may be offering svn as early as May or June and I would love to see us convert when that's available. So do I. However, I now believe that it is unlikely that SF will provide aut

Re: [Python-Dev] Migrating to subversion

2005-03-07 Thread Martin v. Löwis
after the conversion (from svn) would probably work. OTOH, I wonder whether the distutils CVS needs to be converted at all, or whether it would be sufficient to only migrate the python "module" (in which case your approach would be sufficie

[Python-Dev] os.access and Unicode

2005-03-08 Thread "Martin v. Löwis"
ASCII filename on non-NT+ systems will get a UnicodeError; with the patch, the operation will succeed (assuming the characters are all supported in the file system encoding). Should this be backported? Regards, Martin ___ Python-Dev mailing list Pytho

Re: [Python-Dev] os.access and Unicode

2005-03-09 Thread Martin v. Löwis
, either. If there are ACLs on the file, access will consider them (or atleast it should), but no other method will. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Martin v. Löwis
recipe is http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/107747 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-d

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Martin v. Löwis
cisely it was that I needed it for, and I cannot think of any use case for the data type right now. So I'm -0 on adding the data type: I have a vague feeling it is needed, but rarely, and I don't know precisely what for. Regards, Martin ___ Pyth

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Martin v. Löwis
kely to be wrong as the code I'm trying to test. I see. I would argue that you were better off if the test cases were sorted (according to some total, stable-across-releases, order), rather than being ordered. Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-09 Thread Martin v. Löwis
rser *should* use an OrderedDictionary (probably both for cursect and for self._sections), in which case this would all be transparent to the application. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] RELEASED Python 2.4.1, release candidate 1

2005-03-10 Thread Martin v. Löwis
) for details of the bugs squished in this release. I'd like to encourage feedback on whether the Windows installer works for people. It replaces the VBScript part in the MSI package with native code, which ought to drop the dependency on VBScript, but might introduce new incompatibilities. Regar

Re: [Python-Dev] os.access and Unicode

2005-03-11 Thread Martin v. Löwis
backporting will help. 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] os.access and Unicode

2005-03-11 Thread Martin v. Löwis
rs. They accept that the code will get more complicated because of the work-around, and blame Python for having this bug in the first place. In any case, I can't backport the os.access change without explicit permission from Anthony. Regards, Martin __

Re: [Python-Dev] RELEASED Python 2.4.1, release candidate 1

2005-03-12 Thread Martin v. Löwis
install locations, repairs, uninstalls, single-user and all-user installs, and I found no problems anywhere. Nice work! Thanks! Somebody reported that it failed to update python24.dll in an update installation; not sure why this would be. Regards, Martin

Re: [Python-Dev] Re: RELEASED Python 2.4.1, release candidate 1

2005-03-12 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

Re: [Python-Dev] Re: distutils fix for building Zope against Python 2.4.1c1

2005-03-12 Thread Martin v. Löwis
quot;Software\Microsoft\VisualStudio" self.__macros = MacroExpander(self.__version) else: self.__root = r"Software\Microsoft\Devstudio" self.initialized = False def initialize(self): self.__paths = self.get_

Re: [Python-Dev] Python2.4.1c1 and win32com

2005-03-12 Thread Martin v. Löwis
the Python file that causes the crash. 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] Re: [Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.49.2.3, 1.49.2.4 idlever.py, 1.22.2.1, 1.22.2.2

2005-03-12 Thread Martin v. Löwis
an be made for IDLE; OTOH, it might be reasonable to apply the same strict requirements for idlelib as we do for the rest of the Python library, i.e. no new features. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] Re: RELEASED Python 2.4.1, release candidate 1

2005-03-12 Thread Martin v. Löwis
nnection." I believe the problem is the firewall, but I'm not sure if it is related to the install. The previous install (Python 2.3) worked fine. What firewall software are you using? Any exceptions in the console when starting IDLE? Regards, Martin

Re: [Python-Dev] Open issues for 2.4.1

2005-03-12 Thread Martin v. Löwis
in which I won't be able to roll a release. The week after that, I'll have to give exams from Wednesday on, so I would prefer to produce my MSI file on March 29. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] RELEASED Python 2.4.1, release candidate 1

2005-03-13 Thread Martin v. Löwis
, though. Python and IDLE appear to run ok. Shortcuts on Run work, and file association was updated, so right clicking a .py used IDLE from Python 2.4.1c1, in no-subprocess mode. Good! Martin ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] Python2.4.1c1 and win32com

2005-03-13 Thread Martin v. Löwis
but rather compress it? What's the best advice on attaching such large files? If you can store it somewhere on the net, that would be best, putting a link to the file into the SF bug report. SF has a limit on file attachments which is much smaller.

Re: [Python-Dev] Open issues for 2.4.1

2005-03-13 Thread Martin v. Löwis
Anthony Baxter wrote: Ok, I'm convinced - Martin, can you check this in? Done! Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pytho

Re: [Python-Dev] RELEASED Python 2.4.1, release candidate 1

2005-03-14 Thread Martin v. Löwis
. Ok, so it's likely incomplete download. 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] comprehension abbreviation (was: Adding any() and all())

2005-03-15 Thread Martin v. Löwis
a[x]+y*z for x,y in A for z in B if x > z] (Not that this does what you think it does :-) So that you can write f(x) is just a tiny special case. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/p

Re: [Python-Dev] comprehension abbreviation

2005-03-15 Thread Martin v. Löwis
ubscriptlist ']' | '.' NAME So a function call is a power is a factor is a term is an arith_expr is a shift_expr is an and_expr is a xor_expr is an expr is a comparison is a not_test is an and_test is a test. is a list of names, not arbitrary expressions No, it'

Re: [Python-Dev] Problems with definition of _POSIX_C_SOURCE

2005-03-17 Thread Martin v. Löwis
e contact to ask for details - is specific to the particular release of this platform, so if future versions of this platform fix the bug, the work-around of disabling _XOPEN_SOURCE and _POSIX_C_SOURCE can be removed Regards, Martin ___ Pytho

Re: [Python-Dev] thread semantics for file objects

2005-03-17 Thread Martin v. Löwis
something, just go ahead. Before I make the documentation want to say that, I would like to make it say more basic things first (e.g. that stores to variables are atomic). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail

Re: [Python-Dev] thread semantics for file objects

2005-03-17 Thread Martin v. Löwis
t. Nobody knows. It depends on the Python developer who reviews the bug report. Most likely, he considers it tricky and leaves it open for somebody else. If his name is Martin, he will find that this is not a bug (because it does not cause a crash, and does not contradict with the documentation), a

Re: [Python-Dev] thread semantics for file objects

2005-03-17 Thread Martin v. Löwis
, the read either gets the old value, or the new value, but not both. And so on. Writing down all these properties does little good, IMO. This includes your proposed property of file reads: anybody reading your statement will think "of course it works thi

Re: [Python-Dev] thread semantics for file objects

2005-03-18 Thread Martin v. Löwis
on Windows. 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] Change 'env var BROWSER override' semantics in webbrowser.py

2005-03-18 Thread Martin v. Löwis
e the test case requirement here as unimplementable. However, do consider writing test cases. 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] RELEASED Python 2.4.1, release candidate 1

2005-03-18 Thread Martin v. Löwis
of my code which causes the crash (the same rule applies as with Python: it may raise an exception, bring up an error message, and so on - but it should never crash). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Python thread_pthread.h, 2.53, 2.53.4.1

2005-03-28 Thread Martin v. Löwis
empty, you get #if (+0) == -1 which still should compile. 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

Re: [Python-Dev] 64-bit sequence and buffer protocol

2005-03-29 Thread Martin v. Löwis
Travis Oliphant wrote: What is the opinion of people on this list about how to fix the problem. I believe Martin was looking at the problem and had told Perry Greenfield he was "fixing it." Apparently at the recent PyCon, Perry and he talked and Martin said the problem is harder t

Re: python.org/sf URLs aren't working? Re: [Python-Dev] Weekly Python Patch/Bug Summary

2005-03-31 Thread Martin v. Löwis
ays executed, even if the file was not created, and even if the function is left through return. I've fixed the script, however, if somebody takes away o+w on /tmp again, it will mean that the caching silently stops. Regards, Martin ___ Python-Dev m

Re: python.org/sf URLs aren't working? Re: [Python-Dev] Weekly Python Patch/Bug Summary

2005-03-31 Thread Martin v. Löwis
Guido van Rossum wrote: I forwarded this to MvL, who wrote the code; he'll look into it but probably not before Sunday. Actually, now that I saw that it is a permission problem, it turned out to be fixable quite easily. Regards, Martin ___ Pytho

Re: [Python-Dev] Re: hierarchicial named groups extension to the re library

2005-04-02 Thread Martin v. Löwis
e proposed functionality is useful in the first place, I don't know. I never have nested named groups in my regular expressions. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] longobject.c & ob_size

2005-04-03 Thread Martin v. Löwis
ed within a few hours, taking a day to make the testsuite run again; depending on the review process, you might need two releases to fix the bugs (but then, it is also reasonable to expect to get it right the first time). Regards, Martin ___ Python-Dev mail

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-05 Thread "Martin v. Löwis"
r Unicode). With the UTF-8-SIG codec, it would apply to all operation modes of the codec, whether stream-based or from strings. Whether or not to use the codec would be the application's choice. Regards, Martin ___ Python-Dev mailing list Python-De

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-05 Thread Martin v. Löwis
Stephen J. Turnbull wrote: Martin> With the UTF-8-SIG codec, it would apply to all operation Martin> modes of the codec, whether stream-based or from strings. I had in mind the ability to treat a string as a stream. Hmm. A string is not a stream, but it could be the contents of a str

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-05 Thread "Martin v. Löwis"
objects. In the IncrementalParser, it is *not* the case that a read operation returns an empty string. Instead, the application repeatedly feeds data explicitly. For a file-like object, returning "" indicates EOF. Regards, Martin ___ Python-D

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-05 Thread Martin v. Löwis
g, not write to one)! ... and there's no need for a utf-8-sig codec for strings, since you can support the usage in exactly this way. However, if there is an utf-8-sig codec for streams, there is currently no way of *preventing* this codec to also be available for string

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-06 Thread Martin v. Löwis
7;s conundrum"? That "signatures make sense"? So I can't really respond to your message in a meaningful way; I just let it rest... Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

<    41   42   43   44   45   46   47   48   49   50   >