[issue10859] Is GeneratorContextManager public?

2011-01-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, done in r87860. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: contextlib.GeneratorContextManager doesn't have an underscore but it's not documented either. Something has to be done (I would say make it private). -- components: Library (Lib) messages: 125683 nosy: michael.foord, ncoghlan, pitrou

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: It isn't in __all__ and it is undocumented - so I'd say its private already. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Not clear; see #10838. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859 ___

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: There was a discussion on python-dev about naming conventions in the standard library. There was no clear consensus that everything non-public should start with an underscore. Several developers thought that merely being undocumented

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There was a discussion on python-dev about naming conventions in the standard library. There was no clear consensus that everything non-public should start with an underscore. Several developers thought that merely being undocumented or not

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I have no objection to a rename that adds a leading underscore. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859 ___

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: -michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859 ___ ___

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'd like to leave the door open to some tweaks in the GCM implementation for 3.3, so making it officially private (by adding the leading underscore) sounds good to me. -- keywords: +easy ___ Python