Re: [Python-Dev] Summary of 2 years of Python fuzzing

2010-01-27 Thread Neal Norwitz
On Wed, Jan 27, 2010 at 11:58 AM, Ben Finney wrote: > Chris Bergstresser writes: > >> On Wed, Jan 27, 2010 at 2:54 AM, Ben Finney >> wrote: >> > Neal Norwitz writes: >> >> Who knows, someone might even write a book about Fusil someday >> >

Re: [Python-Dev] Summary of 2 years of Python fuzzing

2010-01-27 Thread Neal Norwitz
On Mon, Jan 25, 2010 at 2:34 PM, Victor Stinner wrote: > > Interaction with the Python developers > == > > I open an issue for each bug found in CPython. I describe how to reproduce it > and try to write a patch. I have learn to always write an unit test, useful

Re: [Python-Dev] Status of the Buildbot fleet and related bugs

2009-11-08 Thread Neal Norwitz
On Fri, Nov 6, 2009 at 12:27 AM, Mark Dickinson wrote: > On Fri, Nov 6, 2009 at 3:53 AM, R. David Murray wrote: > >>    (2) issue 4970: consistent signal 32 error on the norwitz-x86 Gentoo >>        buildslave in 3.1 and 3.x.  This may be due to the box >>        running an old threading library,

Re: [Python-Dev] thanks to everyone cleaning up the tests

2009-11-02 Thread Neal Norwitz
On Mon, Nov 2, 2009 at 2:18 AM, Mark Dickinson wrote: > On Sat, Oct 31, 2009 at 9:47 PM, Brett Cannon wrote: >> Just wanted to publicly thank everyone who has been causing all the >> checkins to fix and stabilize the test suite (I think it's mostly >> Antoine and Mark, but I could be missing some

Re: [Python-Dev] nonlocal keyword in 2.x?

2009-10-21 Thread Neal Norwitz
On Wed, Oct 21, 2009 at 6:56 PM, Mike Krell wrote: > Is there any possibility of backporting support for the nonlocal keyword > into a  2.x release?  I see it's not in 2.6, but I don't know if that was an > intentional design choice or due to a lack of demand / round tuits.  I'm > also not sure if

[Python-Dev] cleanup before 3.1 is released

2009-05-30 Thread Neal Norwitz
Has anyone run valgrind/purify and pychecker/pylint on the 3.1 code recently? Both sets of tools should be used before the final release so we can fix any obvious problems. n ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailm

Re: [Python-Dev] Adding support to curses library

2009-02-24 Thread Neal Norwitz
On Tue, Feb 24, 2009 at 2:18 PM, Heracles wrote: > > Hello, > > I am working on a patch to add to the _cursesmodule.c file of the Python > core libraries.  I figured I would take on one of the implemented functions > to try to get my feet wet contributing to the project.  At any rate, I have > the

Re: [Python-Dev] Daily documentation builds

2009-02-11 Thread Neal Norwitz
On Wed, Feb 11, 2009 at 6:24 AM, A.M. Kuchling wrote: > On Tue, Feb 10, 2009 at 09:16:48PM -0800, Neal Norwitz wrote: >> I ran 2.6, 3.0, and 3.1 manually. 2.7 should get picked up on the >> next run. The problem is that regrtest.py -R hangs from time to time >> which caus

Re: [Python-Dev] Daily documentation builds

2009-02-10 Thread Neal Norwitz
I ran 2.6, 3.0, and 3.1 manually. 2.7 should get picked up on the next run. The problem is that regrtest.py -R hangs from time to time which caused the machine to run out of memory. Does anyone else have regrtest.py -R hang for them? Some tests were disabled to try to prevent the problem, but i

Re: [Python-Dev] python breakpoint opcode

2009-01-29 Thread Neal Norwitz
On Thu, Jan 29, 2009 at 2:38 AM, Dr Andrew Perella wrote: > Hi, > > I was thinking of adding a breakpoint opcode to python to enable less > invasive debugging. > > I came across posts from 1999 by Vladimir Marangozov and Christian Tismer > discussing this issue but the links to the code are all ou

Re: [Python-Dev] enabling a configure option

2009-01-26 Thread Neal Norwitz
If you only care about this running on a single machine to get some coverage and don't care about all architectures, you can change Misc/build.sh to add the configure option. n On Mon, Jan 26, 2009 at 2:31 PM, Antoine Pitrou wrote: > Martin v. Löwis v.loewis.de> writes: >> >> Me. Does it have t

[Python-Dev] status of 2.5

2008-10-06 Thread Neal Norwitz
Should we plan to put out a final 2.5 release? If so, should we continue to backport fixes (like Martin's removal of Alpha in setup.py)? My preference is that we do put out a final 2.5 that has all accumulated bug fixes. Then close the branch. That way if we put out a security release for 2.5,

Re: [Python-Dev] Doc nits question

2008-10-02 Thread Neal Norwitz
On Thu, Oct 2, 2008 at 6:21 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Jesse Noller schrieb: >> So, we just released and there are a few doc typo bugs being filed - >> my question is if all doc-fixes have to wait for 2.6.1/2.7 or if we >> can hotfix the 2.6 docs? > > I intend to set things up so

Re: [Python-Dev] Status of MS Windows CE port

2008-09-23 Thread Neal Norwitz
On Tue, Sep 23, 2008 at 1:52 AM, Ulrich Eckhardt <[EMAIL PROTECTED]> wrote: > Greetings! > > I'm currently trying to assess the effort required for a CE port. I'm already > aware of the project at http://pythonce.sourceforge.net, but I find it a > waste of time to have two separate projects which t

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures basics (1)

2008-09-14 Thread Neal Norwitz
On Sun, Sep 14, 2008 at 5:24 AM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Sun, Sep 14, 2008 at 4:07 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: >> Neal Norwitz wrote: >>> test_epoll skipped -- kernel doesn't support epoll() >> ... >>

Re: [Python-Dev] ?spurious? Timeout in BSDDB under MS Windows

2008-09-09 Thread Neal Norwitz
On Mon, Sep 8, 2008 at 3:24 AM, Trent Nelson <[EMAIL PROTECTED]> wrote: > On Fri, Sep 05, 2008 at 05:55:13PM +0200, Jesus Cea wrote: >> Trent, are you available to look at the ?spurious? timeout failures in >> bsddb replication code in the Windows buildbot?. >> >> Ten seconds timeout should be plen

[Python-Dev] what version of bsddb to use/accept for 2.6/3.0

2008-08-24 Thread Neal Norwitz
Many buildbots are running bsddb 4.7, particularly the debian/ubuntu ones (4.7.25 which seems to be the latest). Some of them are crashing, others are not. The max version we support in both 2.6 and 3.0 is 4.7. Should we allow this version or should we use a lower maximum that is more likely to

Re: [Python-Dev] performance

2008-08-24 Thread Neal Norwitz
Thanks Antoine! On Sun, Aug 24, 2008 at 5:58 AM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: > Neal Norwitz gmail.com> writes: >> Can someone (else) compare performance of 2.5, 2.6, and 3.0? > > Tests done on a 32-bit Linux installation on an Athlon 3600+ X2. Compiled

[Python-Dev] current problems that should be fixed before release (2.6)

2008-08-23 Thread Neal Norwitz
Below are the problems I found that have not been fixed at r65995 on trunk (2.6). There will be a separate mail for the 3.0 problems. I've done the following: * built in debug and opt mode (gcc 4.1.2) fixing the important warnings * run all the tests in both modes * run all the tests (except t

Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Neal Norwitz
On Sun, Aug 17, 2008 at 3:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Sun, Aug 17, 2008 at 1:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: >> Brett Cannon schrieb: >>> After Christian mentioned how we could speed up interpreter start-up >>> by removing some dead imports he found, I decided

Re: [Python-Dev] Interesting blog post by Ben Sussman-Collins

2008-06-12 Thread Neal Norwitz
On Thu, Jun 12, 2008 at 8:41 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > My colleague and SVN developer Ben Sussman-Collins occasionally blogs > about the social side of (mostly open source) software development. He > just posted a new one that struck a chord: > > http://blog.red-bean.com/sus

Re: [Python-Dev] Proposed unittest changes

2008-04-24 Thread Neal Norwitz
[Michael working on cleaning up the unittest module] it seems like most of the good ideas have been captured already. I'll through two more (low priority) ideas out there. 1) Randomized test runner/option that runs tests in a random order (like regrtest.py -r, but for methods) 2) decorator to

Re: [Python-Dev] r62342 - python/branches/py3k/Objects/bytesobject.c

2008-04-21 Thread Neal Norwitz
On Tue, Apr 15, 2008 at 2:21 AM, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Neal Norwitz wrote: > > Iteration with the dict methods (e.g., keys -> iterkeys()), > > map/zip/filter returning iterator rather than list. > > That's only an optimisation, it's n

Re: [Python-Dev] Next monthly sprint/bugfix day?

2008-04-14 Thread Neal Norwitz
On Wed, Apr 9, 2008 at 7:12 AM, Trent Nelson <[EMAIL PROTECTED]> wrote: > Hi, > > Is there another online sprint/bugfix day in the pipeline? If not, can > there be? ;-) Trent, I think you just volunteered to lead it. :-) We should either do it this weekend Apr 19-20 or wait until after the rel

Re: [Python-Dev] r62342 - python/branches/py3k/Objects/bytesobject.c

2008-04-14 Thread Neal Norwitz
On Mon, Apr 14, 2008 at 2:56 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > > Good idea! A 3to2 project is going to make backporting io.py and other > new stuff less painful and much faster. For the io.py backport I spent > most time on removing annotations and replacing "" with u"". > > Wha

Re: [Python-Dev] Python 2.4.4/2.4.5 test_pty failure on Solaris 10

2008-04-14 Thread Neal Norwitz
On Sat, Apr 12, 2008 at 11:02 AM, <[EMAIL PROTECTED]> wrote: > > I know this is old stuff, but... > > I want to update our Python 2.4 installation at work from 2.4.2 to 2.4.5 > (the latest 2.4 source release). I get a test failure for test_pty, an > extra ^M at the end of one line. I don't g

Re: [Python-Dev] generated NEWS files

2008-04-11 Thread Neal Norwitz
On Fri, Apr 11, 2008 at 2:53 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I just tried it, and although it works, I get this output: > > svn: 'post-revprop-change' hook failed; no error output available > > > > Significant? > > It's the mailer.py hook failing. I'm not quite sure why it

Re: [Python-Dev] Reserving an arg space for Jython

2008-04-11 Thread Neal Norwitz
I was also going to suggest a platform independent option. I like -Xwhat-follows-is-impl-dependent. n On Fri, Apr 11, 2008 at 12:39 PM, Dino Viehland <[EMAIL PROTECTED]> wrote: > IronPython already uses -X:OptionName for special IronPython only options so > +1 for -X. > > > > -Original Mes

Re: [Python-Dev] osx x86 buildbot offer

2008-04-04 Thread Neal Norwitz
On Fri, Apr 4, 2008 at 11:52 AM, Thomas Heller <[EMAIL PROTECTED]> wrote: > I can offer an OS X x86 machine to run a buildbot on. This is a physical > machine, > running OS X 10.5 Leopard. Thanks Thomas! Martin and I will coordinate with you off-list. n ___

Re: [Python-Dev] Annotations support in python

2008-04-03 Thread Neal Norwitz
The release schedule for 2.6/3.0 is http://www.python.org/dev/peps/pep-0361/ 3.0 will have the feature, 2.6 may or may not. n On Thu, Apr 3, 2008 at 4:47 AM, Heshan Suriyaarachchi <[EMAIL PROTECTED]> wrote: > Hi, > I need to work with annotations as it is said in [1]. Currently I am > using

[Python-Dev] fixing tests on windows

2008-03-31 Thread Neal Norwitz
The Windows buildbots are still failing because some tests keep files opened. This causes subsequent tests which use the same file to fail. Here is a recent run which had a failure early on: http://www.python.org/dev/buildbot/stable/x86%20XP-3%20trunk/builds/1209/step-test/0 I'm assuming the fir

[Python-Dev] refleaks on trunk

2008-03-31 Thread Neal Norwitz
test_io is the only leaky test on trunk that I know of. I narrowed down the leaks to the code below. It's possible there are other leaks in test_io. n -- import sys, gc import _fileio, io class FileIO(_fileio._FileIO, io.RawIOBase): def close(self): io.RawIOBase.close(self) def mai

Re: [Python-Dev] Py3k and asyncore/asynchat

2008-03-31 Thread Neal Norwitz
On Sun, Mar 30, 2008 at 7:44 PM, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > I haven't really had time to update the tests/documentation, but > again, I wasn't experiencing any strange test failures with > asyncore/asynchat, nor have I been able to find the buildbot failures > that you are re

Re: [Python-Dev] No time for svn merge

2008-03-30 Thread Neal Norwitz
On Sun, Mar 30, 2008 at 7:41 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > > > On Sun, Mar 30, 2008 at 4:54 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> > wrote: > > > > > If you'd like, I can merge the rest. > > > > If you have the time to figure it all out, sure. > > I found that quite a tedi

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

2008-03-28 Thread Neal Norwitz
On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > Neal> Anything that connects to a remote host is definitely flaky. > > Would it maybe help to set up a dedicated host (or virtual host) to serve as > the sole target of all network tests? It would help, but not fix the problem.

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

2008-03-27 Thread Neal Norwitz
On Thu, Mar 27, 2008 at 11:31 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: > > There > > have been other tests that have also been flaky like test_asynchat, > > test_smtplib, test_ssl, test_urllib2net, test_urllibnet, > > test_xmlrpc_net and some of the tests that use networking. > > Some of t

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

2008-03-27 Thread Neal Norwitz
On Wed, Mar 26, 2008 at 5:52 PM, <[EMAIL PROTECTED]> wrote: > >> The next releases of 2.6/3.0 are planned for April 2, just over a > >> week from now. There is much work that needs to be done. The > >> buildbots are in a pretty sad state and the gods are seeing too much > >> red.

[Python-Dev] fixing broken build

2008-03-27 Thread Neal Norwitz
Christian, Please fix the build on the various buildbots that are failing or revert your changes for unicode literals. The build failures started to occur at r61953. There were several more (~5) follow up checkins. You can find all the failures here: http://www.python.org/dev/buildbot/all/ Th

Re: [Python-Dev] stable buildbots

2008-03-26 Thread Neal Norwitz
On Wed, Mar 26, 2008 at 9:04 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Mar 26, 2008, at 8:14 AM, Facundo Batista wrote: > > 2008/3/26, Neal Norwitz <[EMAIL PROTECTED]>: > > > >> We ne

[Python-Dev] stable buildbots

2008-03-25 Thread Neal Norwitz
We need to get the tests for Python to be more stable so we can push out solid releases. In order to achieve this result, we need tests that are *100% reliable* and fail _only when there is a problem with Python_. While we aren't nearly as close to that goal as we need to be, we have to work towa

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

2008-03-25 Thread Neal Norwitz
The next releases of 2.6/3.0 are planned for April 2, just over a week from now. There is much work that needs to be done. The buildbots are in a pretty sad state and the gods are seeing too much red. http://www.python.org/dev/buildbot/stable/ http://www.python.org/dev/buildbot/all/ See my

Re: [Python-Dev] Py3k and asyncore/asynchat

2008-03-25 Thread Neal Norwitz
On Thu, Feb 14, 2008 at 10:09 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > On 14 Feb, 16:36, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > > Ok, I'll try to take a look at all asyncore/chat reports and try to > > summarize them by splitting patches which solve bugs and patches which > >

Re: [Python-Dev] State of N-dimensional array interface

2008-03-23 Thread Neal Norwitz
Hi Mike. Travis is the best person to discuss the status of the buffer APIs. Cheers, n On Sat, Mar 22, 2008 at 2:50 PM, Mike Sullivan <[EMAIL PROTECTED]> wrote: > What is the current state of the N-D Array Interface proposal > (http://numpy.scipy.org/array_interface.shtml). Some work was done o

Re: [Python-Dev] trunk buildbot status

2008-03-19 Thread Neal Norwitz
Unfortunately, I don't have ssh access from my hotel room. This means I won't be able to help much until I get home. On Wed, Mar 19, 2008 at 7:26 PM, Trent Nelson <[EMAIL PROTECTED]> wrote: > Quick update on the status of the trunk buildbots: > > Failing: > [x8

Re: [Python-Dev] First green Windows x64 buildbots!

2008-03-19 Thread Neal Norwitz
Great work Trent! You'll need to take a picture of Martin buying you the beer once you get the rest green. :-) n On Wed, Mar 19, 2008 at 5:57 PM, Trent Nelson <[EMAIL PROTECTED]> wrote: > We've just experienced our first 2.6 green x64 Windows builds on the build > slaves! Well, almost green.

Re: [Python-Dev] PyErr_Warn or PyErr_WarnEx

2008-03-18 Thread Neal Norwitz
On Tue, Mar 18, 2008 at 10:07 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > Now that we're aggressively adding Py3k warnings to the trunk, I think it's > a good time to get this straightened out. The docs [1] say PyErr_Warn is > deprecated in favor of PyErr_WarnEx. However, I have seen both in

Re: [Python-Dev] Python 3000: Special type for object attributes & map keys

2008-03-18 Thread Neal Norwitz
On Wed, Mar 5, 2008 at 4:27 PM, Henrik Vendelbo <[EMAIL PROTECTED]> wrote: > It appears to me that if you can make mapping mechanisms faster in > Python you can make significant > overall speed improvements. I also think the proposed concept could > add flexibility to persistence formats > and

Re: [Python-Dev] pre-checkin test suggestion for python repository

2008-03-18 Thread Neal Norwitz
On Tue, Mar 18, 2008 at 4:43 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > The tabs/spaces checker that is run before doing a svn ci on the python > repository spits out an error message about which files have problems. > > Could someone please update this error message to say something to the

[Python-Dev] changing regrtest to handle import errors

2008-03-18 Thread Neal Norwitz
[changing to: and subject: ] On Tue, Mar 18, 2008 at 4:09 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 3:58 PM, neal.norwitz > <[EMAIL PROTECTED]> wrote: > > Get this test to pass (UserList/UserDict no longer exist and caused a > skip). > > I think the automatic s

Re: [Python-Dev] Change in priority fields

2008-03-18 Thread Neal Norwitz
On Tue, Mar 18, 2008 at 10:51 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > The key goal here (well, mine in any case :-) > is to manage developers, not to get releases out at all cost. Even > though the release schedule is set in stone, I think we should send > out a variety of reminders a

[Python-Dev] adding json to stdlib (was: Re: PEP 361: Python 2.6/3.0 release schedule)

2008-03-18 Thread Neal Norwitz
On Tue, Mar 18, 2008 at 11:17 AM, John Millikin <[EMAIL PROTECTED]> wrote: > > Possible features for 2.6 > > New modules in the standard library: > > - JSON implementation > > > Have there been any plans made for which one? All of the No. This was something I added as a nice to ha

Re: [Python-Dev] Change in priority fields

2008-03-17 Thread Neal Norwitz
On Mon, Mar 17, 2008 at 9:10 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > Barry, Neal, and myself had a conversation and changed the priority > fields in the tracker. You can click on 'priority' to see an > explanation, but the new fields are: > > - release blocker > - critical > - high > -

Re: [Python-Dev] 3.0 buildbots all red

2008-03-16 Thread Neal Norwitz
On Sun, Mar 16, 2008 at 5:13 PM, Mark Dickinson <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 1:32 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > > > > I think this is possible, though considerable work. Probably the > > biggest win will be creat

Re: [Python-Dev] 3.0 buildbots all red

2008-03-16 Thread Neal Norwitz
On Sun, Mar 16, 2008 at 12:07 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > >>> New sprint idea: getting all (inc. trunk) the buildbots green by > >> Thursday. Anyone interested? > >> > >> I think the chance to achieve that is close to zero. > > > > Sounds like a challenge if ever I've h

[Python-Dev] difference between diff string implementations

2008-03-15 Thread Neal Norwitz
This inconsistency goes back to 2.3 at least and probably to the initial unicode implementation. >>> set(dir(u'')) - set(dir('')) ['isnumeric', 'isdecimal'] UserString contains these two methods even though 8-bit strings do not. I'm not sure what we should do for 2.6 or 3.0. My preference would

Re: [Python-Dev] Patch for trunk test_winsound.py (fixes my buildbot)

2008-03-05 Thread Neal Norwitz
On Wed, Mar 5, 2008 at 2:18 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Nick Coghlan wrote: > > While the patches are appreciated, please submit them to the tracker at > > bugs.python.org rather than mailing them directly to this list. > > This comment doesn't apply to your recent posts - look

Re: [Python-Dev] BSDDB3 (was: Re: Buildbots for trunk are all red)

2008-03-04 Thread Neal Norwitz
On Tue, Mar 4, 2008 at 3:46 PM, Jesus Cea <[EMAIL PROTECTED]> wrote: > > That said, it is my aim to keep bsddb in stdlib, providing a stable and > featureful module. I think keeping bsddb development inside python svn > is not appropiate. Currently (I could change idea), my approach will be > k

Re: [Python-Dev] Windows buildbot test_bsddb3 problems (was RE: Buildbots for trunk are all red)

2008-03-04 Thread Neal Norwitz
Trent, thanks for working on the buildbot. I fixed the first case you mentioned in r61233 wrt removing the directory before closing the file. It would be great if you could submit a patch when you are able to fix the remaining problems. Cheers, n On Tue, Mar 4, 2008 at 6:58 AM, Trent Nelson <[E

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-27 Thread Neal Norwitz
On Tue, Feb 26, 2008 at 11:47 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Well, in my opinion "batteries included" is great, but not when one of > the batteries consistently acts up and requires a good shake to get > working again. The bsddb module has consistent reliability issues when > i

Re: [Python-Dev] February bug day outcome

2008-02-26 Thread Neal Norwitz
On Tue, Feb 26, 2008 at 12:07 AM, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > -On [20080226 08:09], Neal Norwitz ([EMAIL PROTECTED]) wrote: > >I agree with the theory. However, we have only a single BSD box > >currently working and it has been flaky. Prima

Re: [Python-Dev] February bug day outcome

2008-02-25 Thread Neal Norwitz
On Mon, Feb 25, 2008 at 10:35 PM, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > -On [20080226 06:05], Neal Norwitz ([EMAIL PROTECTED]) wrote: > > sparc solaris10 > > amd64 gentoo (this is really an ubuntu 6.10 box) > > x86 gentoo (*) > > g4 os

Re: [Python-Dev] February bug day outcome

2008-02-25 Thread Neal Norwitz
On Mon, Feb 25, 2008 at 12:53 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > > That's a really good idea. At least for the alpha's I would like to > have a policy that the monthly release goes out unless > > 1) There are critical bugs open for 2.6 and/or 3.0 > 2) The important buildbots are red

Re: [Python-Dev] Python 2.6 and 3.0 ...and applink.c?

2008-02-25 Thread Neal Norwitz
On Mon, Feb 25, 2008 at 2:20 PM, Bugbee, Larry <[EMAIL PROTECTED]> wrote: > Hi Barry, > > A question Do you know if OpenSSL's applink.c will be included in > the Windows builds? If so, and I hope it is, great! > > If not, I'd like to encourage its inclusion. The best way to encourage its

Re: [Python-Dev] February bug day outcome

2008-02-24 Thread Neal Norwitz
On Sun, Feb 24, 2008 at 6:52 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > Yesterday's bug day was another success, closing 48 issues. Several > committers were there: Facundo Bastista, Georg Brandl, and Christian > Heimes. Facundo organized a local group of participants, and we > committed a

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-24 Thread Neal Norwitz
On Sun, Feb 24, 2008 at 6:57 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 5:59 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > > > &g

[Python-Dev] optimizing out local variables

2008-02-24 Thread Neal Norwitz
Short description (see http://bugs.python.org/issue2181 for the patch and more details): Optimize code like: x = any_expression return x to: return any_expression The local variable x is no longer set before returning. Is this appropriate for .pyc generation or should it only be done f

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-23 Thread Neal Norwitz
On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > I do think map() and filter() should issue a warning under -3 when the > first arg is None. (Or does 2to3 detect this now?) What's wrong with filter(None, seq)? That currently works in 3k: >>> filter(None, range(5

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-23 Thread Neal Norwitz
+1 to everything -- n On Fri, Feb 22, 2008 at 3:45 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi everyone, > > I've volunteered to be the release manager for Python 2.6 and 3.0. > It's been several years since I've RM'd a Python release, a

Re: [Python-Dev] boilerplate.tex

2008-02-22 Thread Neal Norwitz
On Fri, Feb 22, 2008 at 11:15 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > This message has been popping up in the buildbot mails for several days: > > > > > Conflict detected in commontex/boilerplate.tex. Doc build skipped. > > > > I have no idea what it

Re: [Python-Dev] Unit Test Guide

2008-02-21 Thread Neal Norwitz
On Thu, Feb 21, 2008 at 7:43 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > I have usually seen a lot of tests implemented like this: > > from test.test_support import TESTFN, unlink > import unittest > > class TestCase(unittest.TestCase): > > def setUp(self): > self.file = No

Re: [Python-Dev] Backporting PEP 3127 to trunk

2008-02-21 Thread Neal Norwitz
On Thu, Feb 21, 2008 at 2:26 PM, Eric Smith <[EMAIL PROTECTED]> wrote: > I'm going to work on backporting PEP 3127, specifically the hex, oct(), > and bin() builtins. I have bin() completed, and I'll check it in > shortly. oct() will require a future import. Does anyone have any > pointers fo

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Neal Norwitz
On Feb 8, 2008 10:54 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Andrew MacIntyre wrote: > > However, my tests do show that something is funny with the current > > freelist implementation for floats on at least 2 platforms, and that > > doing without that sort of optimisation for float object

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-07 Thread Neal Norwitz
On Feb 7, 2008 5:09 AM, Andrew MacIntyre <[EMAIL PROTECTED]> wrote: > > So I've been testing with the freelists ripped out and ints and floats > reverted to fairly standard PyObject_New allocation (retaining the small > int interning) and thus relying on PyMalloc to do any compaction. > > The resul

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Neal Norwitz
On Feb 1, 2008 2:52 PM, Mark Dickinson <[EMAIL PROTECTED]> wrote: > The IBM format is particularly troublesome because > it's base 16 instead of base 2 (so e.g. multiplying a float by 2 can lose > bits), but it appears that recent IBM machines do both IBM format and IEEE > format floating-point.

Re: [Python-Dev] Upcoming 2.5.2 release

2008-01-31 Thread Neal Norwitz
On Jan 31, 2008 1:42 AM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Martin v. Löwis wrote: > |> As current bsddb module maintainer, I was wondering if 2.5.2 will > |> support BerkeleyDB 4.6 :-?. > | > | Maybe I'm misunderstanding the question - whom a

Re: [Python-Dev] refleaks and caches

2008-01-27 Thread Neal Norwitz
On Jan 27, 2008 3:37 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Phillip J. Eby wrote: > > Expose an API to clear the cache, and clear it at shutdown? It > > should probably be part of interpreter shutdown anyway. > > Good point. I've implemented PyType_ClearCache and exposed it via > sys._c

[Python-Dev] refleaks and caches

2008-01-26 Thread Neal Norwitz
Around Jan 13, the refleak hunting test that is reported on python-checkins started to report refleaks on virtually every run. I suspect this is due to r59944 (at 2008-01-13 16:29:41) which was from patch #1700288 to cache methods. With this patch it makes it much harder to spot refleaks. Does a

Re: [Python-Dev] 2.5.2 release coming up

2008-01-24 Thread Neal Norwitz
We need to fix the Windows buildbots. 2 tests are currently failing for 2.5.2: test_mailbox test_winreg From: http://www.python.org/dev/buildbot/all/x86%20XP-4%202.5/builds/107/step-test/0 The errors are: File "E:\cygwin\home\db3l\buildarea\2.5.bolen-windows\build\lib\test\test_mailbox.py

Re: [Python-Dev] Coverity Scan, Python upgraded to rung 2

2008-01-10 Thread Neal Norwitz
to be added. n -- > > > On Jan 10, 2008 10:57 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > > Neal Norwitz wrote: > > > I think only Coverity can add people. You can send them a message if > > > you would like to be added: [EMAIL PROTECTED] Or you can

Re: [Python-Dev] Coverity Scan, Python upgraded to rung 2

2008-01-09 Thread Neal Norwitz
On Jan 9, 2008 9:08 AM, <[EMAIL PROTECTED]> wrote: > > I went to the run2 page: > > http://scan.coverity.com/rung2.html > > I shows 6 uninspected defects for Python. How do we see what they are? > What is an uninspected defect? Any idea how the Coverity folks compute > Defects/KLOC? For exa

Re: [Python-Dev] Coverity Scan, Python upgraded to rung 2

2008-01-09 Thread Neal Norwitz
On Jan 9, 2008 9:08 AM, <[EMAIL PROTECTED]> wrote: > > Christian> I read the announcement of the Python Users list and figured > Christian> out that some of the other core developers might be > Christian> interested in the news, too. > > Christian> Among other projects Python was u

Re: [Python-Dev] Coverity Scan, Python upgraded to rung 2

2008-01-09 Thread Neal Norwitz
On Jan 9, 2008 1:12 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Thomas Heller wrote: > > Seems they are referring to the results of the rung 1 run (what ever 'rung' > > means ;-). > > With the account Neal made me some months ago, I can login on this page: > > > >http://scan.coverity.com

Re: [Python-Dev] Converting tests to unittest/doctest?

2007-12-21 Thread Neal Norwitz
Hi Titus. Great work on GHOP! On Dec 21, 2007 3:05 AM, Titus Brown <[EMAIL PROTECTED]> wrote: > Hi all, > > a bit of grep'ping and personal examination discovered the following > tests in trunk/ that could be converted to unittest or doctests. Any > thoughts, pro or con? Yes, it would be great

Re: [Python-Dev] Problems with GeneratorExit deriving from Exception

2007-12-02 Thread Neal Norwitz
On Dec 2, 2007 11:29 AM, Chad Austin <[EMAIL PROTECTED]> wrote: > Hi Antoine, > > Antoine Pitrou wrote: > > Hi, > > > > (I was asked to forward this from the bug tracker) > > > >> We have also run into problems where a task tries to "return" (yield > >> Return()) > >> from within a try: except Exc

Re: [Python-Dev] -O2 faster than -O3?

2007-11-30 Thread Neal Norwitz
On Nov 30, 2007 7:16 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Nov 30, 2007 12:02 PM, Neil Toronto <[EMAIL PROTECTED]> wrote: > > On both of my systems, using -O2 reduces execution time in pystone by 9% > > and in pybench by 8%. It's function inlining: "-O3 > > -fno-inline-functions" works j

Re: [Python-Dev] New python developer

2007-11-15 Thread Neal Norwitz
On Nov 13, 2007 1:05 PM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > > I can also help on win32 specific development. As an example, I find > that the distutils module don't work very well with the new compilers. > I won't be of much help on Unix, though. We need more help on Windows! Most

Re: [Python-Dev] Request for inclusion in 2.5.2 (5-for-1)

2007-11-06 Thread Neal Norwitz
Mike, thanks for reviewing the bugs and for creating a patch. Good work! On Nov 2, 2007 2:23 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Mike Klaas wrote: > > http://bugs.python.org/issue1705170: reproduced. Conjecture as to > > why it is occurring, but I don't know the guts well enough to pr

[Python-Dev] Windows amd64 warnings

2007-10-30 Thread Neal Norwitz
There are many warnings from the trunk (and 2.5) builds on Win64. I suspect quite a few of these are real problems. Win64 is the most unusual platform wrt 64-bits due to long being 32-bit. If we need 64-bits, we need to use Py_ssize_t. IIRC, we've had some bug reports for Win64. I know I've fi

Re: [Python-Dev] 2.5.2 is coming

2007-10-30 Thread Neal Norwitz
On Oct 24, 2007 7:22 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2007/10/12, Neal Norwitz <[EMAIL PROTECTED]>: > > > The plan is cut the release candidate around Tuesday/Wednesday next > > week (Oct 16/17). If all goes well, 2.5.2 final will follow a week >

Re: [Python-Dev] 2.5.2 is coming

2007-10-11 Thread Neal Norwitz
On Oct 11, 2007 11:36 PM, Thomas Heller <[EMAIL PROTECTED]> wrote: > > Neal, I have one patch for ctypes still sitting in some of my sandboxes. > ctypes doesn't work when configured with --with-system-ffi on machines > where 'sizeof(long long) != sizeof(long)', in other words on 32-bit boxes. > > I

[Python-Dev] 2.5.2 is coming

2007-10-11 Thread Neal Norwitz
We are planning the release of 2.5.2 for next week. Unless there are serious bugs, please hold off making big changes to the 2.5 branch until after 2.5.2 final is released. Anthony gets cranky when things break and he scares me...a lot. :-) Doc/test fixes as always are still fine. The plan is c

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

2007-08-28 Thread Neal Norwitz
Bill, Please mail your ssh key as an attachment to [EMAIL PROTECTED] n -- On 8/28/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Hi Bill, > > I think it's time you get to do your own checkins. There's a protocol > but I forget how to do it -- I think you mail your ssh key to Martin. > > --Gui

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

2007-08-26 Thread Neal Norwitz
Thanks. I applied it. -- n On 8/26/07, Bill Janssen <[EMAIL PROTECTED]> wrote: > Well, as long as you have your ears on, here's another patch to test_ssl. > > 1) Fixes the bug that two class names are initial-lower-case. > > 2) Replaces the poll waiting for the server to become ready with >

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

2007-08-26 Thread Neal Norwitz
On 8/26/07, Bill Janssen <[EMAIL PROTECTED]> wrote: > > This occurs on at least 3 of the buildbots (ubuntu and debian on ia64, > > ppc, and hppa). Here's one example: > > > > http://python.org/dev/buildbot/all/ia64%20Ubuntu%20trunk%20trunk/builds/832/step-test/0 > > If I'm reading this right, it's

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

2007-08-25 Thread Neal Norwitz
Bill, Could you also look into this problem: Traceback (most recent call last): File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/threading.py", line 486, in __bootstrap_inner self.run() File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 144

Re: [Python-Dev] new bug tracker broken?

2007-08-25 Thread Neal Norwitz
It looks like you found the meta tracker rather than the python one. To reset your password for the main python tracker: http://bugs.python.org/[EMAIL PROTECTED] To report bugs, go here: http://bugs.python.org/ To register a new account, go here: http://bugs.python.org/[EMAIL PROTECTED] N

Re: [Python-Dev] Segfault

2007-08-24 Thread Neal Norwitz
On 8/24/07, Hrvoje Nikšić <[EMAIL PROTECTED]> wrote: > On Thu, 2007-08-23 at 11:57 -0700, Neal Norwitz wrote: > > > "allow threads" section that runs with the GIL released, file_close > > > might acquire the GIL and be running in parallel to this code. If >

Re: [Python-Dev] Segfault

2007-08-23 Thread Neal Norwitz
On 8/23/07, Hrvoje Nikšić <[EMAIL PROTECTED]> wrote: > On Wed, 2007-08-22 at 21:32 -0700, Neal Norwitz wrote: > > Py_BEGIN_ALLOW_THREADS > > errno = 0; > > - ret = _portable_fseek(f->f_fp, offset, whence); > > + if (f-&g

Re: [Python-Dev] Segfault

2007-08-22 Thread Neal Norwitz
On 8/22/07, Hrvoje Nikšić <[EMAIL PROTECTED]> wrote: > On Tue, 2007-08-21 at 09:14 -0700, Neal Norwitz wrote: > > The patch is insufficient to prevent all types of crashes that occur > > when accessing a file from 2 threads (closing in one and doing > > whatever in anot

Re: [Python-Dev] Segfault

2007-08-21 Thread Neal Norwitz
On 8/21/07, Hrvoje Nikšić <[EMAIL PROTECTED]> wrote: > On Mon, 2007-08-20 at 20:27 +0200, Maciej Fijalkowski wrote: > > import thread > > > > while 1: > > f = open("/tmp/dupa", "w") > > thread.start_new_thread(f.close, ()) > > f.close() > > file_close inadvertently allows fclose to be c

  1   2   3   4   5   6   >