[issue10334] Add new reST directive for links to source code

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: A directive can take options, for example to control highlighting, display of line numbers, etc. Similar existing constructs like literalinclude are directives. Inline reST things are called roles :) -- nosy: +eric.araujo _

[issue10334] Add new reST directive for links to source code

2010-11-05 Thread Alex
Alex added the comment: Seems to me it should be an inline directive (or whatever they're called). i.e. it'd be written:: .. seealso:: Latest version of the :sourcecode:`ast module Python source code `. -- nosy: +alex ___ Python tracker

[issue9709] test_distutils warning: initfunc exported twice on Windows

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: I can review a patch for this bug but not write it, lacking knowledge in C. -- ___ Python tracker ___ _

[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Giampaolo, can you test Amaury’s patch? I’d prefer some testing before committing. -- ___ Python tracker ___

[issue10334] Add new reST directive for links to source code

2010-11-05 Thread Raymond Hettinger
New submission from Raymond Hettinger : In a few cases where the pure python source code is a helpful adjunct to the documentation, I've added some links using the "seealso" directive: .. seealso:: Latest version of the `ast module Python source code

[issue3902] Packages containing only extension modules have to contain __init__.py

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Reclassifying as request for doc enhancement. I’ll check the distutils2 doc and add a line about this problem if I find the text is not clear enough. Someone finding this report thanks to the “easy” keyword can feel free to propose a patch. -- componen

[issue9508] python3.2 reversal of distutils reintrocud macos9 support

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Fixed in r86248, thanks. BTW, my commit removes a bit more than yours originally did. In 2.7, the unused distutils.sysconfig._init_mac function is still left over. I don’t know if killing dead code is acceptable in a stable version. Benjamin? -- assi

[issue6269] threading documentation makes no mention of the GIL

2010-11-05 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10205] Can't have two tags with the same QName

2010-11-05 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7908] remove leftover macos9 support code

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: FTR, see also #9508. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10228] Refleak run of test_dbm fails when several dbm modules are available

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: A quick look makes me think the bug is in the test, not the code. -- nosy: +eric.araujo, giampaolo.rodola, michael.foord ___ Python tracker ___ __

[issue10273] Clean-up Unittest API

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9281] Race condition with mkdir/makedirs in distutils2

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Fixed in r86244 (py3k), r86245 (3.1), r86246 (2.7), thanks! For distutils2, I’d like to commit a comprehensive fix. Do you want to expand your patch to cover all instances of mkdir/makedirs? -- components: -Distutils status: pending -> open title: Race

[issue10229] Refleak run of test_gettext fails

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Added NEWS entry in r86241. Fix (including NEWS entry) backported to 3.1 in r862442 and 2.7 in r86243. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10229] Refleak run of test_gettext fails

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Fixed in r86239. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch, issue10329.diff fixes the issue by setting the encoding of the coverage file to that of the source file. I am not 100% happy with this patch for the following reasons: 1. It opens the source file one more time. This is probably accepta

[issue10252] Fix resource warnings in distutils

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: [Pp]open objects closed in r86234. All fixes ported to 3.1 in r86237, 2.7 in r86238. Cheers! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1

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

2010-11-05 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Code - The __name__-aversion in the mapping interface is a little heavy-handed, but given the implementation of __name__ elsewhere, I think this can be revisited separately if anyone cares enough. In particular, it should be allowed to give an _

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch which makes TestCase pickle-able for Python 3.2, includes unit test -- Added file: http://bugs.python.org/file19516/python3k.pickle.patch ___ Python tracker _

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Patch which makes TestCase pickle-able for Python 2.7, includes unit test -- keywords: +patch nosy: +MarkRoddy Added file: http://bugs.python.org/file19515/python27.pickle.patch ___ Python tracker

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Nov 5, 2010 at 2:43 PM, Antoine Pitrou wrote: .. > Who are the consumers of the trace files? Is there a formal specification > or is Python the primary consumer? The trace files contain annotated python source code. There is no formal specificat

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_binascii.py -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have said that IDLE puts >>> on a new line. -- ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-05 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20101106.zip is a new version of the regex module. Fix for issue 10328, which regex also shared. -- Added file: http://bugs.python.org/file19514/issue2636-20101106.zip ___ Python tracker

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r86229, merged in r86231 (3.1) and r86233 (2.7). -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10252] Fix resource warnings in distutils

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: (Not closing yet: Some calls of os.popen and subprocess.Popen are still to be fixed, and then there’s the backport.) -- ___ Python tracker ___ __

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I'll commit tonight. BTW, on a without-threads build: >>> import dummy_threading >>> dummy_threading.settrace >>> dummy_threading.settrace.__module__ 'threading' In other words, dummy_threading.settrace is always the same as threading.settrace. Since

[issue10252] Fix resource warnings in distutils

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Fixed in the py3k branch in r86223, r86224 and r86226. Thanks for the report and starting patch. Eric: This compatibility policy was instated because a newer version of distutils may be used/is often used to install distributions for older Pythons. In the 2.x

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Alex
Alex added the comment: ISTM that you don't need to worry about mutating locals, the locals() function is explicitly documented as not necessarily affecting local variables (not sure if frame objects have the same documentation). If you want a free optimization opportunity: BINARY_SUBSCR with

[issue8033] sqlite: broken long integer handling for arguments to user-defined functions

2010-11-05 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Nicolas Kaiser
Nicolas Kaiser added the comment: That's ./Lib/test/test_unittest.py? With patched builds of Python 2.6.5 and 3.1.2: -- Ran 126 tests in 0.015s OK -- Ran 18

[issue10302] Add class-functions to hash many small objects with hashlib

2010-11-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: This is an application specific optimization that I'd like to see as its own library or a feature added to NSS or OpenSSL. Regardless if you want this for python, write an extension module and put it on pypy before aiming for the stdlib. I understand the o

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Dave Malcolm
Dave Malcolm added the comment: Another optimization idea: detect local dictionaries that are only ever used in non-mutating ways, and convert them to constants, rather than rebuilding the dict from scratch each time. See e.g. htmlparser.py:adjustSVGAttributes etc within the bm_html5lib bench

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Dave Malcolm
Dave Malcolm added the comment: I've been working on this against the py3k branch. I'm attaching what I've got so far. I foolishly didn't check the tlee-ast-optimize branch, instead using file6850 as a base. Rune Holm/titanstar, I assume you've signed a PSF contributor agreement? Changes s

[issue10252] Fix resource warnings in distutils

2010-11-05 Thread Eric Smith
Eric Smith added the comment: Is it really true that 3.x's distutils is source compatible with 2.3? For 3.x I'd like to see the with statement used. -- nosy: +eric.smith ___ Python tracker ___

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > dummy_threading feels a bit like black magic to me. What do you think > about something like issue10330.diff attached. It's fine for me. -- ___ Python tracker

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: dummy_threading feels a bit like black magic to me. What do you think about something like issue10330.diff attached. -- keywords: +patch Added file: http://bugs.python.org/file19512/issue10330.diff ___ Python

[issue10197] subprocess.getoutput fails on win32

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: () is used to launch a command in a sub-shell and {} is used to group commands, for example to set up a stream redirection for all commands in brackets. -- nosy: +eric.araujo ___ Python tracker

[issue10333] Remove ancient backwards compatibility GC API

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me. I suppose everything builds fine? -- components: +Extension Modules, Interpreter Core nosy: +pitrou stage: -> commit review versions: +Python 3.2 ___ Python tracker

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I wish I could test this patch but on OSX I get $ ./configure --without-threads $ make Traceback (most recent call last): File "/Users/sasha/Work/python-svn/py3k/Lib/site.py", line 519, in main() File "/Users/sasha/Work/python-svn/py3k/Lib/site.p

[issue8033] sqlite: broken long integer handling for arguments to user-defined functions

2010-11-05 Thread Philippe Devalkeneer
Philippe Devalkeneer added the comment: Hello, Here is a patch to fix it :) ( and don't blame me too much if something is not correct, it's the first patch I submit :) ) Philippe -- keywords: +patch nosy: +flupke Added file: http://bugs.python.org/file19511/broken_long_int_sqlite_fu

[issue10333] Remove ancient backwards compatibility GC API

2010-11-05 Thread Neil Schemenauer
New submission from Neil Schemenauer : I think it should be safe to remove some backwards compatibility cruft. This was introduced during the 2.3 development cycle. -- files: gc_cruft.txt messages: 120554 nosy: nascheme priority: low severity: normal status: open title: Remove ancient

[issue10241] gc fixes for module m_copy attribute

2010-11-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: The attached patch seems better. The copies of module dicts stored in the interpreter state are dereferenced when the interpreter shuts down. -- Added file: http://bugs.python.org/file19509/module_m_copy2.txt ___

[issue10304] error in tutorial triple-string example

2010-11-05 Thread R. David Murray
R. David Murray added the comment: I think the commit hook might object to the trailing blank (I'm not sure it applies to rst files, but I think it does). -- nosy: +r.david.murray ___ Python tracker _

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

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: As near as I can tell, since && and || are logical rather than bitwise, and since the variable reference 'quotetabs' has no side effect, you are correct. Have you run the unittest on a patched build? -- nosy: +terry.reedy stage: -> commit review type

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Malte Helmert
Malte Helmert added the comment: > 1. Rather than add a blank line to the output, the input should have > the newline suppressed with \ (which has been done in previous > examples). > print("""\ I think that would be didactically bad after just mentioning that newlines in triple-quoted strings

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

2010-11-05 Thread R. David Murray
R. David Murray added the comment: One more patch update. This one includes the versionadded/version changed and a minimal What's New entry. -- Added file: http://bugs.python.org/file19508/sendmail_message_3.patch ___ Python tracker

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. Rather than add a blank line to the output, the input should have the newline suppressed with \ (which has been done in previous examples). print("""\ 2. It is rather difficult to see that there is no blank at the end (highlight with mouse). I can imagin

[issue10332] Multiprocessing maxtasksperchild results in hang

2010-11-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +asksol, jnoller type: -> behavior versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___

[issue10332] Multiprocessing maxtasksperchild results in hang

2010-11-05 Thread James Hutchison
New submission from James Hutchison : 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; if __name__ == '__main__':

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Ned Deily
Ned Deily 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 the three fi

[issue10303] small inconsistency in tutorial

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy 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 versions: +Python 2.7,

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

2010-11-05 Thread R. David Murray
R. David Murray 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 awkward and unintuitiv

[issue10300] Documentation of three PyDict_* functions

2010-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is fixed now. 2010/11/4 Hagen Fürstenau : > > Hagen Fürstenau added the comment: > > The ReST links in http://docs.python.org/py3k/c-api/dict.html#PyDict_Items > seem to be broken. > > -- > > ___ > Python tr

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Barry A. Warsaw
Barry A. Warsaw 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) -- _

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Raymond Hettinger
Raymond Hettinger 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 for the first time to provide some

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Dave Malcolm
Dave Malcolm 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 misconfiguration, and be

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

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy 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 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 -- ___ Python tracker

[issue10331] test_gdb failure when warnings printed out

2010-11-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 (test.test_gdb.PrettyPrintTests

[issue10270] Fix resource warnings in test_threading

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7434] general pprint rewrite

2010-11-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10180] File objects should not pickleable

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou 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

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

2010-11-05 Thread Matthew Barnett
Matthew Barnett 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 related issues like issue #164

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue2931] optparse: various problems with unicode and gettext

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: It would be nice to test argparse for the same behavior. -- nosy: +bethard, eric.araujo ___ Python tracker ___

[issue8409] gettext should honor $LOCPATH environment variable

2010-11-05 Thread Barry A. Warsaw
Barry A. Warsaw 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 ___ ___

[issue8409] gettext should honor $LOCPATH environment variable

2010-11-05 Thread Éric Araujo
Éric Araujo added the comment: Should this be closed as invalid? -- nosy: +eric.araujo, lemburg, loewis ___ Python tracker ___ ___ Pyt

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

2010-11-05 Thread Éric Araujo
Éric Araujo 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 the classic gettext

[issue5404] Cross-compiling Python

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1098749] Single-line option to pygettext.py

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue4391] optparse: use proper gettext plurals forms

2010-11-05 Thread Éric Araujo
Éric Araujo 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 ___

[issue10330] trace module doesn't work without threads

2010-11-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 05 21:20:09 2

[issue10311] Signal handlers must preserve errno

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou 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

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +gregorlingl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Nov 5, 2010 at 1:18 PM, Éric Araujo wrote: .. > nosy: +eric.araujo Raymond has already rejected and closed this request, so I am not optimistic that anything will happen here. (I also understand that he feels rather strongly about this because h

[issue1926] NNTPS support in nntplib

2010-11-05 Thread Julien ÉLIE
Julien ÉLIE added the comment: (Note that smtplib can give ideas for an implementation of AUTHINFO SASL with PLAIN, LOGIN and CRAM-MD5 mechanisms.) -- ___ Python tracker ___ ___

[issue1926] NNTPS support in nntplib

2010-11-05 Thread Julien ÉLIE
Julien ÉLIE 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 not to use it. Howeve

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy 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 ___ Python tracker

[issue10282] IMPLEMENTATION token differently delt with in NNTP capability

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the new attribute in r86213. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-lis

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Antoine Pitrou
Antoine Pitrou 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 specificatio

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

2010-11-05 Thread Brian Curtin
Brian Curtin added the comment: Works for me. I think it should be ok to commit. -- assignee: -> ocean-city ___ Python tracker ___ _

[issue10329] trace.py and unicode in Python 3

2010-11-05 Thread Alexander Belopolsky
Alexander Belopolsky 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. This is not the case on any of the

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Robert Lerche
Robert Lerche 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"?] --

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 self.frms[start:self.maxdisp+start]:

[issue10325] PY_LLONG_MAX & co - preprocessor constants or not?

2010-11-05 Thread Mark Dickinson
Mark Dickinson 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 see it in e.g. 7.1

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Dave Malcolm
Dave Malcolm 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

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

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 ___

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

2010-11-05 Thread Dave Malcolm
Dave Malcolm added the comment: Committed to py3k in r86210 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-11-05 Thread Eric Smith
Eric Smith 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 __

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10317] Add TurtleShell to turtle

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2010-11-05 Thread Dave Malcolm
Dave Malcolm 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 unicode; no failur

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

2010-11-05 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file19501/issue5412.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

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

[issue10323] Final state of underlying sequence in islice

2010-11-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger components: +Documentation -Interpreter Core priority: normal -> low versions: -Python 2.7, Python 3.1 ___ Python tracker

  1   2   >