[issue7061] Improve 24.5. turtle doc

2010-11-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Why shouldn't global function doctests be runnable? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7061 ___

[issue10315] smtplib.SMTP_SSL new in 2.6

2010-11-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r86189. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10315

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: It's better as a demo for cmd than as a useful utility for the turtle module. Also, we want people using turtle to learn Python, not to bypass the language altogether. -- assignee: - rhettinger resolution: -

[issue10320] printf %qd is nonstandard

2010-11-05 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth h.b.furus...@usit.uio.no: Modules/_ctypes/callproc.c:PyCArg_repr() uses sprintf(%qd, long long), which is a GNU (and more?) extension. ISO C99 says %lld. Instead, use % PY_FORMAT_LONG_LONG d from pyconfig.h/pyport.h. Kills off #ifdef MS_WIN32 too. If

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-05 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: Antoine Pitrou writes: Hallvard, if you update your py3k working copy, do these warnings disappear? Yes, switching to the svn version shuts them up. -- ___ Python tracker

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-05 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: The attached patch adds support to smtplib.SMTP.sendmail for the 'msg' argument to be, in addition to the currently accepted ASCII-only string, either a bytes string or a Message object. It also adds support for byte strings to

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm closing this issue as invalid, since as Martin pointed out you can't send unicode over the wire. However, see issue 8050 where I've attached a patch that adds support for sending binary data as a by-product of adding support for

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See issue 10321 for a proposal to add Message support to smtplib. -- nosy: -Allison.Vollmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8050

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm closing this issue as invalid, since as Martin pointed out you can't send unicode over the wire. However, see issue 10321 where I've attached a patch that adds support for sending binary data as a by-product of adding support for

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- Removed message: http://bugs.python.org/msg120476 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4403 ___

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10313 ___

[issue10311] Signal handlers must preserve errno

2010-11-05 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: Antoine Pitrou writes: By the way, I'd like to clear out a potential misunderstanding: the function you are patching doesn't call Python signal handlers in itself (those registered using signal.signal()). (...) Good point - I'm

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Rügheimer
New submission from Rügheimer frueg...@pasteur.fr: Words in quoted command line arguments containing whitespace are split into separate entries of the argument vector sys.argv. This implemetation (quote removal + word splitting) removes information required to read string arguments passed via

[issue10311] Signal handlers must preserve errno

2010-11-05 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: Antoine Pitrou writes: I think it is extremely unlikely that mutating errno in a signal handler is unsafe (after all, the library functions called from that handler can mutate errno too: that's the whole point of the patch IIUC).

[issue10323] Final state of underlying sequence in islice

2010-11-05 Thread Shashank
New submission from Shashank shashank.sunny.si...@gmail.com: -- Converting the discussion here http://mail.python.org/pipermail/python-list/2010-November/1259601.html to a bug report (+nosy for everyone that responded, quoting the initial message for context) Are there any promises made with

[issue10323] Final state of underlying sequence in islice

2010-11-05 Thread Shashank
Shashank shashank.sunny.si...@gmail.com added the comment: @Raymond: I don't have a particular use case where I had a problem with this behavior. I came across this problem when looking at this issue http://bugs.python.org/issue6305. An important problem that can happen with this behavior is

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I don't see this behavior on MacOS: $ ./argtest arg1 arg2 this should be a single argument 2.6.1 (r261:67515, Feb 11 2010, 15:47:53) [GCC 4.2.1 (Apple Inc. build 5646)] ['./argtest', 'arg1', 'arg2', 'this should be a single argument'] This

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Is there any reason for the test files to have a shebang line at all? I think those should be removed, which would cut the problem in half. Also, given -m, I'm not sure any of the files in the stdlib should have a shebang line. Is there really

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Rügheimer
Rügheimer frueg...@pasteur.fr added the comment: 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010 i686 i686 i386 GNU/Linux GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu) I wrote test program in C to do the same thing as before and the arguments are treated properly:

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: The python version works for me also on a Fedora box with 3.2 and 2.7. What shell are you using? Did you compile this python yourself, or did it come with your distro? -- ___ Python tracker

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Works fine for me on Gentoo linux. What exactly is 'python' in your path, and what happens if you do /usr/bin/python3 argtest? I'm 99.99% certain this is not a bug in Python, otherwise it would have been reported long before now, since

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Benjamin did some cleanup in this area in at least py3k, so he might have some thoughts, making him nosy. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker rep...@bugs.python.org

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
New submission from Nicolas Kaiser ni...@nikai.net: Hi there! I noticed two expressions that can be simplified like: (a || (!a b)) = (a || b) Best regards, Nicolas Kaiser --- --- a/Modules/binascii.c2010-11-05 13:21:22.075303326 +0100 +++ b/Modules/binascii.c2010-11-05

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
Changes by Nicolas Kaiser ni...@nikai.net: -- keywords: +patch Added file: http://bugs.python.org/file19504/python-binascii.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10324 ___

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Frank Rügheimer
Frank Rügheimer frueg...@pasteur.fr added the comment: You are right, it seems to work when the file is passed directly into python so the quotes are stripped somewhere before python even gets to see them. Thanks -- status: open - closed ___

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- components: -None resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10322 ___

[issue10325] PY_LLONG_MAX co - preprocessor constants or not?

2010-11-05 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth h.b.furus...@usit.uio.no: Include/pyport.h invites potential compile errors with the definitions #define PY_LLONG_MIN LLONG_MIN #define PY_LLONG_MAX LLONG_MAX #define PY_ULLONG_MAX ULLONG_MAX which can fall back to gcc variants or to #else /*

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Removing shebang lines from svn completely and only *adding* them during installation steps as appropriate may be an interesting approach. (I noted that my grep of my local build found only correct references to python3.2 in the built scripts

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: For the record, my list is from an svn checkout of r86191 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318 ___

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: A few more deeper in the py3k source tree: Doc/tools/docutils/_string_template_compat.py Doc/tools/docutils/readers/python/pynodes.py Doc/tools/sphinx/pycode/pgen2/token.py Lib/lib2to3/tests/data/different_encoding.py Adding Georg, since this

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: d...@python - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318 ___ ___

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: In Python 2.7 a change was introduced to TestCase which involves storing a dictionary of method objects on TestCase instances. This makes them unpickleable. unittest2 stores strings (method names) instead of method objects (a fix to

[issue10325] PY_LLONG_MAX co - preprocessor constants or not?

2010-11-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10325 ___ ___

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2010-11-05 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Reopening as a reminder to myself that I have a new PEP I want to write in this area. The idea is essentially a lighter weight alternative to PEP 377 that adds an optional __entered__ method to the context management protocol along the

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-05 Thread Pascal Chambon
New submission from Pascal Chambon chambon.pas...@gmail.com: On freebsd 8, using python 2.6.6, I've run into the bug already widely dealt with in these reports : http://bugs.python.org/issue1380952 http://bugs.python.org/issue1153016 When using socket timeouts (eg. with

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2010-11-05 Thread Alexander Schmolck
New submission from Alexander Schmolck a.schmolck+...@gmail.com: In certain cases a zero-width /Z match that should be replaced isn't. An example might help: re.compile('(?m)(?Ptrailing_ws[ \t]+\r*$)|(?Pno_final_newline(?=[^\n])\Z)').subn(lambda m:next(''+k+'' for k,v in

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-05 Thread Malte Helmert
Malte Helmert helm...@informatik.uni-freiburg.de added the comment: I checked if issue1153016 has reappeared for me (Ubuntu, Python 2.6.6), but it hasn't. Both the urllib and the imaplib examples given there work fine for me. Or at least opening the connections works fine for me, which it

[issue7061] Improve 24.5. turtle doc

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Nov 5, 2010 at 3:34 AM, Georg Brandl rep...@bugs.python.org wrote: .. Why shouldn't global function doctests be runnable? They should - I just couldn't figure out a better hack that would work for both mathods and

[issue9244] multiprocessing.pool: Worker crashes if result can't be encoded

2010-11-05 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Fine w/ committing this Ask. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9244 ___ ___

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: When using socket timeouts (eg. with socket.setdefaulttimeout()), whatever the timeout I use (eg. 10 seconds), I begin having random SSLError: The read operation timed out exceptions in my http calls, via urlopen or 3rd party libraries. Well,

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2010-11-05 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Fine w/ committing this Ask. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7707 ___ ___

[issue8028] self.terminate() from a multiprocessing.Process raises AttributeError exception

2010-11-05 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Fine w/ committing this Ask as-is ask. You are correct in the original intent of the code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8028

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Walter Dörwald
New submission from Walter Dörwald wal...@livinglogic.de: It seems that on Python 3 (i.e. the py3k branch) trace.py can not handle source that includes Unicode characters. Running the test suite with code coverage info via ./python Lib/test/regrtest.py -T -N

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Library (Lib) nosy: +belopolsky stage: - patch review type: - behavior versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10329

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-05 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com added the comment: The exception is raised too early, none of my calls takes more than 1-2 seconds and I've a default timeout set at 10s or more. This occurs rather rarely, one or two times on some hundreds of calls. I'll make a little script to try to

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10329 ___ ___ Python-bugs-list

[issue7061] Improve 24.5. turtle doc

2010-11-05 Thread Gregor Lingl
Gregor Lingl gregorli...@users.sourceforge.net added the comment: What do you mean with similar approach? Keep in mind, that functions derived form turtle methods, call methods for the class variable _pen of class Turtle. A new Turtle-object is bound to _pen, if it is not already present,

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2010-11-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +mrabarnett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10328 ___ ___

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You can ignore those under Doc/tools; they are neither part of the distribution and nor installed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-05 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com added the comment: Humz on second thought you may be right, now I have some trouble reproducing the bugs (wich have been there since the beginning, though), so it may be that the webservice I call seldom takes 10+ seconds to answer (weird anyway). I've

[issue10323] Final state of underlying sequence in islice

2010-11-05 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger components: +Documentation -Interpreter Core priority: normal - low versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-05 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Documentation complete. -- Added file: http://bugs.python.org/file19506/issue5412.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5412 ___

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-05 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file19501/issue5412.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5412 ___

[issue10288] Remove deprecated C character handling macros ISUPPER() etc

2010-11-05 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Thanks for reviewing. If I'm reading things correctly, the ISUPPER et al macros were added in 2.6 and 3.0, and deprecated in 2.7 and 3.1. Tested with a full run of -m test.regrtest -uall here (x86_64 Fedora 13), with both 2-byte and 4-byte

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10317 ___ ___ Python-bugs-list

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318 ___ ___

[issue10288] Remove deprecated C character handling macros ISUPPER() etc

2010-11-05 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I'd 'svnmerge block' them, just in case anyone decides to manually merge (which I doubt will happen, but you never know). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10288

[issue10288] Remove deprecated C character handling macros ISUPPER() etc

2010-11-05 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Committed to py3k in r86210 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10288 ___ ___

[issue10053] Don’t close fd when FileIO.__ini t__ fails

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Recently, the patch to close fd when FileIO#__init__ failed and closefd = True was checked in. Is this mean this issue is invalid? -- ___ Python tracker rep...@bugs.python.org

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: FWIW, I'm working on fixing up the this patch to work against py3k; I'm assuming there's still interest in the AST visitor + specific optimization passes approach. -- ___ Python tracker

[issue10325] PY_LLONG_MAX co - preprocessor constants or not?

2010-11-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the report; I agree that there's a potential issue here, and I also think that all these definitions *should* be preprocessor defines. (Idle question: does C99 require that LONG_MAX and friends are usable in the preprocessor? I

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think issue4 happens because all frames are grid-forgotten in redisp(), sometimes widget becomes empty. I think we can close this issue as invalid. P.S. Try this change in redisp() yy = 0 for xx in

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Robert Lerche
Robert Lerche r...@msbit.com added the comment: Thank you, Hirokazu! I see now -- deleting the rows first causes the scroll bar to shrink. So I take it calling grid with a row/column that is already in the grid replaces the prior mapped widget. [or should I say, domo arigato Yamamoto-san?]

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I don't think trace.diff is proposed for commit. I see it more as a supporting file for diagnosing the problem. I see two problems here: 1. Apparently OP's system opens files with encoding set to 'ascii' by default.

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-05 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Works for me. I think it should be ok to commit. -- assignee: - ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027 ___

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would be +0 on adding errors='replace' or 'backshlashreplace' to the open() call in write_results_file(), but hardcoding encoding=utf-8 is definitely not the right thing to do. Who are the consumers of the trace files? Is there a formal

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson versions: +Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1346238 ___

[issue10282] IMPLEMENTATION token differently delt with in NNTP capability

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've committed the new attribute in r86213. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10282

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Robert, I interpret your response to Hirokazu to mean that his suggestion works. Hence I am following his suggestion. Reopen is I erred. -- resolution: - works for me status: open - closed ___

[issue1926] NNTPS support in nntplib

2010-11-05 Thread Julien ÉLIE
Julien ÉLIE jul...@trigofacile.com added the comment: Hi Steven, I agree with what you suggest for the implementation. Is there a case where a server advertises STARTTLS and one would not use it? Yes, the overhead added by the encryption. It is what people usually mention for the reason

[issue1926] NNTPS support in nntplib

2010-11-05 Thread Julien ÉLIE
Julien ÉLIE jul...@trigofacile.com added the comment: (Note that smtplib can give ideas for an implementation of AUTHINFO SASL with PLAIN, LOGIN and CRAM-MD5 mechanisms.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1926

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Nov 5, 2010 at 1:18 PM, Éric Araujo rep...@bugs.python.org wrote: .. nosy: +eric.araujo Raymond has already rejected and closed this request, so I am not optimistic that anything will happen here. (I also

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- nosy: +gregorlingl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10317 ___

[issue10311] Signal handlers must preserve errno

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, fixed in r86214 (3.x), r86215 (3.1) and r86216 (2.7). Thanks for the patch! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The trace module doesn't work when threading is disabled (./configure --without-threads). The following patch fixes this: diff -r 345827dcf409 Lib/trace.py --- a/Lib/trace.py Fri Nov 05 20:58:28 2010 +0100 +++ b/Lib/trace.py Fri Nov

[issue4391] optparse: use proper gettext plurals forms

2010-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Now that argparse has been included in the standard library to supersede optparse, I’m not sure there is still value in fixing this bug. -- ___ Python tracker rep...@bugs.python.org

[issue1098749] Single-line option to pygettext.py

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1098749 ___ ___ Python-bugs-list

[issue5404] Cross-compiling Python

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5404 ___ ___ Python-bugs-list

[issue1649329] Extract file-finding and language-handling code from gettext.find

2010-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Barry said in http://mail.python.org/pipermail/python-dev/2009-March/087847.html : The class-based API for gettext takes streams, so resource_stream() would work just fine. I think i18n plugins for Python do not necessarily need to use

[issue8409] gettext should honor $LOCPATH environment variable

2010-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Should this be closed as invalid? -- nosy: +eric.araujo, lemburg, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8409 ___

[issue8409] gettext should honor $LOCPATH environment variable

2010-11-05 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I'm not an expert on this, but I think it's still valid. Maybe Martin has an opinion on it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8409

[issue2931] optparse: various problems with unicode and gettext

2010-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It would be nice to test argparse for the same behavior. -- nosy: +bethard, eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2931

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10245 ___ ___

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10245 ___ ___ Python-bugs-list

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2010-11-05 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: It's a bug caused by trying to avoid getting stuck when a zero-width match is found. Basically the fix is to advance one character after a zero-width match, but that doesn't always give the correct result. There are a number of

[issue10180] File objects should not pickleable

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r86220. I won't backport it since it would risk breaking existing code, although relying on this is really a bug in itself. -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue7434] general pprint rewrite

2010-11-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7434 ___ ___ Python-bugs-list

[issue10270] Fix resource warnings in test_threading

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - commit review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10270 ___

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: There is this kind of failures on Barry's new buildbot. It looks like warning messages should be ignored when checking gdb output: == FAIL: test_NULL_ob_type

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Seems to relate to this gdb feature: http://sourceware.org/ml/gdb-patches/2005-05/msg00637.html Barry: is your ~/.gdbinit world writable? I can cook up a patch to ignore such warnings -- ___

[issue10299] Add index with links section for built-in functions

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: +1 from me on a table at the top of the functions page. I am assuming that the markup will induce hotlinks. The main problem I see is the need to hand rewrite when another function is added -- nosy: +terry.reedy

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Alternatively, it looks like having it owned by another user would do this. For curiosity's sake, what's the output of: ls -al /home/barry/.gdbinit on that buildbot? Given that it's a security warning, should this simply be treated as

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: David, it would be great if an optional AST optimization pass could do something that we don't already have (perhaps, loop invariant code motion when python is called with -OO or somesuch). The AST tree makes it possible

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: It is a misconfiguration. I started my new buildbot with my environment active. I've since killed that and restarted it with a clean ~buildbot environment. So we shouldn't see this in my buildbots any more. (FWIW, ~/.gdbinit is 644)

[issue10300] Documentation of three PyDict_* functions

2010-11-05 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is fixed now. 2010/11/4 Hagen Fürstenau rep...@bugs.python.org: Hagen Fürstenau ha...@zhuliguan.net added the comment: The ReST links in http://docs.python.org/py3k/c-api/dict.html#PyDict_Items seem to be broken. --

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: New patch that takes a middle ground on the API: sendmail accepts string and bytes, and a new method send_message accepts a Message object with a more convenient signature. I think send_message does belong in smtplib since it would be

[issue10303] small inconsistency in tutorial

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: The sentence should be deleted. Print is *not* used in any of the previous examples. This is the first mention of print() in the chapter and is nonsensical in context. -- keywords: +easy nosy: +terry.reedy stage: - needs patch

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-05 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I agree with Eric's comment about why have shebang lines at all for files in the standard library. There isn't any use case or recommendation for ever putting /path/to/lib/pythonx.x or its subdirectories directly on a shell search path is there? WRT

[issue10332] Multiprocessing maxtasksperchild results in hang

2010-11-05 Thread James Hutchison
New submission from James Hutchison jamesghutchi...@gmail.com: v.3.2a3 If the maxtasksperchild argument is used, the program will just hang after whatever that value is rather than working as expected. Tested in Windows XP 32-bit test code: import multiprocessing def f(x): return 0;

[issue10332] Multiprocessing maxtasksperchild results in hang

2010-11-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +asksol, jnoller type: - behavior versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10332 ___

  1   2   >