Re: [Python-Dev] Tracker Stats

2014-06-23 Thread A.M. Kuchling
On Mon, Jun 23, 2014 at 04:12:24PM -0400, R. David Murray wrote: > The stats graphs are based on the data generated for the > weekly issue report. I have a patched version of that > report that adds the bug/enhancement info. After PyCon, I started working on a scraper that would produce a bunch o

Re: [Python-Dev] cpython (3.4): #23891: add a section to the Tutorial describing virtual environments and pip

2015-06-09 Thread A.M. Kuchling
> > #23891: add a section to the Tutorial describing virtual environments and > > pip > > This is very cool, thank you! Thanks! This suggestion came up at April's Language Summit as an improvement to make the tutorial better reflect current practice. Another suggestion was to suggest the 'requ

Re: [Python-Dev] How far to go with user-friendliness

2015-07-14 Thread A.M. Kuchling
On Tue, Jul 14, 2015 at 09:53:33AM -0700, Ethan Furman wrote: > Part of writing tests is making sure they fail (and for the right reason) -- > proper testing of the tests would reveal such a typo. And there are other failure modes for writing tests that succeed but are not testing what you think.

Re: [Python-Dev] Typo in PEP-0423

2015-12-19 Thread A.M. Kuchling
On Sat, Dec 19, 2015 at 08:55:26PM +1000, Nick Coghlan wrote: > Even once the new docs are in place, getting them to the top of search > of results ahead of archived material that may be years out of date is > likely to still be a challenge - for example, even considering just > the legacy distutil

Re: [Python-Dev] Yearly PyPI breakage

2016-05-06 Thread A.M. Kuchling
On Thu, May 05, 2016 at 10:31:48PM -0400, Donald Stufft wrote: > I don't believe we've ever told someone that something can't happen because of > Warehouse, only that *I* won't implement something until after Warehouse. That > often times means that something won't happen until after Warehouse beca

Re: [Python-Dev] [Python-checkins] cpython: Fiddled Thread.join() to be a little simpler. Kinda ; -)

2013-10-26 Thread A.M. Kuchling
On Sat, Oct 26, 2013 at 05:34:05AM +0200, tim.peters wrote: > Fiddled Thread.join() to be a little simpler. Kinda ;-) > -# else it's a negative timeout - precise behavior isn't documented > -# then, but historically .join() returned in this case > +else: > +#

Re: [Python-Dev] [Python-checkins] cpython: #1097797: Add CP273 codec, and exercise it in the test suite

2013-11-10 Thread A.M. Kuchling
On Sun, Nov 10, 2013 at 06:48:30PM -0500, Terry Reedy wrote: > >+def encode(self,input,errors='strict'): > >+return codecs.charmap_encode(input,errors,encoding_table) > > You left out the spaces after the call commas (PEP8) Thanks for noting this. This file is programmatically generat

[Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread A.M. Kuchling
I was looking at http://bugs.python.org/issue1098749, which adds extraction of multiple-line strings to pygettext.py, but on the ticket Mark Lawrence suggested that "pygettext should be deprecated". Is it deprecated? (It's not listed in PEP 4, but it isn't a module.) Debian wrote a man page for

Re: [Python-Dev] Python 3 marketing document?

2014-01-24 Thread A.M. Kuchling
On Fri, Jan 24, 2014 at 10:37:12AM -0600, Jesse Noller wrote: > fwiw, I'm offering the keys/account/etc for getpython3.com to whomever > has the time to keep it fresh and up to date. I'd be interested. --amk ___ Python-Dev mailing list Python-Dev@python

[Python-Dev] pootle.python.org is down

2014-02-16 Thread A.M. Kuchling
I came across http://bugs.python.org/issue13663, which is about a pootle.python.org installation. http://pootle.python.org/ currently returns a 500. Are we still using Pootle, or should I just close #13663? (Maybe the installation got broken in the move to OSL and then forgotten?) --amk

Re: [Python-Dev] Language Summit notes

2014-04-10 Thread A.M. Kuchling
On Wed, Apr 09, 2014 at 09:08:04PM -0400, Guido van Rossum wrote: > To anyone who took notes at the language summit at PyCon today, even if you > took them just for yourself, would you mind posting them here? It would be > good to have some kind of (informal!) as soon as possible, before we > colle

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue #18277: Document quirks of multiprocessing queue.

2013-06-24 Thread A.M. Kuchling
On Mon, Jun 24, 2013 at 03:53:27PM +0200, richard.oudkerk wrote: > http://hg.python.org/cpython/rev/8dcc4e017d42 > + but should not cause any pratical difficulties -- you can always ^^ practical > + infinitessimal delay before the queue's :meth:`~Queue.empty`

[Python-Dev] Issue 4199: combining assignment with global & nonlocal

2013-06-29 Thread A.M. Kuchling
Issue 4199 begins with a self-explanatory comment: PEP 3104 says that the nonlocal and global statements should allow a shorthand. ("global x; x = 3" == "global x = 3") This patch implements that. Benjamin posted his patch on 2008-10-24. It got postponed to 3.2 because it was t

Re: [Python-Dev] [Python-checkins] cpython: [issue19151] Fix issue number in Misc/NEWS entry.

2013-10-03 Thread A.M. Kuchling
On Thu, Oct 03, 2013 at 08:48:47PM +0200, eric.snow wrote: > -- Issue #19951: Fix docstring and use of _get_suppported_file_loaders() to > +- Issue #19151: Fix docstring and use of _get_suppported_file_loaders() to ^^^ likely a typo? --amk ___

Re: [Python-Dev] [Python-checkins] cpython (3.3): PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.

2013-10-07 Thread A.M. Kuchling
On Mon, Oct 07, 2013 at 12:13:18AM +0100, Michael Foord wrote: > Wing is only a good example of PyGtk until Wing 5 is out of beta. They too > have switched to PyQt... Perhaps Gramps is a good example: http://www.gramps-project.org/ I just glanced at their code and it's still using PyGtk. --amk __

Re: [Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits?

2016-06-16 Thread A.M. Kuchling
On Thu, Jun 16, 2016 at 10:26:22AM -0700, Nick Coghlan wrote: > meta-guidance. However, there are multiple levels of improvement being > pursued here, since developer ignorance of security concerns and > problematic defaults at the language level is a chronic problem rather > than an acute one (and

Re: [Python-Dev] Mark old distutils as deprecated

2009-02-08 Thread A.M. Kuchling
On Sun, Feb 08, 2009 at 11:15:46AM +0100, Tarek Ziadé wrote: > To avoid confusion, as suggested by Akira who works on cleaning the > Distutils pages on the python.org website, > I would like to move http://svn.python.org/view/distutils/trunk into a > branch and add a README.txt in an empty trunk >

Re: [Python-Dev] Daily documentation builds

2009-02-11 Thread A.M. Kuchling
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 caused the machine to run out of memory. Does anyone else have > regrtest.py -R hang fo

Re: [Python-Dev] Greg Ward email

2009-02-23 Thread A.M. Kuchling
On Mon, Feb 23, 2009 at 02:16:17PM +0100, Tarek Ziadé wrote: > I am trying to reach Greg Ward to get a maintainer access to Distutils > at PyPI, but his email address at python.net (and some other) doesn't > work anymore. Greg's website at www.gerg.ca (not a typo!) has e-mail addresses. However,

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

2009-02-25 Thread A.M. Kuchling
On Wed, Feb 25, 2009 at 06:30:06AM -0800, Heracles wrote: > is commented back in it does fail. I am not sure exactly how a debugger will > help in this case since the color_set call goes directly to the ncurses > library. If in fact that the issue is the ncurses library then it seems > that there

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

2009-02-26 Thread A.M. Kuchling
On Wed, Feb 25, 2009 at 01:52:29PM -0800, st...@integrityintegrators.net wrote: > Are you up for helping a little more? Sure, but please open an issue on http://bugs.python.org for this; back-and-forth over a particular patch is done in the bug tracker, not the python-dev mailing list. http://www

Re: [Python-Dev] Googlebot and the mail.python.org python-dev?archive

2009-02-28 Thread A.M. Kuchling
On Sat, Feb 28, 2009 at 10:37:09AM +, Antoine Pitrou wrote: > have the following HTML tag in them: > > which explicitly instructs Web spiders *not* to index contents nor follow > links. I believe this makes spiders not index this page, but does follow links. Individual messages have "in

Re: [Python-Dev] Googlebot and the mail.python.org python-dev archive

2009-02-28 Thread A.M. Kuchling
On Sat, Feb 28, 2009 at 09:53:10PM +1000, Nick Coghlan wrote: > Is pydotorg-www still the place for website questions?* If so, I should > probably take this over there... Just 'pydotorg' is the current list (http://mail.python.org/mailman/listinfo/pydotorg). Looking at the access logs, mail.pytho

Re: [Python-Dev] Regexp 2.7

2009-03-10 Thread A.M. Kuchling
On Tue, Mar 10, 2009 at 11:32:10AM -0700, Guido van Rossum wrote: > Hm, what's wrong with the existing set of regex test cases? This is > one of the most complete set of test cases in our test suite. There's never anything wrong with having more test cases! However, if you have a choice of which

Re: [Python-Dev] Ext4 data loss

2009-03-10 Thread A.M. Kuchling
On Tue, Mar 10, 2009 at 09:11:38PM +0100, Christian Heimes wrote: > Python's file type doesn't use fsync() and be the victim of the very > same issue, too. Should we do anything about it? The mailbox module tries to be careful and always fsync() before closing files, because mail messages are pret

Re: [Python-Dev] Ext4 data loss

2009-03-10 Thread A.M. Kuchling
On Wed, Mar 11, 2009 at 11:31:52AM +1100, Cameron Simpson wrote: > On 10Mar2009 18:09, A.M. Kuchling wrote: > | The mailbox module tries to be careful and always fsync() before > | closing files, because mail messages are pretty important. > > Can it be turned off? I hadn'

Re: [Python-Dev] wait time [was: Ext4 data loss]

2009-03-12 Thread A.M. Kuchling
On Thu, Mar 12, 2009 at 08:25:59PM +, Antoine Pitrou wrote: > However, I also think that any parameter to flush() or close() is a bad idea, > since it can't be used when flushing and closing is implicit. For example when > the file is used in a "with" statement. I think the existing os.fsync()

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-15 Thread A.M. Kuchling
On Wed, Apr 15, 2009 at 01:59:34PM -0400, P.J. Eby wrote: > Please see the large number of Zope and PEAK distributions on PyPI as > minimal examples that disprove this being the common use case. I expect > you will find a fair number of others, as well. ... > In other words, the "base packag

Re: [Python-Dev] Google Wave as a developer communication tool

2009-06-04 Thread A.M. Kuchling
On Thu, Jun 04, 2009 at 01:15:16PM -0400, Terry Reedy wrote: > marked as having new content. At your leisure, you open it (or perhaps > you have marked it 'download updates in background'). That that takes > longer with a slow connection is no different than with other text > streams. If y

Re: [Python-Dev] PEP 385: pruning/reorganizing branches

2009-08-04 Thread A.M. Kuchling
On Mon, Aug 03, 2009 at 12:51:36PM +0200, Dirkjan Ochtman wrote: > amk-mailbox: keep-clone? strip -- this branch was for working on a fix for http://bugs.python.org/issue1599254, but the actual work in the branch is available as the patches attached to that item. --amk ___

[Python-Dev] www, svn.python.org down

2009-08-07 Thread A.M. Kuchling
Both www.python.org and svn.python.org are down. They're hosted on the same machine, and it seems to have run into disk problems and hasn't rebooted even after power-cycling. Thomas Wouters will be visiting the machine physically tomorrow to try to diagnose the problem. (The machine also hosts p

[Python-Dev] www/svn python.org status update

2009-08-08 Thread A.M. Kuchling
The following sites are up again on a new machine, but cannot be updated through SVN hooks or whatever mechanism: www.python.org docs.python.org www.jython.org planet.python.org planet.jython.org svn.python.org was deliberately not brought up again. The backups were a few hours behind and missin

[Python-Dev] Python Language Summit #2 in February

2009-09-15 Thread A.M. Kuchling
PyCon 2010 will be February 19-21 2010 in Atlanta, Georgia (US). Van Lindberg, PyCon chair, has approved having another Python Language Summit on Thursday, February 18 2010. The web page for it is The Python Language Summit is an invitation-only

Re: [Python-Dev] PEP 3144 review.

2009-09-17 Thread A.M. Kuchling
On Thu, Sep 17, 2009 at 10:59:22AM -0700, Peter Moody wrote: > currently have, or do you feel that simply adding 5 rfc's to the > references section adds to the overall readability of the PEP? I would list them simply because it's not obvious which RFC specifies the format of IP addresses or how t

Re: [Python-Dev] Misc/maintainers.rst

2009-09-17 Thread A.M. Kuchling
On Thu, Sep 17, 2009 at 07:38:50PM +0200, Georg Brandl wrote: > So the plan would be to consolidate these into another set of rst docs, > having them in the repo, editable by every committer, as well as published > somewhere on python.org (devdocs.python.org or somesuch). +1. Should we do somethi

Re: [Python-Dev] Misc/maintainers.rst

2009-09-17 Thread A.M. Kuchling
On Thu, Sep 17, 2009 at 11:32:25PM +0200, Georg Brandl wrote: > > Should we do something similar with the FAQs at > > http://www.python.org/doc/faq/ ? > > They would then go into the main docs, I guess? That would make sense. However, we already have seven different FAQs there, so I don't think

[Python-Dev] Volunteer needed to organize summits

2009-10-20 Thread A.M. Kuchling
I'd like to turn over the organization of the VM and Python Language Summits at PyCon 2010 to someone else, one or two people. (The same person doesn't need to organize both of them.) Why: in November PyCon will be three months away, so the guest list needs to be finalized and the invitations nee

Re: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it

2009-10-30 Thread A.M. Kuchling
On Fri, Oct 30, 2009 at 09:37:36PM +0100, Georg Brandl wrote: > I don't like this. It gives a set object a hidden state, something that > AFAICS no other builtin has. Iterating over an iterable is what iterators > are for. It also makes the object thread-unsafe; there's no way for two threads to

Re: [Python-Dev] PEP 3003 - Python Language Moratorium

2009-11-09 Thread A.M. Kuchling
On Sun, Nov 08, 2009 at 10:27:46PM +0100, Georg Brandl wrote: > Good point, I'll make that change if AMK agrees. It's certainly fine with me. Do we want to only make that change to the 2.7 "What's New", or should we also do it for the 2.6 one? --amk ___

[Python-Dev] FYI: LWN article on 2.x, 3.x, and the moratorium

2009-11-12 Thread A.M. Kuchling
FYI: I've written an article for Linux Weekly News on the moratorium & related issues. The article is subscribers-only for a week, but here's a free link: http://lwn.net/SubscriberLink/361266/ef88bdbed5369800/ If you find this sort of thing useful/interesting, please consider subscribing to LWN.

Re: [Python-Dev] PyPI comments and ratings, *really*?

2009-11-12 Thread A.M. Kuchling
On Thu, Nov 12, 2009 at 11:30:27AM -0800, Guido van Rossum wrote: > etc.). Maybe there should be a standard "social app" that you can just > customize for a specific purpose. Sounds like an interesting project, > actually. For comments, haloscan and disqus are third-party comment-hosting services;

Re: [Python-Dev] PyPI comments and ratings, *really*?

2009-11-12 Thread A.M. Kuchling
On Fri, Nov 13, 2009 at 11:44:42AM +1100, Ben Finney wrote: > There's a problem with the poll's placement: on the front page of the > PyPI website. I've posted a tweet to the ThePSF account about the poll. If the poll runs for a week or two, that would provide time for word of the poll to propaga

Re: [Python-Dev] PyPI comments and ratings, *really*?

2009-11-13 Thread A.M. Kuchling
On Sat, Nov 14, 2009 at 08:43:25AM +1100, Ben Finney wrote: > There's also no option to vote that decisions on how to manage Python > infrastructure (like PyPI) shouldn't be made by popular vote. If the open source approach of 'the maintainer decides' is followed, well, both the maintainer of the

Re: [Python-Dev] Static analysis of CPython using coccinelle/spatch

2009-11-17 Thread A.M. Kuchling
On Mon, Nov 16, 2009 at 03:27:53PM -0500, David Malcolm wrote: > Has anyone else looked at using Coccinelle/spatch[1] on CPython source > code? For an excellent explanation of Coccinelle, see . --amk ___ Python-Dev maili

Re: [Python-Dev] PEP 3146: Merge Unladen Swallow into CPython

2010-01-21 Thread A.M. Kuchling
On Wed, Jan 20, 2010 at 10:54:11PM -0800, Gregory P. Smith wrote: > I think having a run time flag (or environment variable for those who like > that) to disable the use of JIT at python3 execution time would be a good > idea. Another approach could be to compile two binaries, 'python' which is sm

Re: [Python-Dev] Improved Traceback Module

2010-01-28 Thread A.M. Kuchling
cgitb can also produce text tracebacks: >>> import cgitb >>> cgitb.enable(format='text') >>> import urllib >>> f=urllib.urlopen('bogus://foo') Python 2.7a1+: /home/amk/source/p/python/python Thu Jan 28 11:35:04 2010 A problem occurred in a Python script. Here is the sequence of function calls l

Re: [Python-Dev] Tracker reviews workflow and flags

2010-03-19 Thread A.M. Kuchling
On Fri, Mar 19, 2010 at 10:22:05AM -0400, R. David Murray wrote: > > Real world example with issue8151. It is an issue with a trivial patch > > in it. Everything what is needed is to dispatch it to stable `commit > > queue` and port to trunk. It is not 'easy' - it is 'trivial', but I > > have no me

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do triage.

2010-04-26 Thread A.M. Kuchling
On Mon, Apr 26, 2010 at 02:25:33AM -, exar...@twistedmatrix.com wrote: > I think there should be a page on python.org that says all > contributors are welcome, and one way to become a contributor is to > wrangle the issue tracker, and explains what this involves (I don't > really have any idea,

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do?triage.

2010-04-28 Thread A.M. Kuchling
On Wed, Apr 28, 2010 at 10:46:37AM +1000, Steven D'Aprano wrote: > their ability to gain recognition for their merit. It's not enough to > be good at what you do, people have to know it. Ten high-quality > patches for high-profile bugs in a week may get you enhanced > privileges, while thirty hi

Re: [Python-Dev] Anyone can do patch reviews (was: Enhanced tracker privileges...)

2010-04-28 Thread A.M. Kuchling
On Tue, Apr 27, 2010 at 02:40:19PM -, exar...@twistedmatrix.com wrote: > This list would make a good addition to one of the cpython development > pages. If potential contributors could find this information, then > they'd be much more likely to participate by doing reviews. If anyone want

[Python-Dev] What's New text on future maintenance

2010-05-06 Thread A.M. Kuchling
FYI: I've just added the text below to the "What's New" document for 2.7. I wanted to describe how 2.7 will probably be maintained, but didn't want to write anything that sounded like an iron-clad guarantee of a maintenance timespan. Does this text seem like a reasonable set of statements? --amk

Re: [Python-Dev] What's New text on future maintenance

2010-05-07 Thread A.M. Kuchling
On Fri, May 07, 2010 at 09:30:00AM +0200, "Martin v. Löwis" wrote: > I agree with Terry: how did you arrive at the 4 years for 2.x releases? > Bug fixes releases stopped after the next feature release being made, > which gave (counting between initial release and last bug fix release): I used the

Re: [Python-Dev] What's New text on future maintenance

2010-05-07 Thread A.M. Kuchling
On Fri, May 07, 2010 at 07:52:49PM +1000, Nick Coghlan wrote: > 3.x). I'll take a stab at a more accurate rationale: Thanks! I've applied the scalpel and reduced it to: * A policy decision was made to silence warnings only of interest to developers by default. :exc:`DeprecationWarning` and it

Re: [Python-Dev] email package status in 3.X

2010-06-20 Thread A.M. Kuchling
On Sun, Jun 20, 2010 at 10:57:05AM -0700, Guido van Rossum wrote: > Education is needed. When you search Google (or Bing, for that matter > :-) for "python unicode" the first hit is > http://www.amk.ca/python/howto/unicode, which is highly detailed but > probably too much information for the typica

Re: [Python-Dev] Mailbox module - timings and functionality changes

2010-06-29 Thread A.M. Kuchling
On Tue, Jun 29, 2010 at 07:56:22AM -0700, Guido van Rossum wrote: > Since you have such a great reproducible test case, could you point > the profiler at it? (Perhaps on a reduced dataset... The profiler > multiples your run time by some number between 2 and 10 IIRC.) Let me underline Guido's sugg

Re: [Python-Dev] Mailbox module - timings and functionality changes

2010-06-29 Thread A.M. Kuchling
On Tue, Jun 29, 2010 at 11:40:50AM -0400, Steve Holden wrote: > I will leave the profiler output to speak for itself, since I can find > nothing much to say about it except that there's a hell of a lot of > decoding going on inside mailbox.iterkeys(). The problem is actually in _generate_toc(), wh

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-11 Thread A.M. Kuchling
On Sun, Jul 11, 2010 at 05:22:28PM +0300, Tal Einat wrote: > Initially (five years ago!) I tried to overcome these issues by > improving IDLE, solving problems and adding a few key features. > Without going into details, suffice to say that IDLE hasn't improved > much since 2005 despite my efforts.

Re: [Python-Dev] marking os.system() as deprecated in the docs

2010-07-26 Thread A.M. Kuchling
The current text is: The subprocess module provides more powerful facilities for spawning new processes and retrieving their results; using that module is preferable to using this function. See the Replacing Older Functions with the subprocess Module section in the subprocess d

Re: [Python-Dev] Python wiki

2010-09-27 Thread A.M. Kuchling
On Sun, Sep 26, 2010 at 03:53:58PM +0200, Georg Brandl wrote: > * redirect from wiki.python.org to wiki.python.org/moin I've added a element to the top page of wiki.python.org, so browsers will now jump to the /moin/ page immediately. This won't help crawlers that don't parse the HTML, but that

Re: [Python-Dev] User's complaints

2006-07-10 Thread A.M. Kuchling
On Mon, Jul 10, 2006 at 05:13:53PM +0200, Armin Rigo wrote: > didn't draw much applause. It certainly gave me the impression that > many changes in Python are advocated and welcomed by only a small > fraction of users. The benefits of changes are usually clear, but I don't think the costs of chan

Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-13 Thread A.M. Kuchling
On Thu, Jul 13, 2006 at 02:03:22PM -0400, [EMAIL PROTECTED] wrote: > I would like to propose, although I certainly don't have time to implement, > a program by which Python-using projects could contribute buildslaves which > would run their projects' tests with the latest Python trunk. An excellen

Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-14 Thread A.M. Kuchling
On Fri, Jul 14, 2006 at 12:00:07PM +0200, Giovanni Bajo wrote: > unstable or whatnot. There is no official statement of the kind "all > the real development is done in branches, the trunk is always very > stable, feel free to grab it". Thus, we (external developers) assume > that it's better to wai

Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-14 Thread A.M. Kuchling
On Fri, Jul 14, 2006 at 01:37:28PM +0200, Fredrik Lundh wrote: > (add PEP announcements and python-dev summary items to the mix, and you > have a high-quality development blog generated entirely from existing content) > (hmm. maybe this could be put together by a robot? time to start hacking on >

[Python-Dev] Python sprint in Arlington July 29/30

2006-07-24 Thread A.M. Kuchling
The CanDo developers are sprinting for three days starting on this coming Friday, so there's space available for a Python sprint. I'll try to attend at least on Saturday (Sunday may not be possible for me). Does anyone want to come and work on Python stuff? If yes, please add your name to

[Python-Dev] 2.5: uses of sys.exc_type, exc_value

2006-07-26 Thread A.M. Kuchling
http://www.python.org/sf/1525469 reports that SimpleXMLRPCServer.py still uses sys.exc_type and sys.exc_value when handling exceptions. These variables aren't thread-safe and sys.exc_info() is the better way. I have a patch attached to the bug that fixes the problem. Question 1: is this worth fix

[Python-Dev] Release manager: pdb bugfix incompatibility

2006-07-27 Thread A.M. Kuchling
Bug #1526834: if you do 'b f(' in pdb, the debugger crashes. This bug stems from pdb just sticking the string in a regex and compiling it. cre = re.compile(r'def\s+%s\s*[(]' % funcname) A side effect of this is that 'b f()' works to match the function 'f', because the empty parens are legal reg

Re: [Python-Dev] uuid test suite failing

2006-07-27 Thread A.M. Kuchling
On Thu, Jul 27, 2006 at 05:40:57PM +0200, Georg Brandl wrote: > The UUID test suite, which wasn't run by regrtest.py until now, is > now failing on some buildbots (and my machine). This should be fixed > before releasing something. Looking at the failures, there seem to be two problems on Unix var

[Python-Dev] Arlington VA sprint on Sept. 23

2006-08-14 Thread A.M. Kuchling
The CanDo group continues to have sprints in Arlington, so we may as well continue to piggyback on their space. The next one will be Saturday Sept. 23; sign up at . If the PEP 356 plan holds, Python 2.5 will have been released a week and a half before.

Re: [Python-Dev] Arlington VA sprint on Sept. 23

2006-08-14 Thread A.M. Kuchling
On Tue, Aug 15, 2006 at 12:21:34AM +0200, Georg Brandl wrote: > * close RFEs and patches which have no chance of going in (there are many > patches on SF having one or two "-1" comments, is anyone ever going to > check them in without a python-dev discussion?) In the past, someone (I think Ray

Re: [Python-Dev] no remaining issues blocking 2.5 release

2006-08-16 Thread A.M. Kuchling
On Tue, Aug 15, 2006 at 10:44:40PM -0400, Kurt B. Kaiser wrote: > It would be nice if the key IDLE changes could make it to the "What's New > in Python X.X". If Andrew is interested, I could draft something for him. Sure! I can try to look through the IDLE NEWS file, but you'd certainly have a b

Re: [Python-Dev] 2.4 & 2.5 beta 3 crash

2006-08-17 Thread A.M. Kuchling
On Fri, Aug 18, 2006 at 12:26:33AM +0200, Armin Rigo wrote: > Without more inspection, I'd say that this looks like it won't do the > right thing about nested finally's, as in: I guess it'll have to loop back up through the block stack: for (j=i- 1; j>=0; j--) { switch (c->u->u_fblock[j].fb_ty

Re: [Python-Dev] What should the focus for 2.6 be?

2006-08-22 Thread A.M. Kuchling
On Mon, Aug 21, 2006 at 12:24:54PM -0700, Brett Cannon wrote: > As for the docs, they just need a thorough updating. Michael Hudson was working on a new guide to extending/embedding Python. Incorporating that should be a goal for 2.6 (the document may still need to be finished -- I'm not sure w

Re: [Python-Dev] Removing anachronisms from logging module

2006-08-26 Thread A.M. Kuchling
On Fri, Aug 25, 2006 at 10:44:53AM -0700, Guido van Rossum wrote: > any more; neither does Vinay. I propose as a project for someone to > clean it up ... There's a list of simple tasks in the wiki at . --amk ___ P

[Python-Dev] Arlington sprints to occur monthly

2006-09-07 Thread A.M. Kuchling
Jeffrey Elkner has arranged things so that the 1-day Python sprints in Arlington VA will now be happening every month. Future sprints will be on September 23rd, October 21st, November 18th, and December 16th. See http://wiki.python.org/moin/ArlingtonSprint for directions and to sign up. --amk _

[Python-Dev] List of candidate 2.4.4 bugs?

2006-09-27 Thread A.M. Kuchling
Is anyone maintaining a list of candidate bugs to be fixed in 2.4.4? If not, should we start a wiki page for the purpose? --amk ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mai

Re: [Python-Dev] List of candidate 2.4.4 bugs?

2006-09-27 Thread A.M. Kuchling
On Wed, Sep 27, 2006 at 06:56:14PM +0200, "Martin v. Löwis" wrote: > I don't think so. Also, I see little chance that many bugs will be fixed > that aren't already. People should really do constant backporting, > instead of starting backports when a subminor release is made. Agreed. One reason

[Python-Dev] Collecting 2.4.4 fixes

2006-09-28 Thread A.M. Kuchling
I've put some candidate fixes and listed some tasks at . --amk ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/

Re: [Python-Dev] Python Doc problems

2006-09-29 Thread A.M. Kuchling
On Fri, Sep 29, 2006 at 09:49:35AM +0900, [EMAIL PROTECTED] wrote: > What is lost according to him is information about how the elements of > a module work together. The docstrings tend to be narrowly focused on > the particular function or variable, and too often discuss > implementation details.

Re: [Python-Dev] Created branch for PEP 302 phase 2 work (in C)

2006-10-02 Thread A.M. Kuchling
On Mon, Oct 02, 2006 at 11:27:07PM +0100, Paul Moore wrote: > Yes, I'm quite surprised at how much has appeared in pkgutil. The > "what's new" entry is very terse, and the module documentation itself > hasn't been updated to mention the new stuff. These two things are related, of course; I couldn

[Python-Dev] 2.4.4 fixes

2006-10-03 Thread A.M. Kuchling
I've gone through the 'backport candidate' bugs listed on and applied most of them. Some I didn't apply because I don't understand them well enough to determine if they're correct for 2.4: * r47061 (recursionerror fix) * r46602 (tokeniz

Re: [Python-Dev] what's really new in python 2.5 ?

2006-10-03 Thread A.M. Kuchling
On Tue, Oct 03, 2006 at 02:56:54PM +0200, Fredrik Lundh wrote: > just noticed that the first google hit for "what's new in python 2.5": > > http://docs.python.org/dev/whatsnew/whatsnew25.html > > points to a document that's a weird mix between that actual document, and > a placeholder for "wh

Re: [Python-Dev] 2.4.4 fixes

2006-10-03 Thread A.M. Kuchling
On Tue, Oct 03, 2006 at 09:40:51AM -0400, A.M. Kuchling wrote: > The wiki page now lists all the revisions stemming from valgrind and > Klocwork errors. There are a lot of them; more volunteers will be > necessary if they're all to get looked at and possibly backported. I'v

Re: [Python-Dev] what's really new in python 2.5 ?

2006-10-03 Thread A.M. Kuchling
On Tue, Oct 03, 2006 at 10:39:52AM -0400, Fred L. Drake, Jr. wrote: > and little or nothing about the cleanliness of the working area. The mkhowto > script should be cleaning out the old HTML before generating the new. I'm > guessing the deployment simply unpacks the new on top of the old; the

Re: [Python-Dev] what's really new in python 2.5 ?

2006-10-04 Thread A.M. Kuchling
On Tue, Oct 03, 2006 at 09:32:43PM -0700, Neal Norwitz wrote: > Let me know if you see anything screwed up after an hour or so. The > new versions should be up by then. Thanks! That seems to have cleared things up -- the section names are now node2.html, node3.html, ..., which is what I'd expect

[Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?

2006-10-06 Thread A.M. Kuchling
I was looking at the logs for classobject.c and noticed this commit that adds Py_TPFLAGS_HAVE_WEAKREFS to the instance type. Should it be backported to 2.4? (It looks to me like it should, but I don't know anything about weakref implementation and want to get approval from someone who knows.) --

Re: [Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?

2006-10-06 Thread A.M. Kuchling
On Fri, Oct 06, 2006 at 08:48:15AM -0700, Raymond Hettinger wrote: > The change was for clarity -- most things that have the weakref slots > filled-in will also make the flag explicit -- that makes it easier on > the brain when verifying code that checks the weakref flag. OK; I won't backport this

[Python-Dev] Python 2.4.4 docs?

2006-10-24 Thread A.M. Kuchling
Does someone need to unpack the 2.4.4 docs in the right place so that http://www.python.org/doc/2.4.4/ works? --amk ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

[Python-Dev] PyCon: proposals due by Tuesday 10/31

2006-10-29 Thread A.M. Kuchling
Final reminder: if you want to submit a proposal to PyCon, you should do it by end of Tuesday, October 31st. for more info The deadline for tutorials is November 15th: http://us.pycon.org/TX2007/CallForTutorials PyCon is the Python community confere

Re: [Python-Dev] [Python-checkins] r52692 - in python/trunk: Lib/mailbox.py Misc/NEWS

2006-11-09 Thread A.M. Kuchling
On Thu, Nov 09, 2006 at 02:51:15PM +0100, andrew.kuchling wrote: > Author: andrew.kuchling > Date: Thu Nov 9 14:51:14 2006 > New Revision: 52692 > > [Patch #1514544 by David Watson] use fsync() to ensure data is really on disk Should I backport this change to 2.5.1? Con: The patch adds two new

Re: [Python-Dev] [Python-checkins] r52692 - in python/trunk: Lib/mailbox.py Misc/NEWS

2006-11-09 Thread A.M. Kuchling
On Fri, Nov 10, 2006 at 11:56:25AM +1100, Anthony Baxter wrote: > Looking at the patch, the functions are pretty clearly internal > implementation > details. I'm happy for it to go into release25-maint (particularly because > the consequences of the bug are so dire). OK, I'll backport it; thank

[Python-Dev] Arlington sprint this Saturday

2006-11-15 Thread A.M. Kuchling
The monthly Arlington VA sprint is this Saturday, November 18 2006, 9 AM - 6 PM. Please see http://wiki.python.org/moin/ArlingtonSprint for directions. --amk ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Python-Dev] [Python-checkins] r53110 - python/trunk/Lib/mailbox.py

2006-12-21 Thread A.M. Kuchling
On Thu, Dec 21, 2006 at 02:14:55AM -0500, Fred L. Drake, Jr. wrote: > I (only vaguely) recall Guido telling people that that's how it's documented, > and that's what they should use. Don't know if he still feels that way; if > he's recanted the obscure path, we can fix both the calls and the > d

[Python-Dev] PEP 8: mention bare 'except:'

2006-12-22 Thread A.M. Kuchling
http://www.python.org/sf/411881 is a bug about removing use of 'except:' in stdlib code. In many cases the intent is to catch one particular exception such as ImportError or AttributeError, but catching all exceptions can disguise other problems. Should PEP 8 mention this issue? Here's some prop

Re: [Python-Dev] 2.5.1 plans

2007-01-04 Thread A.M. Kuchling
On Thu, Jan 04, 2007 at 10:22:54AM -0800, Mike Klaas wrote: > > [ 1598181 ] subprocess.py: O(N**2) bottleneck > > > >I submitted the trivial fix almost two months ago, but apparently nobody > >feels responsible... Is Peter Astrand still actively maintaining the module? I've been assigning subpr

Re: [Python-Dev] Pydoc Improvements / Rewrite

2007-01-05 Thread A.M. Kuchling
On Fri, Jan 05, 2007 at 06:01:22PM +0800, Laurent Gautier wrote: > Well, if you are ok with having the source tree hosted in a > SVN/CVS/alike I am on > (opening an account on sourceforge or savannah -for example- would be > the next step then, as it can take few days for a project to be > approved

Re: [Python-Dev] Pydoc Improvements / Rewrite

2007-01-05 Thread A.M. Kuchling
On Fri, Jan 05, 2007 at 09:12:28PM +0800, Laurent Gautier wrote: > I suspect that this is aside from the rest of the python source tree. > (or I would anticipate peppered emails if the module is broken during > its early days > -and it will- ). Correct; it can be browsed at

Re: [Python-Dev] 2.5.1 plans

2007-01-05 Thread A.M. Kuchling
On Thu, Jan 04, 2007 at 01:47:13PM -0800, Neal Norwitz wrote: > We have the buildbots to help with this. According to http://www.python.org/dev/buildbot/trunk/ we do not have a single working XP or Cygwin buildbot right now. > Definitely! I only did a really quick review. If you want someone to

[Python-Dev] The bytes type (was Re: Warning for 2.6 and greater)

2007-01-12 Thread A.M. Kuchling
On Fri, Jan 12, 2007 at 10:14:57AM -0500, Barry Warsaw wrote: > I think there will be at least three areas that will make porting a > challenge: ... > - - Unicode/str/bytes incompatibilities Something I've been meaning to bring up... do we know what shape the Unicode/str/bytes resolution will

[Python-Dev] file(file)

2007-01-12 Thread A.M. Kuchling
Forwarded for discussion from http://www.python.org/sf/1633665. --amk [forwarded from http://bugs.debian.org/327060] Many types in Python are idempotent, so that int(1) works as expected, float(2.34)==2.34, ''.join('hello')=='hello' et cetera. Why not file()? Currently, file(open(something, 'r'

Re: [Python-Dev] The bytes type

2007-01-12 Thread A.M. Kuchling
On Fri, Jan 12, 2007 at 09:51:25AM -0800, Guido van Rossum wrote: > I'm afraid that PEP is not up to date; I don't think I used it as a > reference when I coded up the current bytes type in Py3k. Whenever the > PEP matches the implementation, we can be confident that we have the > right design. Whe

  1   2   3   4   >