Re: [Python-Dev] cpython: Remove some extraneous parentheses and swap the comparison order to

2011-06-07 Thread David Malcolm
On Tue, 2011-06-07 at 11:03 +0200, M.-A. Lemburg wrote: > Georg Brandl wrote: > > On 06/07/11 05:20, brett.cannon wrote: > >> http://hg.python.org/cpython/rev/fc282e375703 > >> changeset: 70695:fc282e375703 > >> user:Brett Cannon > >> date:Mon Jun 06 20:20:36 2011 -0700 > >> summ

Re: [Python-Dev] is anyone using Misc/RPM?

2011-06-13 Thread David Malcolm
On Sun, 2011-06-12 at 15:37 -0500, Benjamin Peterson wrote: > If no one is using it, I'd like to delete it. I also don't think we > should be in business of distributing distribution specific files. FWIW, Fedora and RHEL don't use this particular .spec file; we roll our own. I can't speak for all

[Python-Dev] Buildbot status web pages

2011-06-16 Thread David Bolen
I've been receiving 503 errors from the buildbot web status pages beneath www.python.org/dev/buildbot for a day or two now - is there perhaps something that needs a bit of a kick-start? Thanks. -- David ___ Python-Dev mailing list Pytho

[Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread David Gowers
Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org), with SVN Python? When I 'import gegl', that causes an immediate crash with the following backtrace. babl-db.c:100 babl_db_insert() Ek Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Threa

Re: [Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread David Gowers
On 7/20/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > "David Gowers" <[EMAIL PROTECTED]> wrote: > > Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org), > > with SVN Python? > > When I 'import gegl', that causes an immed

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

2007-07-24 Thread David Gowers
On 7/24/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 7/12/07, Daniel Stutzbach <[EMAIL PROTECTED]> wrote: > > On 7/11/07, Andy C <[EMAIL PROTECTED]> wrote: > > > The good thing about this is that it's extremely simple -- basically > > > 20 lines of C code to add a -z flag that calls a 3-lin

Re: [Python-Dev] [PEPs] Email addresses in PEPs?

2007-08-20 Thread David Goodger
amp; 12, my address is encoded as "goodger at python.org" (the "@" is changed to " at " and further obfuscated from there). More tricks could be played, but that would only decrease the usefulness of addresses for legitimate purposes. Spam is a fact of life. People ju

[Python-Dev] Windows buildbot needed?

2007-09-01 Thread David Bolen
ehavior under Windows. Anyway, if it would be useful, I figured I could use this virtual machine for a buildbot for at least trunk and 3k, perhaps with 2.5 too. Not sure if that requires multiple accounts, or if you configure each buildbot instance with an SVN path (I didn't see anywhere

Re: [Python-Dev] x86 XP trunk failure

2007-09-05 Thread David Bolen
a harder time forcing it by just running test_bsddb3 on FreeBSD, for example, while I get the dialog consistently on Windows. -- David ___ 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] x86 XP trunk failure

2007-09-05 Thread David Bolen
_? Although that would affect GC and thus destruction order too). This test has been around a bit, but the pruning of the directory was backported recently, which is probably the source of the problems. -- David ___ Python-Dev mailing l

Re: [Python-Dev] x86 XP trunk failure

2007-09-05 Thread David Bolen
re that the test is enforcing anything at this point, or at least I'm not sure how to be absolutely positive that the change will continue to enforce what the existing code used to test. But I can open a ticket with the proposed changes if that would help. -- David _

Re: [Python-Dev] x86 XP trunk failure

2007-09-05 Thread David Bolen
I wrote: > But I can open a ticket with the proposed changes if that would help. Figure it can't hurt - I've created issue 1112 with the proposed patch to the test_1413192.py module. -- David ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Windows package for new SSL package?

2007-09-12 Thread David Bolen
lso need to understand the different library names (and required system libraries) to build properly under Windows, as you've already highlighted, but that should be relatively easy to vary by platform. -- David ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] Windows package for new SSL package?

2007-09-12 Thread David Bolen
e is no OpenSSL to "find" in your setup even with Python installed - at least not any libraries you can use). In other words, both the standard and your extension module on Windows bring along their own OpenSSL. -- David ___ Python-Dev mailin

Re: [Python-Dev] Windows package for new SSL package?

2007-09-13 Thread David Bolen
On 9/13/07, Paul Moore <[EMAIL PROTECTED]> wrote: > On 13/09/2007, David Bolen <[EMAIL PROTECTED]> wrote: > > I think where there's probably a small disconnect here is that, there > > really isn't an OpenSSL "installed" on the end user's machin

Re: [Python-Dev] Daily Windows Installers

2007-09-14 Thread David Bolen
7;t get the pop-up box (which blocks the rest of the processing) so at least an MSI can get created even if the chm is bad. -- David ___ 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] Daily Windows Installers

2007-09-14 Thread David Bolen
Georg Brandl <[EMAIL PROTECTED]> writes: > David Bolen schrieb: >> Georg Brandl <[EMAIL PROTECTED]> writes: (...) >> For the moment I'm probably going to work to ensure we don't get the >> pop-up box (which blocks the rest of the processing) so at leas

Re: [Python-Dev] Daily Windows Installers

2007-09-17 Thread David Bolen
whatever command is requested. We had a bit of discussion about this recently on the py3k devel list, in regards to failures in the python buildbot tests, in regards to more local changes within Python itself. -- David ___ Python-Dev mailing list P

[Python-Dev] PyCon 2008: Call for Talk & Tutorial Proposals

2007-10-16 Thread David Goodger
html -- David Goodger <http://python.net/~goodger> ___ 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] Only one week left for PyCon proposals!

2007-11-09 Thread David Goodger
//us.pycon.org/2008/conference/proposals/ The deadline is Friday, November 16. Don't put it off any longer! PyCon 2008: http://us.pycon.org -- David Goodger PyCon 2008 Chair signature.asc Description: OpenPGP digital signature ___ Python-Dev mail

[Python-Dev] Last chance for PyCon talk & tutorial proposals!

2007-11-15 Thread David Goodger
ython.org/moin/PyCon2007/Feedback/TutorialIdeas I hope to see (and hear) you at PyCon 2008! http://us.pycon.org -- David Goodger, PyCon 2008 Chair signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@p

[Python-Dev] PyCon 2008 Registration Open!

2008-01-20 Thread David Goodger
erence, of, by, and for the Python community. There is still much to do, and you can help! http://us.pycon.org/2008/helping/ See you in Chicago! David Goodger PyCon 2008 Chair signature.asc Description: OpenPGP digital signature ___ Python-De

[Python-Dev] PyCon: deadline for hotel reservations and early-bird registration coming soon!

2008-02-12 Thread David Goodger
amp; tutorials March 13, & sprints March 17-20) David Goodger PyCon 2008 Chair signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-25 Thread David Bolen
to make builds upon request, I presume, depending on the master configuration. I know Martin set the current scheme up. -- David ___ 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] map, filter, zip in future_builtins

2008-03-18 Thread David Wolever
I'm working on #2171 -- putting map, filter, zip in 2.6's future_builtins. It has been suggested that it would be simplest to just return itertools.(imap, izip, ifilter), which is what py3k/Python/ bltinmodule.c, revision 61356 did. The advantage of this is that it's really easy and the behav

Re: [Python-Dev] map, filter, zip in future_builtins

2008-03-18 Thread David Wolever
On 18-Mar-08, at 5:10 PM, Guido van Rossum wrote: > On Tue, Mar 18, 2008 at 3:54 PM, David Wolever > <[EMAIL PROTECTED]> wrote: >>>>> type(map(lambda x: x, [1, 2, 3])) # Python 2.6, with the patch >> >>>>> type(map(lambda x: x, [1, 2, 3])) ==

Re: [Python-Dev] map, filter, zip in future_builtins

2008-03-18 Thread David Wolever
On 18-Mar-08, at 6:01 PM, Benjamin Peterson wrote: Couldn't you just import imap as map? What do you mean? Import imap as map in future_builtins.c? Like the Python: import itertools map = intertools.map type(map(lambda x: x, range(3))) == map # True Ah, that's a much better idea :P I'll do t

[Python-Dev] Order of Fixers

2008-03-19 Thread David Wolever
At the moment, fixers are run in alphabetical order -- but this poses a problem, because some depend on others (for example, fix_print will need to be run _before_ fix_future, because fix_print looks for the 'from __future__ import ...' statement. I'm tempted to simply change fix_future to f

Re: [Python-Dev] Order of Fixers

2008-03-19 Thread David Wolever
On 19-Mar-08, at 2:18 PM, Benjamin Peterson wrote: So, any better suggestions? I would create a list of fixers that need to go first in refactor.py and run those in order. If you wanted to get complex, you could add a requires member to fixes, but that is probably overkill. Ok, so I was dig

[Python-Dev] 2to3 and print function

2008-03-19 Thread David Wolever
At the moment, fix_print.py does the Right Thing when it finds ``from __future__ import print_function``... But the 2to3 parser gets upset when print() is passed kwargs: $ cat x.py from __future__ import print_function print("Hello, world!", end=' ') $ 2to3 x.py ... RefactoringTool: Can't parse

[Python-Dev] Pretty-printing 2to3 Nodes

2008-03-19 Thread David Wolever
Would anyone be averse to changing pytree.Node's __repr__ so it includes the name of the name of the symbol the node represents? The only downside is that it makes the __reprs__ longer... But I think its worth the length: Node(313:simple_stmt, [Node(298:import_name, [Leaf(1, 'import'), Node

Re: [Python-Dev] 2to3 and print function

2008-03-19 Thread David Wolever
On 19-Mar-08, at 6:44 PM, Collin Winter wrote: > You can pass -p to refactor.py to fix this on a per-run basis. See > r58002 (and the revisions it mentions) for a failed attempt to do this > automatically. So, correct me if I'm wrong, but the relevant code is this: -try: -

Re: [Python-Dev] 2to3 and print function

2008-03-20 Thread David Wolever
On 20-Mar-08, at 2:15 AM, Guido van Rossum wrote: > On Wed, Mar 19, 2008 at 10:27 PM, David Wolever > <[EMAIL PROTECTED]> wrote: >> Why not, instead of trying both parsers, scan for a __future__ >> import, then do the Right Thing based on that? > Different use cases

[Python-Dev] 2to3 speedup patch

2008-03-24 Thread David Wolever
0. I have attached the hacky, ugly, proof-of-concept patch to http:// bugs.python.org/issue2431 If there's no reason not to implement this sort of thing, I'll clean it up and commit it when I get home (or something). -- David Wolever - http://wolever.net/~wolever AIM: davidswolever M

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-27 Thread David Bolen
as typically cleaned it up and let the builds proceed. -- David ___ 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] Remove "current" Windows executables from Lib/distutils/command in svn?

2008-04-07 Thread David Arnold
On 06/04/2008, at 2:15 AM, Martin v. Löwis wrote: > a) how does the binary get into the release tarball? You might argue >that it doesn't have to, as it is sufficient when it is included in >the Windows installer, however, as currently implemented, >bdist_wininst also runs on Unix, and

Re: [Python-Dev] string representation of range in 3.0

2008-04-16 Thread David Wolever
On 16-Apr-08, at 9:37 AM, Isaac Morland wrote: > On Wed, 16 Apr 2008, Paul Moore wrote: >> On 16/04/2008, Armin Rigo <[EMAIL PROTECTED]> wrote: >>> What about the less confusing and more readily generalizable: >>> >>> >>> It would also be helpful IMHO to use this kind of repr for most >>> buil

[Python-Dev] Encoding detection in the standard library?

2008-04-21 Thread David Wolever
Is there some sort of text encoding detection module is the standard library? And, if not, is there any reason not to add one? After some googling, I've come across this: http://mail.python.org/pipermail/python-3000/2006-September/003537.html But I can't find any changes that resulted from that

Re: [Python-Dev] Encoding detection in the standard library?

2008-04-21 Thread David Wolever
On 21-Apr-08, at 12:44 PM, [EMAIL PROTECTED] wrote: > > David> Is there some sort of text encoding detection module is the > David> standard library? And, if not, is there any reason not > to add > David> one? > No, there's not. I suspect t

Re: [Python-Dev] Encoding detection in the standard library?

2008-04-21 Thread David Wolever
On 21-Apr-08, at 5:31 PM, Martin v. Löwis wrote: This is useful when you get a hunk of data which _should_ be some sort of intelligible text from the Big Scary Internet (say, a posted web form or email message), and you want to do something useful with it (say, search the content). I don't think

Re: [Python-Dev] Encoding detection in the standard library?

2008-04-22 Thread David Wolever
On 22-Apr-08, at 12:30 AM, Martin v. Löwis wrote: IMO, encoding estimation is something that many web programs will have to deal with Can you please explain why that is? Web programs should not normally have the need to detect the encoding; instead, it should be specified always - unless you a

Re: [Python-Dev] Warn about mktemp once again?

2008-04-29 Thread David Harrison
2008/4/29 "Martin v. Löwis" <[EMAIL PROTECTED]>: > > Same here. In fact, is there a good reason to have mkstemp() return the > > fd (except backward compatibility)? > > Except for backwards compatibility: is there a good reason to keep > os.mkstemp at all? Greg Ewing's use-case is one I've also

Re: [Python-Dev] On quote styles

2008-05-12 Thread David Borowitz
Python itself doesn't appear to follow that principle: >>> "Ain't nothin' stoppin' this from usin' \"double quotes\"." 'Ain\'t nothin\' stoppin\' this from usin\' "double quotes".' IMHO it's a useful rule of thumb, but like most of the other alternatives presented in this thread, taken to extremes

Re: [Python-Dev] Proposal: add odict to collections

2008-06-14 Thread David Wolever
On 14-Jun-08, at 8:39 PM, Armin Ronacher wrote: ... I noticed lately that quite a few projects are implementing their own subclasses of `dict` that retain the order of the key/value pairs. ... I'm +1 on this one too, as there are at least a couple of times in recent memory when I would have fou

[Python-Dev] Status of Issue 2331 - Backport parameter annotations

2008-06-19 Thread David Pokorny
at this is revision 53170). Cheers, David ___ 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] repeated keyword arguments

2008-06-27 Thread David Wolever
On 27-Jun-08, at 6:23 PM, Benjamin Peterson wrote: On Fri, Jun 27, 2008 at 2:11 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: Sounds like a regression in 2.5 (and in 2.6, and in 3.0). Probably due to the switch to the new AST-based compiler. Can you file a bug? I think we should leave 2.5

Re: [Python-Dev] [PyCon-Organizers] us.pycon.org down?

2008-07-03 Thread David Goodger
a process can't start, or something... I'll ask Jeff Rush (whose machine it's on) and Doug Napoleone (who knows more about the server than I, and has admin access) to look into it. -- David Goodger <http://python.net/~goodger> ___

Re: [Python-Dev] [PyCon-Organizers] us.pycon.org down?

2008-07-03 Thread David Goodger
On Thu, Jul 3, 2008 at 13:32, David Goodger <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 13:12, Facundo Batista <[EMAIL PROTECTED]> wrote: >> (sorry for the crossposting) >> >> Do you know what happened with "http://us.pycon.org/";? >

Re: [Python-Dev] Windows buildbot trick

2008-07-18 Thread David Bolen
% foolproof, as I seem to recall once or twice still having to clear a dialog, but I think that was from the CRT within Python itself, which there was an old discussion about changing the Python code to initialize differently. It definitely catches the Windows hard failures though. -- David _

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-18 Thread David Goodger
ation, with an icon, living in /Applications, ideally with a Mac-standard editor app (the 2.5.1 I have has IDLE), etc. Unfortunately, I can only recommend. I don't know anything about building Mac apps. -- David Goodger <http://python.net/~goodger> ___

Re: [Python-Dev] Durus memory

2008-09-04 Thread Binger David
I'm sorry this post is a bit off-topic, but I think I should correct this. On Sep 4, 2008, at 11:54 AM, Oleg wrote: Durus (and ZODB) has an index of all objects, the index is stored in memory AFAIK - a real problem if one has millions of objects. Durus now has an option to store the index

Re: [Python-Dev] Python security team

2008-09-29 Thread David Stanek
Google search just turned up a bunch of mailing list posts looking for team members. -- David http://www.traceback.org ___ 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] if-syntax for regular for-loops

2008-10-03 Thread David Gowers
way of achieving the same > result? List comprehension. [i.do_something() for i in items if i.some_field == some_value] With the restriction that the statement you use must seem to return an expression.. For example [print(i) for i in range(9) if i % 2] Fails with SyntaxError, whereas def f

Re: [Python-Dev] [ANN] VPython 0.1

2008-10-22 Thread David Ripton
s 209ms -11.0% --- Totals: 7682ms 10935ms -29.8% 8468ms 12832ms -34.0% (this=2008-10-22 20:45:22, other=/tmp/vanilla252.pybench) -- David Ripton[EMAIL PROTECTED] ___ Python-Dev mailing

Re: [Python-Dev] [ANN] VPython 0.1

2008-10-23 Thread David Ripton
onsistent with Pybench. -- David Ripton[EMAIL PROTECTED] ___ 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] My patches

2008-10-30 Thread David Stanek
eable. And if not the no harm/no foul the experimental branches could be abandoned and little core developer time would be wasted. -- David http://www.traceback.org ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

Re: [Python-Dev] Looking for VCS usage scenarios

2008-11-05 Thread David Ripton
h as the next guy, but checkout time is so not the bottleneck for this use case. -- David Ripton[EMAIL PROTECTED] ___ 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] AST-level type inference optimizations

2008-11-05 Thread David Turner
I wrote a patch to Tom Lee's AST optimization branch, which I have submitted at http://bugs.python.org/issue4264. Here's a brief explanation of what the patch does, followed by a little general discussion of the future. Python bytecode includes at least one operation which is not directly accessi

Re: [Python-Dev] Looking for VCS usage scenarios

2008-11-06 Thread David Cournapeau
ch to branch; bzr has the shelve command to do as git stash. You can also use loom, but I never used them extensively (loom are a plugin extension of bzr, and not well documented; I could not understand it, at least, although I did not try too hard)

[Python-Dev] floatformat vs float_format

2008-12-31 Thread David Cournapeau
erence being that in the second case, the formatting is done in floatformat.c (in stringobject.c), whereas in the first case, it is done in format_float (in floatobject.c). Shouldn't both functions be calling the same underlying implementation, to avoi

Re: [Python-Dev] floatformat vs float_format

2009-01-01 Thread David Cournapeau
On Thu, Jan 1, 2009 at 6:43 PM, Eric Smith wrote: > David Cournapeau wrote: >> >> Hi, >> >> In python 2.6, there have been some effort to make float formatting >> more consistent between platforms, which is nice. Unfortunately, there >> is still

Re: [Python-Dev] #ifdef __cplusplus?

2009-01-02 Thread David Cournapeau
xternal functions in .c file instead of including an appropriate > header. In most cases keeping in mind compliance with C++ leads to > better design, not to uglier code. Can't those errors be found simply using appropriate warning flags in the C compiler ? C has st

Re: [Python-Dev] #ifdef __cplusplus?

2009-01-02 Thread David Cournapeau
On Sat, Jan 3, 2009 at 1:35 AM, Christian Heimes wrote: > David Cournapeau schrieb: >> Can't those errors be found simply using appropriate warning flags in >> the C compiler ? C has stopped being a subset of C++ a long time ago > > Python's C code still follow

Re: [Python-Dev] #ifdef __cplusplus?

2009-01-02 Thread David Cournapeau
le the source with both a C and C++ compiler. Otherwise, it is redundant at best (it was useful when malloc was defined as returning char*, and C did not allow for automatic void* to other pointer cast). David ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread David Cournapeau
for projects I have write access to. git-svn is then a powerful way to manage patches (thanks to rebase). cheers, David ___ 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] I would like an svn account

2009-01-03 Thread David Cournapeau
s so simple (took me ~ 1 hour to get around without any previous encounter with git and I am no genius) and useful that it is my method of choice to commit to projects I am developing for and which use svn. cheers, David ___ Python-Dev mailing list Pyth

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread David Cournapeau
e solution that the op can implement all by himself to make his life easier - or not. > IOW, I find the learning curve for git extremely steep. But a steep learning curve means that little input gives great output, no ? :) David ___ Python-Dev maili

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread David Cournapeau
rd compatible, yes, in the sense that you can often manage to get out of the situation, but with some extra work. I would consider myself a relatively knowledgeable bzr user (I have been using it for more than 2 years now for almost all my projects, before switching to git), and I had several times some problems with it. The ML occasionally also have quite a few people having problems. David ___ 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] compiling python2.5 on linux under wine

2009-01-08 Thread David Cournapeau
quite well, actually. You need mingw, though, of course - Visual Studio is far from being usable on wine. cheers, David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.or

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread David Cournapeau
On Thu, Jan 8, 2009 at 11:02 PM, Luke Kenneth Casson Leighton wrote: > On Thu, Jan 8, 2009 at 1:11 PM, David Cournapeau wrote: >> On Thu, Jan 8, 2009 at 9:42 PM, Simon Cross >> wrote: >>> On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton >>> wrote:

Re: [Python-Dev] PEP 374 (DVCS) now in reST

2009-01-26 Thread David Cournapeau
g git pain on other users, merging between branches is not really doable without going back to svn. And that's certainly a big plus of DVCS compared to svn: since svn is inherently incapable of tracking merge (at least until recently, I have no experience with 1.5), you can't use svn

[Python-Dev] PyCon 2009 registration is now open!

2009-01-27 Thread David Goodger
Register here: http://us.pycon.org/2009/register/ Information (rates etc.): http://us.pycon.org/2009/registration/ Hotel information & reservations: http://us.pycon.org/2009/about/hotel/ Early bird registration ends February 21, so don't delay! -- David Goodger, PyCon 2

Re: [Python-Dev] GIL removal question

2011-08-10 Thread David Beazley
> > Message: 1 > Date: Tue, 9 Aug 2011 15:31:47 +0600 > From: ? > To: python-dev@python.org > Subject: [Python-Dev] GIL removal question > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Probably I want to re-invent a bicycle. I want developers to say me > why we

Re: [Python-Dev] GIL removal question

2011-08-10 Thread David Beazley
On Aug 10, 2011, at 6:15 AM, Nick Coghlan wrote: > On Wed, Aug 10, 2011 at 9:09 PM, David Beazley wrote: >> You're forgetting step 5. >> >> 5. Put fine-grain locks around all reference counting operations (or rewrite >> all of Python's memory managemen

[Python-Dev] SWIG (was Re: Ctypes and the stdlib)

2011-08-29 Thread David Beazley
On Mon, Aug 29, 2011 at 12:27 PM, Guido van Rossum wrote: > I wonder if for > this particular purpose SWIG isn't the better match. (If SWIG weren't > universally hated, even by its original author. :-) Hate is probably a strong word, but as the author of Swig, let me chime in here ;-). I thin

Re: [Python-Dev] SWIG (was Re: Ctypes and the stdlib)

2011-08-29 Thread David Cournapeau
there is a broad agreement that most of code which would requires C/C++ should be done in cython instead (numpy and scipy already do so a bit). I personally cannot see man situations where writing wrappers in C by hand works better than cython (especially since cython handles python2/3 automatical

Re: [Python-Dev] PEP 393 close to pronouncement

2011-09-26 Thread David Malcolm
On Tue, 2011-09-27 at 00:19 +0200, Victor Stinner wrote: > Hi, > > Le lundi 26 septembre 2011 23:00:06, Guido van Rossum a écrit : > > So, if you have the time, please review PEP 393 and/or play with the > > code (the repo is linked from the PEP's References section now). > > PEP > === > "GDB D

[Python-Dev] PEP 397 and idle

2011-11-01 Thread David Bailey
python-dev I am being forced to support multiple versions of python on Windows platforms. I have been using PEP 397 and the execution of *.py files works great. Thank you!! My problem is idle. The various versions of idle have the same problem as the various versions of python. We were using an ed

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread David Bailey
the python book they bought, they will not bother to go to page two and the greatest new version that you guys develop is lost all because of a single keyword print that has no technical issues. Dave Bailey On Tue, Nov 1, 2011 at 6:25 AM, Amaury Forgeot d'Arc wrote: > Hi, > > 2011

Re: [Python-Dev] Promoting Python 3 [was: PyPy 1.7 - widening the sweet spot]

2011-11-22 Thread David Malcolm
On Tue, 2011-11-22 at 09:13 -0800, Toshio Kuratomi wrote: > On Wed, Nov 23, 2011 at 01:41:46AM +0900, Stephen J. Turnbull wrote: > > Barry Warsaw writes: > > > > > Hopefully, we're going to be making a dent in that in the next version of > > > Ubuntu. > > > > This is still a big mess in Gentoo

Re: [Python-Dev] Fwd: Anyone still using Python 2.5?

2011-12-21 Thread David Malcolm
On Wed, 2011-12-21 at 10:42 +0100, Charles-François Natali wrote: > > Do people still have to use this in commercial environments or is > > everyone on 2.6+ nowadays? > > RHEL 5.7 ships with Python 2.4.3. So no, not everybody is on 2.6+ > today, and this won't happen before a couple years. (and R

Re: [Python-Dev] Hash collision security issue (now public)

2012-01-05 Thread David Malcolm
On Thu, 2012-01-05 at 19:34 +0200, Maciej Fijalkowski wrote: > On Thu, Jan 5, 2012 at 3:39 PM, Antoine Pitrou wrote: > > On Thu, 5 Jan 2012 15:26:27 +1100 > > Andrew Bennetts wrote: > >> > >> I don't think that's news either. > >> http://mail.python.org/pipermail/python-dev/2003-May/035907.html a

Re: [Python-Dev] Hash collision security issue (now public)

2012-01-05 Thread David Malcolm
On Thu, 2012-01-05 at 20:35 +, Paul Moore wrote: > On 5 January 2012 19:33, David Malcolm wrote: > > We have similar issues in RHEL, with the Python versions going much > > further back (e.g. 2.3) > > > > When backporting the fix to ancient python versions, I'm

Re: [Python-Dev] Counting collisions for the win

2012-01-21 Thread David Malcolm
On Fri, 2012-01-20 at 16:55 +0100, Frank Sievertsen wrote: > Hello, > > I still see at least two ways to create a DOS attack even with the > collison-counting-patch. [snip description of two types of attack on the collision counting approach] > What to do now? > I think it's not smart to reduce

[Python-Dev] ctypes/utils.py problem

2012-02-08 Thread David Goulet
ndSoname_ldconfig(name). This cause Python to use any library ending with "libc.so" to be loaded I don't know the reasons behind this but we are concerned about "future issues" that can occur with this kind of behavior. For now, we renamed our lib so everything is f

Re: [Python-Dev] PEP 416: Add a frozendict builtin type

2012-02-29 Thread David Malcolm
On Wed, 2012-02-29 at 19:21 +0100, Victor Stinner wrote: > As requested, I create a PEP and a related issue: > > http://www.python.org/dev/peps/pep-0416/ [...snip...] > > Rationale > = > > A frozendict mapping cannot be changed, but its values can be mutable > (not hashable). A frozend

Re: [Python-Dev] Virtualenv not portable from Python 2.7.2 to 2.7.3 (os.urandom missing)

2012-03-29 Thread David Malcolm
On Wed, 2012-03-28 at 18:22 +, Jason R. Coombs wrote: > I see this was reported as a debian bug. > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665776 > > To reproduce, using virtualenv 1.7+ on Python 2.7.2 on Ubuntu, create > a virtualenv. Move that virtualenv to a host with Python 2.7.3R

[Python-Dev] Highlighting reference-stealing APIs [was Re: cpython: Fix email post-commit review comments.]

2012-04-18 Thread David Malcolm
On Thu, 2012-04-19 at 10:48 +1200, Greg Ewing wrote: > Antoine Pitrou wrote: > > > (and here we see why reference-stealing APIs are a nuisance: because > > you never know in advance whether a function will steal a reference or > > not, and you have to read the docs for each and every C API call yo

Re: [Python-Dev] OS X buildbots missing

2012-04-21 Thread David Bolen
t qualify for the official stable list as it's a Tiger-based buildbot, but osx-tiger is an OS X buildbot that's still chugging along quite nicely (including doing the daily DMG builds). -- David ___ Python-Dev mailing list Python-Dev@python.org htt

Re: [Python-Dev] OS X buildbots missing

2012-04-22 Thread David Bolen
plications under Tiger (since it's easier to support later OS X versions from an earlier build than vice versa), but I don't know if Python necessarily wants to require that for releases, ala stable. -- David ___ Python-Dev mailing list

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-21 Thread David Malcolm
On Fri, 2012-05-18 at 14:24 -0400, Barry Warsaw wrote: > At what point should we cut over docs.python.org to point to the Python 3 > documentation by default? Wouldn't this be an easy bit to flip in order to > promote Python 3 more better? If we do, perhaps we should revisit http://bugs.python.or

Re: [Python-Dev] Status of packaging in 3.3

2012-06-21 Thread David Cournapeau
rd party tools deal with it as they wish ? That would not even require speciying the format, and would let us more time to deal with the other, more difficult questions. David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Status of packaging in 3.3

2012-06-21 Thread David Cournapeau
On Thu, Jun 21, 2012 at 12:58 PM, Nick Coghlan wrote: > On Thu, Jun 21, 2012 at 7:28 PM, David Cournapeau > wrote: > > If specifying install dependencies is the killer feature of setuptools, > why > > can't we have a very simple module that adds the necessary 3 keyw

Re: [Python-Dev] Status of packaging in 3.3

2012-06-21 Thread David Cournapeau
uld >> effectively amount to creating a build tool that's both more elegant and >> more powerful than any option that's currently already out there. >> >> Assuming you mean the former, that's what David did to create Bento. >> Reading and understanding Bento

Re: [Python-Dev] Status of packaging in 3.3

2012-06-21 Thread David Cournapeau
On Thu, Jun 21, 2012 at 11:00 PM, Antoine Pitrou wrote: > On Thu, 21 Jun 2012 22:46:58 +0200 > Dag Sverre Seljebotn wrote: > > > The other thing is, the folks in distutils2 and myself, have zero > > > knowledge about compilers. That's why we got very frustrated not to see > > > people with that k

Re: [Python-Dev] Status of packaging in 3.3

2012-06-22 Thread David Cournapeau
can agree upon and > > create/install. > > Right, and this is where it encouraged me to see in the Bento docs > that David had cribbed from RPM in this regard (although I don't > believe he has cribbed *enough*). > > A packaging system really needs to cope with two very

Re: [Python-Dev] Status of packaging in 3.3

2012-06-22 Thread David Cournapeau
egory label for category specific stuff. This was enough for me to do straight install, eggs, .exe and .msi windows installers and .mpkg from that with a relatively simple API. Bonus point, if you include this file inside the installers, you can actually losslessly convert from one to the other.

Re: [Python-Dev] Status of packaging in 3.3

2012-06-22 Thread David Cournapeau
7;s tying everything altogether. The uncoupling is the key, because otherwise, one keep discussing all the issues together, which is part of what makes the discussion so hard. Different people have different needs. David ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Status of packaging in 3.3

2012-06-22 Thread David Cournapeau
y out-dated notes there: http://cournape.github.com/Bento/html/hacking.html#build-manifest-and-building-installers I will try to update them this WE. I do have code to install, produce eggs, msi, .exe and .mpkg from this format. The API is kind of crappy/inconsistent, but the features are there, a

Re: [Python-Dev] Status of packaging in 3.3

2012-06-23 Thread David Cournapeau
and a > few ideas on what can be done to fix it. > > However, distutils-sig and python-ideas will be the place to post about those. Nick, I am unfamiliar with python-ideas rules: should we continue discussion in distutils-sig entirely, or are there so

<    3   4   5   6   7   8   9   10   11   12   >