Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-01 Thread Martin v. Löwis
rited, we should change the Python locks so that they get auto-released on fork (unless otherwise specified on lock creation). This may sound like an uphill battle, but if there was a smart and easy solution to the problem, POSIX would be providing it. Regards, Martin

Re: [Python-Dev] PEP 3147: PYC Repository Directories

2010-02-01 Thread Martin v. Löwis
ond writer would just fail. This is but the only IO operation that is guaranteed to be atomic (along with mkdir(2)), so reusing the current approach doesn't work. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-01 Thread Martin v. Löwis
if there was a >> smart and easy solution to the problem, POSIX would be providing it. >> >> Regards, >> Martin > > Posix threads expose the _atfork function Yes - that's a solution, but one that I would call neither smart nor simple. It requires you to regis

Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-01 Thread Martin v. Löwis
ve the parent and child handlers release the locks. Of course, unless your locks are recursive, you still have to know what locks you are already holding. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mail

Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-02 Thread Martin v. Löwis
> Le lundi 01 février 2010 à 23:58 +0100, "Martin v. Löwis" a écrit : >> Interestingly, the POSIX pthread_atfork documentation defines how you >> are supposed to do that: create an atfork handler set, and acquire all >> mutexes in the prepare handler. Then fork

Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-02 Thread Martin v. Löwis
the > exact program workflow to take locks in the right order. That's not true. If the creator of the locks would register an atfork callback set, they could arrange it to acquire the locks in the right order (in cases where the order matters). Regards, Martin __

Re: [Python-Dev] python -U

2010-02-03 Thread Martin v. Löwis
already gone in 3.x. Precisely my view. 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] The fate of the -U option

2010-02-03 Thread Martin v. Löwis
e that this works also in 2.5: py> def foo(**kw):pass ... py> foo(**{'':None}) py> foo(**{'\0':None}) 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 2.6.5

2010-02-03 Thread Martin v. Löwis
7;d offer a special version of the five-for-one deal: review five Mac issues, and I review this one, despite not being one of the core Mac people. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] __file__

2010-02-03 Thread Martin v. Löwis
ne of them will be used. Having to check for all of > the possible compiled versions of a module is just a waste of time; > you should only care about what import used to load the module. I agree. Martin ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] PEP 3147: PYC Repository Directories

2010-02-03 Thread Martin v. Löwis
yte code files. What I really wanted to suggest is that it should be possible to tell what gets really executed, plus what source file had been considered. So if __file__ is always the source file, a second attribute should tell whether a byte code file got read (so that you can delete t

Re: [Python-Dev] PEP 385 progress report

2010-02-08 Thread Martin v. Löwis
ng the way we are doing it for 2to3 right now? 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 2.6.5

2010-02-09 Thread Martin v. Löwis
> I've noticed a couple of issues that 100% crash Python 2.6.4 like this > one - http://bugs.python.org/issue6608 Is it ok to release new > versions that are known to crash? As a general principle: yes, that's ok. We even distribute known crashers with every releas

Re: [Python-Dev] Python 2.6.5

2010-02-09 Thread Martin v. Löwis
be ok to delay 2.6.5. If 2.6.2 breaks in a case where all prior releases also broke, it would NOT be ok, IMO, to block 2.6.5 for that. There can always be a 2.6.6 release. Of course, if this gets fixed before the scheduled release of 2.6.5, anyway,

Re: [Python-Dev] Python 2.6.5

2010-02-09 Thread Martin v. Löwis
release blockers should only be used if something really bad would happen that can be prevented by not releasing. If nothing actually gets worse by the release, the release shouldn't be blocked. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] Python 2.6.5

2010-02-09 Thread Martin v. Löwis
Antoine Pitrou wrote: > Martin v. Löwis v.loewis.de> writes: >> IOW, I feel that release blockers should only be used if something >> really bad would happen that can be prevented by not releasing. If >> nothing actually gets worse by the release, the release shouldn'

Re: [Python-Dev] Python 2.6.5

2010-02-09 Thread Martin v. Löwis
> On Tue, Feb 9, 2010 at 11:55 PM, "Martin v. Löwis" wrote: >>> Le Tue, 09 Feb 2010 12:16:15 +0200, anatoly techtonik a écrit : >>>> I've noticed a couple of issues that 100% crash Python 2.6.4 like this >>>> one - http://bugs.python.org/issue6

Re: [Python-Dev] Python 2.6.5

2010-02-10 Thread Martin v. Löwis
ecurity-critical at all. People just don't pass out-of-range values to asctime, but instead typically pass the result of gmtime/localtime, which will not cause any problems. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] PEP 385 progress report

2010-02-12 Thread Martin v. Löwis
s will not actually happen. If we can agree to give up the 2to3 sandbox, we should incorporate find_pattern into the tree, and perhaps test.py as well. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] PEP 385 progress report

2010-02-12 Thread Martin v. Löwis
>> On Fri, Feb 12, 2010 at 11:17, "Martin v. Löwis" wrote: >>> IMO, it is realistic to predict that this will not actually happen. If >>> we can agree to give up the 2to3 sandbox, we should incorporate >>> find_pattern into the tree, and perhaps test.

Re: [Python-Dev] PEP 385 progress report

2010-02-12 Thread Martin v. Löwis
iltin lib2to3 would take precedence over the lib2to3 bundled with the application. 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/p

[Python-Dev] PEP 385: Auditing

2010-02-13 Thread Martin v. Löwis
oubt. Alterntively, the email notification sent to python-checkins could could report who the pusher was. Dirkjan: if you agree to such a strategy, please mention that in the PEP. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://ma

Re: [Python-Dev] PEP 385: Auditing

2010-02-13 Thread Martin v. Löwis
ready thinking about having a > similar hook for Python repos. This seems to just be the code that generates the feed, out of a database pushlog2.db that somehow must be created. So where is the code to actually fill that database? Regards, Martin ___ Py

Re: [Python-Dev] PEP 385 progress report

2010-02-13 Thread Martin v. Löwis
load a newer version of 2to3 that fixes them. For this use case, a tightly-integrated lib2to3 (with that name and sole purpose) is the best thing. 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 385 progress report

2010-02-13 Thread Martin v. Löwis
ctually happen, although this is probably a cure worse than the disease. We are not going to throw away the subversion repository, so it would always be possible to go back and look at the actual history. Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] What to intern (e.g. func_code.co_filename)?

2010-02-13 Thread Martin v. Löwis
and how many back-references then get actually generated. 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 385: Auditing

2010-02-14 Thread Martin v. Löwis
Georg Brandl wrote: > Am 13.02.2010 13:19, schrieb Antoine Pitrou: >> Martin v. Löwis v.loewis.de> writes: >>> Alterntively, the email notification sent to python-checkins could could >>> report who the pusher was. >> This sounds reasonable, assuming it does

[Python-Dev] Tracker outage

2010-02-14 Thread Martin v. Löwis
Starting around 14:00 UTC today, we will take the trackers at bugs.python.org, bugs.jython.org, and psf.upfronthosting.co.za offline for a system upgrade. The outage should not last longer than four hours (probably much shorter). Regards, Martin

Re: [Python-Dev] 3.1.2

2010-02-15 Thread Martin v. Löwis
indefinite delay, which would be bad. Of course, for releases managed by Barry (i.e. 2.6), Barry said that you can declare anything a blocker - whether it then will block the release is a different matter (and one that Barry then decides on a case-by-case basis). Regards, Martin __

Re: [Python-Dev] Add UTC to 2.7 (PyCon sprint idea)

2010-02-18 Thread Martin v. Löwis
>> That information is also >> available from the system on Mac OS and Windows. > > It is not available on Windows in any reasonable and useable form. That's not true. The registry is readable by any user, and the format is fully docum

Re: [Python-Dev] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-18 Thread Martin v. Löwis
> It's time to comment and review. Unfortunately, it's not. I strongly object to any substantial change to the code base without explicit approval by Fredrik Lundh. Regards, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-18 Thread Martin v. Löwis
Antoine Pitrou wrote: > Le Thu, 18 Feb 2010 22:46:41 +0100, Martin v. Löwis a écrit : >>> It's time to comment and review. >> Unfortunately, it's not. I strongly object to any substantial change to >> the code base without explicit approval by Fredrik Lu

Re: [Python-Dev] deprecated stuff in standard library

2010-02-19 Thread Martin v. Löwis
in practice at all, but if the policy was in place and just not followed, that's a bug. 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] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-20 Thread Martin v. Löwis
fending right now, that's why I'm defending it: no substantial changes without his explicit approval (breakage due to language changes is about the only exception - not even bug fixes are allowed). Regards, Martin ___ Python-Dev mailing list P

Re: [Python-Dev] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-20 Thread Martin v. Löwis
, and am not contributing any patches back to # upstream, I suggest renaming it instead. This may be politely phrased, but it seems that he is quite upset about these proposed changes. I'd rather drop ElementTree from the standard library than fork it. Regards, Martin __

Re: [Python-Dev] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-20 Thread Martin v. Löwis
else. Unfortunately, it hurts ET users if it ultimately leads to a fork, or to a removal of ET from the standard library. Please be EXTREMELY careful. I urge you not to act on this until mid-March (which is the earliest time at which Fredrik has sa

Re: [Python-Dev] Proposal for virtualenv functionality in Python

2010-02-20 Thread Martin v. Löwis
sed if SMB didn't support both symbolic and hard links, given the right server and client versions. 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] Update xml.etree.ElementTree for Python 2.7 and 3.2

2010-02-20 Thread Martin v. Löwis
be Guido, and if it is not Fredrik, somebody else must step forward. I would then ask that person, as the first thing, to rename the package when making incompatible changes. > I also do not find your idea of dropping the module productive either > Martin. Just dropping it for no other r

Re: [Python-Dev] lib3to2 in the 3.2 standard library?

2010-02-21 Thread Martin v. Löwis
27;ll find a need for additional changes in doing so. 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] Another mercurial repo

2010-02-22 Thread Martin v. Löwis
r now" is fine; in the long term, I propose to add an X-hgrepo header to the messages so that people can filter on that if they want to. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

Re: [Python-Dev] PEP 385 progress report

2010-02-22 Thread Martin v. Löwis
t. When the switchover happens, 2to3 should not be converted to its own hg repository, yes. 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 385 progress report

2010-02-22 Thread Martin v. Löwis
Ah, this shouldn't be used at all for anything (except for studying how Mercurial works). Along with the cpython repository, it is Dirkjan's test conversion. Even if it survived the ultimate migration (which it probably won't), it would get regenerated from scratch, probably

Re: [Python-Dev] PEP 385 progress report

2010-02-22 Thread Martin v. Löwis
> Sorry, I meant "pull from". I want an updated snapshot of 2to3 for the > benchmark suite, and I'm looking for the best place to grab it from. The 2to3 code currently still lives in the subversion sandbox. Regards, Martin ___ Py

Re: [Python-Dev] Another mercurial repo

2010-02-22 Thread Martin v. Löwis
Dirkjan Ochtman wrote: > On Mon, Feb 22, 2010 at 16:06, "Martin v. Löwis" wrote: >> I think sending them there "for now" is fine; in the long term, I >> propose to add an X-hgrepo header to the messages so that people can >> filter on that if they want to.

Re: [Python-Dev] PEP 385 progress report

2010-02-22 Thread Martin v. Löwis
> On Tue, Feb 23, 2010 at 00:55, "Martin v. Löwis" wrote: >> Ah, this shouldn't be used at all for anything (except for studying how >> Mercurial works). Along with the cpython repository, it is Dirkjan's >> test conversion. Even if it survived the ultim

Re: [Python-Dev] status of issue #7242

2010-02-25 Thread Martin v. Löwis
e anything I can do to > help move it forward to be included in a patch release for 2.6? The usual 5-for-one deal applies: review five issues, and I'll review that one (with more energy than at the moment). Regards, Martin ___ Python-Dev mail

Re: [Python-Dev] status of issue #7242

2010-02-25 Thread Martin v. Löwis
Doug Hellmann wrote: > > On Feb 25, 2010, at 2:34 PM, Martin v. Löwis wrote: > >> Doug Hellmann wrote: >>> We've recently run into an issue with subprocess on Solaris, as >>> described (by an earlier reporter) in issue #7242. The patch there >>> so

[Python-Dev] Python and Windows 2000

2010-03-01 Thread Martin v. Löwis
I don't recall whether we have already decided about continued support for Windows 2000. If not, I'd like to propose that we phase out that support: the Windows 2.7 installer should display a warning; 3.2 will stop supporting Windows 2000. Opinions? Regar

Re: [Python-Dev] Python and Windows 2000

2010-03-01 Thread Martin v. Löwis
>> If not, I'd like to propose that we phase out that support: the Windows >> 2.7 installer should display a warning; 3.2 will stop supporting Windows >> 2000. > >Is there any reason for this? I can understand dropping Windows 9x > due to the lack of Unicode support but is there anything missi

Re: [Python-Dev] Python and Windows 2000

2010-03-02 Thread Martin v. Löwis
Neil Hodgson wrote: > Martin v. Löwis: > >> See http://bugs.python.org/issue6926 >> >> The SDK currently hides symbolic constants from us that people are >> asking for. > >Setting the version to 0x501 (XP) doesn't actively try to stop > runnin

Re: [Python-Dev] code.python.org dead?

2010-03-02 Thread Martin v. Löwis
s there > ( at http://code.python.org/hg ). Until we make the official switch, > these mirrors are still useful. Do you know who is in charge of creating the site? I could restore it, but I would need help to make it actually work (such as giving it a working Docume

Re: [Python-Dev] code.python.org dead?

2010-03-03 Thread Martin v. Löwis
> It seems someone has decided that code.python.org doesn't resolve > anymore. I have now restored it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubsc

[Python-Dev] doctest, unicode repr, and 2to3

2010-03-04 Thread Martin v. Löwis
and b) it makes the test less readable. I would like to find a solution where this gets automatically corrected, e.g. through 2to3, or through changes to doctest, or through changes of str.__repr__. Any proposal appreciated. Regards, Martin ___ Pytho

Re: [Python-Dev] doctest, unicode repr, and 2to3

2010-03-05 Thread Martin v. Löwis
Andrew Bennetts wrote: > "Martin v. Löwis" wrote: > [...] >> Any proposal appreciated. > > I propose screaming “help me, I have written a test suite using nothing > but string matching assertions, what is wrong with me?!”

Re: [Python-Dev] doctest, unicode repr, and 2to3

2010-03-05 Thread Martin v. Löwis
ot; repr results. Of course, this wouldn't catch repr strings that were ultimately print()ed (not sure whether that restriction would affect Django). The other (more aggressive) approach is the heuristics you propose, which may end up with false negatives. doctest already has a wildcard matching

Re: [Python-Dev] Modifying Grammar/grammar and other foul acts

2010-03-06 Thread Martin v. Löwis
iling. Enable the D() debugging in parser.c (configure with --with-pydebug, and set PYTHONDEBUG). 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] Building thread-safe sqlite3 with Python 2.6.5rc1

2010-03-08 Thread Martin v. Löwis
> thanks for any tips. Set sqlite_setup_debug to True in setup.py 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] Building thread-safe sqlite3 with Python 2.6.5rc1

2010-03-08 Thread Martin v. Löwis
s kind of question is off-topic for python-dev (which is about development of Python, not about using it). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] Bug tracker: no confirmation before deleting a message

2010-03-11 Thread Martin v. Löwis
log please? :-) That would be even more effort than looking into the existing issue, unless code is provided. 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] "Fixing" the new GIL

2010-03-13 Thread Martin v. Löwis
> Any thoughts? My initial reaction to this report, and still my current opinion is: This issue is not a problem. It's a boundary case, so it's not clear whether Python should be able to deal with it gracefully. I doubt it's a realistic case

Re: [Python-Dev] "Fixing" the new GIL

2010-03-14 Thread Martin v. Löwis
> Speaking for myself, I have an app with a daemon mode which I expect > will sometimes behave as described; it answers requests and thus has I/O > bound threads waiting for requests and dispatching replies, and threads > doing data handling, which make constant use of the zlib library. This is th

Re: [Python-Dev] "Fixing" the new GIL

2010-03-14 Thread Martin v. Löwis
> Testing with a modified server that reflects the above indicates the new > GIL behaves just fine in terms of throughput. > So a change to the GIL may not be required at all. Thanks - I think you put it better than I did. Regards, Martin _

Re: [Python-Dev] "Fixing" the new GIL

2010-03-15 Thread Martin v. Löwis
p > off. Why do you say that? The other threads continue to be served - and Python couldn't use more than one CPU, anyway. Can you demonstrate that in an example? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://m

Re: [Python-Dev] "Fixing" the new GIL

2010-03-15 Thread Martin v. Löwis
that is simple and > which either improves or doesn't negatively impact the performance of > existing applications, why wouldn't you want to do it? Seems like a > no-brainer. Unfortunately, a simple improvement doesn't really seem to exist. Regards, Martin _

Re: [Python-Dev] "Fixing" the new GIL

2010-03-16 Thread Martin v. Löwis
Cameron Simpson wrote: > On 15Mar2010 09:28, Martin v. L�wis wrote: > | > As for the argument that an application with cpu intensive work being > | > driven by the IO itself will work itself out... No it won't, it can > | > get into beat patterns where it is handling

Re: [Python-Dev] "Fixing" the new GIL

2010-03-16 Thread Martin v. Löwis
a point in time where you know the system will be idle for the entire run of that task. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/opt

Re: [Python-Dev] "Fixing" the new GIL

2010-03-16 Thread Martin v. Löwis
he "daemon" world. Unfortunately, you are not able to demonstrate this (because the effect would only be subtle). My claim is that the scenario where the effect is *visible* is unrealistic, i.e. that, in realistic scenarios, tons of other effects actually lessen the problem. Regards, Ma

Re: [Python-Dev] tagging 3.1.2

2010-03-16 Thread Martin v. Löwis
Benjamin Peterson wrote: > My plan is to tag 3.1.2 sometime on Thursday, so binaries can be built > for the final release on Saturday. Agreeable? Fine with me. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/m

Re: [Python-Dev] test_bigmem and test_bigaddrspace broken

2010-03-17 Thread Martin v. Löwis
people to run if they have the hardware and the time. If somebody wanted to contribute such hardware as a build slave - that could certainly be arranged. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] Removing Windows 95-related code in posixmodule.c

2010-03-17 Thread Martin v. Löwis
oach (which I doubt). FWIW, the unicode_file_names function *is* removed in Python 2.7. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/o

Re: [Python-Dev] GSoC 2010 is on -- projects?

2010-03-19 Thread Martin v. Löwis
ver, the learning curve is not to be underestimated: the first few changes will rather be in the "one change per week" range. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-de

Re: [Python-Dev] Tracker opened/closed issue list: missing?

2010-03-20 Thread Martin v. Löwis
> Darn. I bet I broke it when I added the 'languishing' status. I even > thought about that at the time but didn't follow up on it. I'll see > if I can figure out where the script lives. My guess is that the Debian upgrad

Re: [Python-Dev] PEP 3147, __pycache__ directories and umask

2010-03-22 Thread Martin v. Löwis
equested, so it may have a 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] PEP 3147, __pycache__ directories and umask

2010-03-22 Thread Martin v. Löwis
d it may well be the case that you don't have write permission at all, which would trigger lots of ImportWarnings). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: h

Re: [Python-Dev] __pycache__ creation

2010-03-22 Thread Martin v. Löwis
), I think my proposal is "tough luck". Don't try to be super-smart; as Antoine explains, it gets worse, not better. If the user has arranged that Python will create unusable directories, the user better changes his setup. Regards, Martin __

Re: [Python-Dev] __pycache__ creation

2010-03-22 Thread Martin v. Löwis
Antoine Pitrou wrote: > Martin v. Löwis v.loewis.de> writes: >> If certain use cases >> make it problematic (e.g. Apache creating directories which you then >> cannot delete), there should be a way to turn it *off*. Perhaps the >> existing machinery to turn of byte c

Re: [Python-Dev] __pycache__ creation

2010-03-22 Thread Martin v. Löwis
is is any more unfriendly than creating .pyc files in the first place, and the advantages of uniformity of this new approach certainly outweigh the disadvantages. 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] __pycache__ creation

2010-03-22 Thread Martin v. Löwis
really recommend reexamining it, rather than falling for the > shiny new thing. I think the appropriate action at this point is to record this specific objection in the PEP. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://m

Re: [Python-Dev] __pycache__ creation

2010-03-23 Thread Martin v. Löwis
t down > the road. For 2.x, nothing will happen, anyway (except for Linux distributions perhaps integrating a patch on their own): 2.7b1 is about to be released, after which point 2.x will not see any new features. Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Request for commit access

2010-03-23 Thread Martin v. Löwis
g access to Brian (in particular due to the endorsements that have already been posted). I still would like somebody to step forward as a mentor, and I would need Brian to send me his SSH key. Regards, Martin ___ Python-Dev mailing list Python-Dev@p

Re: [Python-Dev] argparse.py is licensed under the Apache License

2010-03-24 Thread Martin v. Löwis
aptop, and you didn't really mean to contribute it). Of course, committing it to subversion is an even stronger indication that you wanted to contribute it :-) The PSF then immediately exercises its right to relicense the code, currently under the PSF license. Regards, Martin __

Re: [Python-Dev] Request for commit access

2010-03-28 Thread Martin v. Löwis
hands, rather than letting the new developer ask for himself. 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] [Distutils] Bootstrap script for package management tool in Python 2.7 (Was: Re: At least one package management tool for 2.7)

2010-03-29 Thread Martin v. Löwis
willing to elaborate on implementation? Notice that the first beta release of Python 2.7 will be made on April 3. Any new feature that you propose must be committed by then. I suggest focusing on Python 3.2 instead. Regards, Martin ___ Python-Dev mai

Re: [Python-Dev] Add -3 and -Wd to the buildbots

2010-03-31 Thread Martin v. Löwis
ag too, both on trunk and py3k. Not sure what you are asking for. If you want confirmation that this change is desirable, it seems you got that already. If you are asking for someone to make that change - go ahead and make it yourself. You just need to change the buildbottest target.

Re: [Python-Dev] python compiler

2010-04-05 Thread Martin v. Löwis
. (Feel > free to point me to an appropriate section of the docs ...) I guess being able to do inspect.currentframe() is a "SHOULD" requirement for Python implementations. It's clear that it will be difficult to provide, so portable applicat

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Martin v. Löwis
ting, Zope page templates, and the like (although some of them already have compilers of some form on their own). HTH, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.pyt

Re: [Python-Dev] stabilizing for a release

2010-04-06 Thread Martin v. Löwis
Benjamin Peterson wrote: > I propose that we freeze the trunk except for fixes for the buildbots. > Thoughts? Freezing sounds fine with me. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Python-Dev] iso-2022 and issue 7472: question for the experts

2010-04-06 Thread Martin v. Löwis
) This issue doesn't get noticed, because it doesn't hurt today's email readers and MTAs to process 8-bit MIME, even if 7-bit had been sufficient. HTH, Martin P.S. Notice that Tokio's original patch had the spelling right. ___ Pyth

Re: [Python-Dev] stabilizing for a release

2010-04-07 Thread Martin v. Löwis
;t go into 2.7b1, by the decision of the release manager. Please accept that. 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/pytho

Re: [Python-Dev] stabilizing for a release

2010-04-07 Thread Martin v. Löwis
anatoly techtonik wrote: > On Wed, Apr 7, 2010 at 2:10 PM, "Martin v. Löwis" wrote: >>> There is still a serious regression in zipfile module: >>> http://bugs.python.org/issue6090 >>> >>> And I would really like to see my issue with difflib tabs c

Re: [Python-Dev] ffi junk messages

2010-04-07 Thread Martin v. Löwis
#x27; > > It's on the buildbots, too. See: > > http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%20trunk/builds/208/steps/compile/logs/stdio Instead of submitting a bug report, it would be better to submit a patch, th

Re: [Python-Dev] ffi junk messages

2010-04-07 Thread Martin v. Löwis
most likely will come from the submitter, as nobody else might have access to the platform, and the knowledge about the platform details. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-

Re: [Python-Dev] ffi junk messages

2010-04-07 Thread Martin v. Löwis
is still exists in the libffi hg repository. 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] regrtest oddify

2010-04-07 Thread Martin v. Löwis
I have commented out all tests in test_gdb, yet http://www.python.org/dev/buildbot/all/builders/sparc%20Ubuntu%20trunk/builds/47/steps/test/logs/stdio still shows them being run. Can anybody explain that, please? TIA, Martin ___ Python-Dev mailing

Re: [Python-Dev] regrtest oddify

2010-04-08 Thread Martin v. Löwis
> FWIW I've attached a patch [1] to http://bugs.python.org/issue8330 which > I believe may fix the issues seen in that log. Thanks! I'll apply them after the beta release (don't want to mess with it before). Regards, Martin ___ Py

Re: [Python-Dev] Tuning Python dicts

2010-04-10 Thread Martin v. Löwis
rse, cases where dicts do show collisions (namely when all keys hash equal), however, I'm uncertain whether the approach would help in that case. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

[Python-Dev] GSoC mentors needed

2010-04-13 Thread Martin v. Löwis
ither be a commitment nor a guarantee that you will actually mentor a project - this depends on a lot of factors (your interest in a specific project, Google's ultimate assigment of slots, and so on). Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] OS information, tags

2010-04-13 Thread Martin v. Löwis
that any AC bugs in the original field will also spread to the new field :-( HTH, 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] Fwd: Broken link to download (Mac OS X)

2010-04-13 Thread Martin v. Löwis
y to this mail in three weeks. That is not surprising: none of the webmaster people would be able to answer the question. python-dev is indeed the right place to ask. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-13 Thread Martin v. Löwis
ialbility of binaries is going to lag source > releases forever. Tres, can you be more explicit? How would such hardware help (whom specifically)? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

<    10   11   12   13   14   15   16   17   18   19   >