Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Eli Bendersky
On Tue, Nov 9, 2010 at 04:07, R. David Murray wrote: > On Mon, 08 Nov 2010 18:10:17 -0600, Ron Adam wrote: > > def _private_api(): > > # > > # Isn't it a good practice to use comments here? > > # > > ... > > IMO, no. > > FWIW, I agree completely. Docstrings are a part of Pyth

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Ron Adam
On 11/08/2010 10:26 PM, Nick Coghlan wrote: On Tue, Nov 9, 2010 at 11:18 AM, Ron Adam wrote: What do you think about adding a new _pydoc3.py module along with a pydoc3.py loader module with a basic user api. The number 3, so that it match's python3.x. We can then keep the old pydoc.py uncha

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Nick Coghlan
On Tue, Nov 9, 2010 at 1:28 PM, Alexander Belopolsky wrote: > On Mon, Nov 8, 2010 at 2:58 PM, Brett Cannon wrote: > .. >> But that doesn't mean we can't go through, fix up our names, and >> deprecate the old public names; that's fair game in my book. Indeed. I've now recommended Ron do exactly t

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Ron Adam
On 11/08/2010 07:18 PM, Brett Cannon wrote: On Mon, Nov 8, 2010 at 16:10, Ron Adam wrote: def _private_api(): # # Isn't it a good practice to use comments here? # ... That is ugly. I already hate doing that for unittest, I'm not about to champion that for anything else.

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Nick Coghlan
On Tue, Nov 9, 2010 at 11:18 AM, Ron Adam wrote: > What do you think about adding a new _pydoc3.py module along with a > pydoc3.py loader module with a basic user api.  The number 3, so that it > match's python3.x. > > We can then keep the old pydoc.py unchanged and be free to make a lot more > ch

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Alexander Belopolsky
On Mon, Nov 8, 2010 at 2:58 PM, Brett Cannon wrote: .. > But that doesn't mean we can't go through, fix up our names, and > deprecate the old public names; that's fair game in my book. > +1 See http://bugs.python.org/issue10371 ___ Python-Dev mailing l

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread R. David Murray
On Mon, 08 Nov 2010 18:10:17 -0600, Ron Adam wrote: > def _private_api(): > # > # Isn't it a good practice to use comments here? > # > ... IMO, no. -- R. David Murray www.bitdance.com ___ Python-

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 12:50 am, gu...@python.org wrote: On Mon, Nov 8, 2010 at 3:55 PM, Glyph Lefkowitz wrote: This seems like a pretty clear case of "practicality beats purity". Not only has nobody complained about deprecatedModuleAttribute, but there are tons of things which show up in sys.modules that aren't

Re: [Python-Dev] "Too many open files" errors on "x86 FreeBSD 7.2 3.x" buildbot

2010-11-08 Thread Victor Stinner
On Monday 08 November 2010 13:23:33 Jeroen Ruigrok van der Werven wrote: > >The POSIX semaphore support is not enabled by default in FreeBSD 7, so > >I added loader.conf stuff to load them (as part of issue7272). > > It is enabled by default on FreeBSD 8 at least. Ok, but I suppose that many user

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Toshio Kuratomi
On Tue, Nov 09, 2010 at 11:46:59AM +1100, Ben Finney wrote: > Ron Adam writes: > > > def _publicly_documented_private_api(): > > """ Not sure why you would want to do this > > instead of using comments. > > """ > > ... > > Because the docstring is available at the interpret

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Guido van Rossum
On Mon, Nov 8, 2010 at 4:46 PM, Ben Finney wrote: > Ron Adam writes: > >> def _publicly_documented_private_api(): >>     """  Not sure why you would want to do this >>          instead of using comments. >>     """ >>     ... > > Because the docstring is available at the interpreter via ‘help()’,

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 16:10, Ron Adam wrote: > > > On 11/08/2010 04:01 PM, Brett Cannon wrote: > >>> My understanding is that anything with an actual docstring is part of the >>> public API.  Any thing with a leading underscore is private. >> >> That's a bad rule. Why shouldn't I be able to docum

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Ron Adam
On 11/08/2010 05:44 AM, Nick Coghlan wrote: All, I was about to commit the patch for issue 2001 (the improvements to the pydoc web server and the removal of the Tk GUI) when I realised that pydoc.serve() and pydoc.gui() are technically public standard library APIs (albeit undocumented ones).

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Guido van Rossum
On Mon, Nov 8, 2010 at 3:55 PM, Glyph Lefkowitz wrote: > This seems like a pretty clear case of "practicality beats purity".  Not only > has nobody complained about deprecatedModuleAttribute, but there are tons of > things which show up in sys.modules that aren't modules in the sense of > 'inst

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Ben Finney
Ron Adam writes: > def _publicly_documented_private_api(): > """ Not sure why you would want to do this > instead of using comments. > """ > ... Because the docstring is available at the interpreter via ‘help()’, and because it's automatically available to ‘doctest’, and mo

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Ben Finney
Bobby Impollonia writes: > On Mon, Nov 8, 2010 at 2:07 PM, Raymond Hettinger > wrote: > > To start with, it doesn't hurt for a maintainer to add an __all__ > > entry and to only document the parts of the API we think need to be > > exposed.  That way, we can at least declare the parts that are >

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Ron Adam
On 11/08/2010 04:01 PM, Brett Cannon wrote: My understanding is that anything with an actual docstring is part of the public API. Any thing with a leading underscore is private. That's a bad rule. Why shouldn't I be able to document something that is not meant for the public so that fellow

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Glyph Lefkowitz
On Nov 8, 2010, at 2:35 PM, exar...@twistedmatrix.com wrote: > On 09:57 pm, br...@python.org wrote: >> On Mon, Nov 8, 2010 at 13:45, wrote: >>> On 09:25 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:03, wrote: > > On 07:58 pm, br...@python.org wrote: >>> >

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Guido van Rossum
On Mon, Nov 8, 2010 at 3:26 PM, Bobby Impollonia wrote: > On Mon, Nov 8, 2010 at 2:07 PM, Raymond Hettinger > wrote: >> >> On Nov 8, 2010, at 11:58 AM, Brett Cannon wrote: >> >>> I think we need to, as a group, decide how to handle undocumented APIs >>> that don't have a leading underscore: they

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Bobby Impollonia
On Mon, Nov 8, 2010 at 2:07 PM, Raymond Hettinger wrote: > > On Nov 8, 2010, at 11:58 AM, Brett Cannon wrote: > >> I think we need to, as a group, decide how to handle undocumented APIs >> that don't have a leading underscore: they get treated just the same >> as the documented APIs, or are they p

Re: [Python-Dev] Continuing 2.x

2010-11-08 Thread Lennart Regebro
2010/11/8 James Y Knight : > On Nov 8, 2010, at 4:42 AM, Lennart Regebro wrote: >> Except for making releases that start backporting Python 3 features >> and breaking backwards compatibility gradually (which may or may not >> be a good idea) I don't see the point. There isn't much to do when it >>

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Terry Reedy
On 11/8/2010 2:58 PM, Brett Cannon wrote: I think we need to, as a group, decide how to handle undocumented APIs that don't have a leading underscore: they get treated just the same as the documented APIs, or are they private regardless and thus we can change them at our whim? How about in bet

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Terry Reedy
On 11/8/2010 4:36 PM, Ron Adam wrote: My understanding is that anything with an actual docstring is part of the public API. Any thing with a leading underscore is private. When the trace module was written, the rule seems to have been more like: docs (but no docstrings) for public API, docstr

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 09:57 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:45, wrote: On 09:25 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:03, � wrote: On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without deprecation policy is workable.  For example, is trace.

Re: [Python-Dev] [Python-checkins] r86327 - in python/branches/py3k: Doc/includes/email-mime.py Doc/includes/email-simple.py Doc/library/smtplib.rst Doc/whatsnew/3.2.rst Lib/smtplib.py Lib/test/test_s

2010-11-08 Thread Éric Araujo
> Author: r.david.murray > New Revision: 86327 > > Log: #10321: Add support for sending binary DATA and Message objects to > smtplib > > Modified: python/branches/py3k/Doc/includes/email-mime.py > == > # Send the email

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Steven D'Aprano
Ron Adam wrote: My understanding is that anything with an actual docstring is part of the public API. I frequently add docstrings to _private functions. Just because it is private doesn't mean I don't want documentation for it, and it is very handy for running doctests. Yes, I test my inte

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Raymond Hettinger
On Nov 8, 2010, at 11:58 AM, Brett Cannon wrote: > I think we need to, as a group, decide how to handle undocumented APIs > that don't have a leading underscore: they get treated just the same > as the documented APIs, or are they private regardless and thus we can > change them at our whim? To

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 13:36, Ron Adam wrote: > > > On 11/08/2010 01:58 PM, Brett Cannon wrote: >> >> On Mon, Nov 8, 2010 at 09:20, Alexander Belopolsky >>  wrote: >>> >>> Was: [issue2001] Pydoc interactive browsing enhancement >>> >>> On Sun, Nov 7, 2010 at 9:17 AM, Nick Coghlan >>>  wrote: >>>

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 13:45, wrote: > On 09:25 pm, br...@python.org wrote: >> >> On Mon, Nov 8, 2010 at 13:03,   wrote: >>> >>> On 07:58 pm, br...@python.org wrote: > > I don't think a strict don't remove without deprecation policy is > workable.  For example, is trace.rx_blank const

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Ron Adam
On 11/08/2010 01:58 PM, Brett Cannon wrote: On Mon, Nov 8, 2010 at 09:20, Alexander Belopolsky wrote: Was: [issue2001] Pydoc interactive browsing enhancement On Sun, Nov 7, 2010 at 9:17 AM, Nick Coghlan wrote: .. I'd actually started typing out the command to commit this before it finall

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 09:25 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:03, wrote: On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without deprecation policy is workable. �For example, is trace.rx_blank constant part of the trace module API that needs to be preserved indefi

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 13:03, wrote: > On 07:58 pm, br...@python.org wrote: >>> >>> I don't think a strict don't remove without deprecation policy is >>> workable.  For example, is trace.rx_blank constant part of the trace >>> module API that needs to be preserved indefinitely?  I don't even know

Re: [Python-Dev] "Too many open files" errors on "x86 FreeBSD 7.2 3.x" buildbot

2010-11-08 Thread David Bolen
Jeroen Ruigrok van der Werven writes: > -On [20101108 00:36], David Bolen (db3l@gmail.com) wrote: >>Well, I think the SYSV semaphores are either less limited or at least >>more adjustable. They've certainly been around longer in FreeBSD. >>The POSIX semaphore

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without deprecation policy is workable. �For example, is trace.rx_blank constant part of the trace module API that needs to be preserved indefinitely? �I don't even know if it is possible to add a deprecation warning to it,

Re: [Python-Dev] GUI test runner tool

2010-11-08 Thread Raymond Hettinger
On Nov 8, 2010, at 11:28 AM, Alexander Belopolsky wrote: > On Mon, Nov 8, 2010 at 7:09 AM, Michael Foord > wrote: > .. >> I'd like to propose adding [unittestgui] to Python in Tools/ and am >> volunteering to >> maintain it. > > Why not adding it under Lib/unittest/? Michael's instinct to

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 09:20, Alexander Belopolsky wrote: > Was: [issue2001] Pydoc interactive browsing enhancement > > On Sun, Nov 7, 2010 at 9:17 AM, Nick Coghlan wrote: > .. >> >> I'd actually started typing out the command to commit this before it finally >> clicked that the patch changes pu

Re: [Python-Dev] GUI test runner tool

2010-11-08 Thread Alexander Belopolsky
On Mon, Nov 8, 2010 at 7:09 AM, Michael Foord wrote: .. > I'd like to propose adding [unittestgui] to Python in Tools/ and am > volunteering to > maintain it. Why not adding it under Lib/unittest/? I think Tools/ is a less attractive location for most users than say PyPI or some other package

Re: [Python-Dev] GUI test runner tool

2010-11-08 Thread Brett Cannon
On Mon, Nov 8, 2010 at 04:09, Michael Foord wrote: > Hello all, > > Now that unittest has test discovery, Mark Roddy has been working on > resurrecting the old GUI test runner (using Tkinter): > > https://bitbucket.org/markroddy/unittestgui > > This was part of the original pyunit project but I be

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Michael Foord
On Mon, Nov 8, 2010 at 1:39 PM, Michael Foord wrote: .. So you have a bug in the module that can only be fixed in a function you want to deprecate? No, I have a bug in a function that I want to deprecate. You said I don't need to fix it if I add a deprecation warning. However, as far as I kn

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Alexander Belopolsky
On Mon, Nov 8, 2010 at 1:39 PM, Michael Foord wrote: .. > So you have a bug in the module that can only be fixed in a function you > want to deprecate? > No, I have a bug in a function that I want to deprecate. You said I don't need to fix it if I add a deprecation warning. However, as far as I

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Michael Foord
On Mon, Nov 8, 2010 at 12:35 PM, Michael Foord wrote: .. If you deprecate it then you don't *have* to fix bugs in it. If we know it is used then we can't remove it without deprecation. What about the maintenance branch? So you have a bug in the module that can only be fixed in a function you

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Alexander Belopolsky
On Mon, Nov 8, 2010 at 12:35 PM, Michael Foord wrote: .. > If you deprecate it then you don't *have* to fix bugs in it. If we know it > is used then we can't remove it without deprecation. > What about the maintenance branch? ___ Python-Dev mailing list

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Terry Reedy
On 11/8/2010 12:20 PM, Alexander Belopolsky wrote: Was: [issue2001] Pydoc interactive browsing enhancement On Sun, Nov 7, 2010 at 9:17 AM, Nick Coghlan wrote: .. I'd actually started typing out the command to commit this before it finally clicked that the patch changes public APIs of the pyd

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Ron Adam
On 11/08/2010 09:12 AM, exar...@twistedmatrix.com wrote: On 11:44 am, ncogh...@gmail.com wrote: All, I was about to commit the patch for issue 2001 (the improvements to the pydoc web server and the removal of the Tk GUI) when I realised that pydoc.serve() and pydoc.gui() are technically publi

Re: [Python-Dev] Buildbot for AIX

2010-11-08 Thread exarkun
On 05:50 pm, solip...@pitrou.net wrote: Le lundi 08 novembre 2010 � 18:46 +0100, S�bastien Sabl� a �crit : xlc: 1501-216 (W) command option - -qmaxmem=18000 is not recognized - passed to ld Is -qmaxmem really necessary to build Python? If so, you could try passing it in CFLAGS. However running

Re: [Python-Dev] Buildbot for AIX

2010-11-08 Thread Sébastien Sablé
Hi Antoine, I tried to provide command lines arguments to configure instead of environment variables with: configureFlags = ["--with-pydebug", "--without-computed-gotos", "CC=xlc", 'OPT="-O2 -qmaxmem=18000"'] But that would fail: on the slave, configure would run like that: ./configure --wi

Re: [Python-Dev] Buildbot for AIX

2010-11-08 Thread C. Titus Brown
On Mon, Nov 08, 2010 at 06:50:32PM +0100, Antoine Pitrou wrote: > > However running 2 different slaves per host in order to distinguish xlc > > and gcc would be OK; though I would appreciate if they could run > > sequentially rather than in parallel as that would limit the host load. > > If ther

Re: [Python-Dev] Buildbot for AIX

2010-11-08 Thread Antoine Pitrou
Le lundi 08 novembre 2010 à 18:46 +0100, Sébastien Sablé a écrit : > xlc: 1501-216 (W) command option - -qmaxmem=18000 is not recognized - > passed to ld Is -qmaxmem really necessary to build Python? If so, you could try passing it in CFLAGS. > However running 2 different slaves per host in orde

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Michael Foord
Was: [issue2001] Pydoc interactive browsing enhancement [snip...] This suggests that trace.find_strings() should probably be preserved or properly deprecated. If this is the case, should we fix bugs in it? Note that it currently has a bug because it ignores the coding cookie when opening python

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread Michael Foord
Was: [issue2001] Pydoc interactive browsing enhancement [snip...] This suggests that trace.find_strings() should probably be preserved or properly deprecated. If this is the case, should we fix bugs in it? Note that it currently has a bug because it ignores the coding cookie when opening python

[Python-Dev] Breaking undocumented API

2010-11-08 Thread Alexander Belopolsky
Was: [issue2001] Pydoc interactive browsing enhancement On Sun, Nov 7, 2010 at 9:17 AM, Nick Coghlan wrote: .. > > I'd actually started typing out the command to commit this before it finally > clicked that the patch changes public > APIs of the pydoc module in incompatible ways. Sure, they aren

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread R. David Murray
On Mon, 08 Nov 2010 17:02:24 +0100, wrote: > If there is no enormous difficulty in maintaining compatibility, I think > the usual deprecation process should be followed. We don’t know who is > using pydoc as a library, so let’s play safe and not risk breaking their > code (especially consider

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Georg Brandl
Am 08.11.2010 17:02, schrieb Éric Araujo: > Hi Nick, > > If there is no enormous difficulty in maintaining compatibility, I think > the usual deprecation process should be followed. We don’t know who is > using pydoc as a library, so let’s play safe and not risk breaking their > code (especially

Re: [Python-Dev] Continuing 2.x

2010-11-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/08/2010 04:42 AM, Lennart Regebro wrote: > 2010/10/28 Kristján Valur Jónsson : >> Hello all. >> >> >> >> So, python 2.7 is in bugfix only mode. ‘trunk’ is off limit. So, where >> does one make improvements to the distinguished, and still very m

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Éric Araujo
Hi Nick, If there is no enormous difficulty in maintaining compatibility, I think the usual deprecation process should be followed. We don’t know who is using pydoc as a library, so let’s play safe and not risk breaking their code (especially considering that it must not have been easy to write c

Re: [Python-Dev] [Python-checkins] r86264 - python/branches/release27-maint/Lib/distutils/sysconfig.py

2010-11-08 Thread Éric Araujo
[Martin] >>> It's rather a matter of agreeing when moving forward: IMO, mere style >>> changes, code cleanup etc shouldn't be applied to the bug fix branches, >>> as their only purpose is to provide bug fixes for existing users. >> >> [Terry] >> The omission of the deletion from the 5/5 revision wa

Re: [Python-Dev] Continuing 2.x

2010-11-08 Thread James Y Knight
On Nov 8, 2010, at 4:42 AM, Lennart Regebro wrote: > Except for making releases that start backporting Python 3 features > and breaking backwards compatibility gradually (which may or may not > be a good idea) I don't see the point. There isn't much to do when it > comes to improving the language,

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread exarkun
On 11:44 am, ncogh...@gmail.com wrote: All, I was about to commit the patch for issue 2001 (the improvements to the pydoc web server and the removal of the Tk GUI) when I realised that pydoc.serve() and pydoc.gui() are technically public standard library APIs (albeit undocumented ones). Current

Re: [Python-Dev] [Python-checkins] r86300 - in python/branches/py3k: Misc/NEWS PC/winsound.c

2010-11-08 Thread Éric Araujo
> Author: hirokazu.yamamoto > New Revision: 86300 > Log: > Issue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval. > > > Modified: python/branches/py3k/Misc/NEWS > == > --- python/branches/py3k/Misc/

Re: [Python-Dev] r86276 - python/branches/py3k/Lib/distutils/cygwinccompiler.py

2010-11-08 Thread Éric Araujo
>> It seems this and previous fixes should be backported to 2.7. > > Perhaps there should be a 'backport 2.7' keyword to check on issues that > might be but have not been. The “Your issues” list is very helpful and works well for me. This bug is still open and assigned to me (and opened in my w

Re: [Python-Dev] r86276 - python/branches/py3k/Lib/distutils/cygwinccompiler.py

2010-11-08 Thread Éric Araujo
>> New Revision: 86276 >> Log: >> Fix #10252 again (hopefully definitely). Patch by Brian Curtin. > > It seems this and previous fixes should be backported to 2.7. Certainly. I was waiting on buildbot feedback before doing it. Regards ___ Python-Dev

Re: [Python-Dev] Help with warnings not being raised

2010-11-08 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/11/10 13:55, Nick Coghlan wrote: > Under -We, PyErr_Warn raises an exception rather than printing to > stdout. That exception is clobbered by the immediately following call > to PyErr_Clear. > Since you *only* hit that branch under -We in the fir

Re: [Python-Dev] "Too many open files" errors on "x86 FreeBSD 7.2 3.x" buildbot

2010-11-08 Thread Jeroen Ruigrok van der Werven
-On [20101108 00:36], David Bolen (db3l@gmail.com) wrote: >Victor Stinner writes: >Well, I think the SYSV semaphores are either less limited or at least >more adjustable. They've certainly been around longer in FreeBSD. >The POSIX semaphore support is not enabled by default

[Python-Dev] GUI test runner tool

2010-11-08 Thread Michael Foord
Hello all, Now that unittest has test discovery, Mark Roddy has been working on resurrecting the old GUI test runner (using Tkinter): https://bitbucket.org/markroddy/unittestgui This was part of the original pyunit project but I believe it was never part of the standard library: http://sou

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-08 Thread Nick Coghlan
On Mon, Nov 8, 2010 at 10:09 AM, "Martin v. Löwis" wrote: >> Luckily, the problems that we faced 2.5 years ago when I came up with >> the idea of Snakebite are still just as ever present today ;-) > > Is this bashing of existing infrastructure really necessary? > People (like me) might start bashi

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-08 Thread Dirkjan Ochtman
On Sun, Nov 7, 2010 at 13:15, Dirkjan Ochtman wrote: > Yeah, Martin has things for buildbot worked out. Notes about this are > in the hg.python.org/pymigr repository. I meant Georg here, of course. Sorry, Georg! Cheers, Dirkjan ___ Python-Dev mailing

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-08 Thread Nick Coghlan
On Mon, Nov 8, 2010 at 7:05 PM, Jeroen Ruigrok van der Werven wrote: > -On [20101107 12:52], Nick Coghlan (ncogh...@gmail.com) wrote: >>This sounds like a great place to start. Perhaps focus on one or two >>of the less common platforms first (e.g. FreeBSD 7 has been hitting a >>few semaphore issue

[Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread Nick Coghlan
All, I was about to commit the patch for issue 2001 (the improvements to the pydoc web server and the removal of the Tk GUI) when I realised that pydoc.serve() and pydoc.gui() are technically public standard library APIs (albeit undocumented ones). Currently the patch switches serve() to start th

Re: [Python-Dev] new buffer in python2.7

2010-11-08 Thread Lennart Regebro
On Wed, Oct 27, 2010 at 12:36, Antoine Pitrou wrote: > On Wed, 27 Oct 2010 10:13:12 +0800 > Kristján Valur Jónsson wrote: >> Although 2.7 has the new buffer interface and memoryview >> objects, these are widely not accepted in the built in modules. > > That's true, and slightly unfortunate. It co

Re: [Python-Dev] bugs.python.org not responding (Was: rlcompleter -- auto-complete dictionary keys (+ tests))

2010-11-08 Thread Valery Khamenya
Hi David, > Valery, I would advise you to submit the patch to bugs.python.org when > it comes back up. Patches posted to this mailing list will in general > just get forgotten. > > done: http://bugs.python.org/issue10351 http://bugs.python.org/issue10352 Albeit, as I can already see the situa

Re: [Python-Dev] Continuing 2.x

2010-11-08 Thread Lennart Regebro
2010/10/28 Kristján Valur Jónsson : > Hello all. > > > > So, python 2.7 is in bugfix only mode.  ‘trunk’ is off limit.  So, where > does one make improvements to the distinguished, and still very much alive, > 2.x series of Python? > > The answer would seem to be “one doesn’t”.  But must it be that

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-08 Thread Jeroen Ruigrok van der Werven
-On [20101107 12:52], Nick Coghlan (ncogh...@gmail.com) wrote: >This sounds like a great place to start. Perhaps focus on one or two >of the less common platforms first (e.g. FreeBSD 7 has been hitting a >few semaphore issues lately). Nick, do you have some pointers for this? I am one of those BSD

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-08 Thread Martin v. Löwis
> That is true, however it doesn't help you: the hook takes its configuration > from the hgrc file, so you can configure exactly one host:port to send > changes to. Ah, ok. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.py