[issue14673] add sys.implementation

2012-06-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Some remarks: - From the docs, I could not understand the difference between sys.implementation.version and sys.version_info. When can they differ? - _PyNamespace_New should be a public API function. From Python code, SimpleNamespace is public. - I

[issue14591] Value returned by random.random() out of valid range on 64-bit

2012-06-02 Thread Mark Dickinson
Mark Dickinson added the comment: Responding to a comment from Serhiy on Rietveld: > Modules/_randommodule.c:442: mt[0] = 0x8000UL; > mt[0] |= 0x8000UL (according to the comment)? The = 0x8000UL was intentional. The low-order 31 bits of mt[0] don't form part of the state of the M

[issue14963] Use an iterative implementation for contextlib.ExitStack.__exit__

2012-06-02 Thread alon horev
alon horev added the comment: after #14969 has closed, can this be closed? any more action items? -- ___ Python tracker ___ ___ Pytho

[issue14963] Use an iterative implementation for contextlib.ExitStack.__exit__

2012-06-02 Thread Nick Coghlan
Nick Coghlan added the comment: It *was* closed - I inadvertently reopened it with my comment. Fixed :) -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker _

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-06-02 Thread Dmitry Shachnev
Dmitry Shachnev added the comment: Maybe it'll be better to use 'latin-1' charset for latin-1 texts? Something like this: if _charset == 'us-ascii': try: _text.encode(_charset) except UnicodeEncodeError: try: _text.encode('latin-1') except UnicodeEnc

[issue14984] netrc module alows read of non-secured .netrc file

2012-06-02 Thread bruno Piguet
New submission from bruno Piguet : Most FTP clients require that the .netrc file be owned by the user and readable/writable by nobody other than the user (ie. permissions set to 0400 or 0600). The netrc module doesn't do this kind of checking, allowing the use a .netrc file written or modified

[issue14984] netrc module allows read of non-secured .netrc file

2012-06-02 Thread bruno Piguet
Changes by bruno Piguet : -- title: netrc module alows read of non-secured .netrc file -> netrc module allows read of non-secured .netrc file ___ Python tracker ___

[issue14985] os.path.isfile and os.path.isdir inconsistent on OSX Lion

2012-06-02 Thread Adrian Bastholm
New submission from Adrian Bastholm : os.path.isfile doesn't reckognize a .picasa.ini file as a file and os.path.isdir doesn't reckognize a directory as a directory code: def traverse (targetDir): currentDir = targetDir dirs = os.listdir(targetDir) #dirs = [x for x in os.listdir('.'

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Adrian Bastholm
New submission from Adrian Bastholm : print(listentry) fails on folder name with swedish (latin1) characters Error: File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/encodings/mac_roman.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_tab

[issue6721] Locks in python standard library should be sanitized on fork

2012-06-02 Thread Tomaž Šolc
Changes by Tomaž Šolc : -- nosy: -avian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread R. David Murray
R. David Murray added the comment: A mac expert can confirm, but I think that just means that the default mac_roman encoding (which is made the default by the OS, if I understand correctly) can't handle that character. I believe it will work if you use utf-8. And no, I don't know how to do

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Then either the signer or the verifier (or both) are broken per RFC 2046 (unless there has been an update that isn't referenced from the RFC). Section http://tools.ietf.org/html/rfc2046#section-5.1.1 clearly indicates that the ending delimiter ends at the t

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue6721] Locks in python standard library should be sanitized on fork

2012-06-02 Thread Vinay Sajip
Vinay Sajip added the comment: > Use file locks in logging, whenever possible. Logging doesn't just log to files, and moreover, also has locks to serialise access to internal data structures (nothing to do with files). Hence, using file locks in logging is not going to magically solve proble

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Looking at your stackoverflow post, you might be able to fix this by doing an rstrip on the string body before signing it. But then if we add a CRLF between the boundaries, the verifiers might start failing again. What do you think? Probably adding the CR

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
Changes by R. David Murray : -- title: [patch] email.generator should always add newlines after closing boundaries -> email.generator should always add newlines after closing boundaries ___ Python tracker ___

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-06-02 Thread R. David Murray
R. David Murray added the comment: I do plan to add something like that at some point. You could open a new issue for it if you like, and propose a formal patch. -- ___ Python tracker ___

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset facdca62aa68 by Sandro Tosi in branch 'default': Issue #14814: minor spelling fixes http://hg.python.org/cpython/rev/facdca62aa68 New changeset 4b4044292d09 by Sandro Tosi in branch 'default': Issue #14814: use print() function http://hg.python.org

[issue14446] Remove deprecated tkinter functions

2012-06-02 Thread Michael Driscoll
Michael Driscoll added the comment: Here's the doc patch. The local repo I was using yesterday is on a different computer that I don't have access to today. Hopefully applying two patches is okay. If not, I can redo the other patch and add it to this one. -- Added file: http://bugs.py

[issue14957] Improve docs for str.splitlines

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d9b3a58e208 by R David Murray in branch '3.2': #14957: fix doc typo. http://hg.python.org/cpython/rev/4d9b3a58e208 New changeset 3bb35ad5d9da by R David Murray in branch 'default': #14957: fix doc typo. http://hg.python.org/cpython/rev/3bb35ad5d9d

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Hynek Schlawack
Hynek Schlawack added the comment: '\u030a' can’t be latin1 as 0x030a = 778 which is waaay beyond 255. :) That's gonna be utf-8 and indeed that maps to " ̊". My best guess is that your LC_CTYPE is set to Mac Roman. You can check it using "import os;os.environ.get('LC_CTYPE')". Try running py

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-02 Thread Sandro Tosi
Sandro Tosi added the comment: Attached is a draft of the module documentation. I didn't commit yet cause we might want to rework it deeply. Else we can just commit the patch and let the comments coming as additional diffs. -- stage: needs patch -> patch review __

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-02 Thread Sandro Tosi
Sandro Tosi added the comment: and the patch... -- Added file: http://bugs.python.org/file25800/ipaddress_module_doc.diff ___ Python tracker ___

[issue14985] os.path.isfile and os.path.isdir inconsistent on OSX Lion

2012-06-02 Thread Hynek Schlawack
Hynek Schlawack added the comment: I think your problem is a different one: os.listdir() doesn't return full paths and os.path.isfile()/isdir() return False if the supplied path doesn't exist. For example if you have this directory structure: foo/ foo/bar/ foo/bar/baz Calling os.listdir('foo

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-02 Thread Hynek Schlawack
Hynek Schlawack added the comment: As discussed on IRC, please: - add a link to the tutorial - add some typical use cases to the header of the api - change the name of the tutorial from "Howto" to "HOWTO" or a more descriptive title that doesn't contain the word how to at all. -- ___

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-02 Thread Ronan Lamy
Changes by Ronan Lamy : -- nosy: +Ronan.Lamy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread Dmitry Shachnev
Dmitry Shachnev added the comment: > Looking at your stackoverflow post, you might be able to fix this by doing an > rstrip on the string body before signing it. My body doesn't end with \n, so that doesn't help. If you suggest me any (easy) way to fix this on the level of my script, I will b

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Sorry, I wasn't clear. By 'body' I actually meant the multipart part you are signing. I haven't looked at your script really, but I was thinking of something along the lines of make_sig(str(fullmsg.get_payload(0)).rstrip()). But like I said I didn't actua

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Ned Deily
Ned Deily added the comment: mac_roman is an obsolete encoding from Mac OS 9 days; it is seldom seen on modern OS X systems. But it is often the fallback encoding set in ~/.CFUserTextEncoding if the LANG or a LC_* environment variable is not set (see, for example, http://superuser.com/questi

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread Dmitry Shachnev
Dmitry Shachnev added the comment: > By 'body' I actually meant the multipart part you are signing. Yes, I've understood you, and I mean the same :) The signature is created against the not-ending-with-newline string, in any case. -- ___ Python tra

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-06-02 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Ronan! The fix seems fine and I will have a more thorough look at the test later and figure out where it should go (probably only going to worry about testing is_package() directly since that was the semantic disconnect). I will also updat

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-02 Thread Brett Cannon
Brett Cannon added the comment: Basically pkgutil kind of handles importers properly, kind of doesn't. So if a module defined a __loader__ it will use it, but all the rest of its code assumes it uses only the loaders defined in pkgutil. The problem here is that pkgutil.walk_packages() ends up

[issue14926] random.seed docstring needs edit of "*a *is"

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2739145657d by Sandro Tosi in branch '3.2': Issue #14926: fix docstring highlight http://hg.python.org/cpython/rev/e2739145657d New changeset 29148c027986 by Sandro Tosi in branch 'default': Issue #14926: merge with 3.2 http://hg.python.org/cpytho

[issue14926] random.seed docstring needs edit of "*a *is"

2012-06-02 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Christopher! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker ___ __

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Adrian Bastholm
Adrian Bastholm added the comment: The char in question: 'å'. It is a folder with this character in the name. My encoding is UTF-8. Running print("\u030a") gives a blank line U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE General Character Properties In Unicode since: 1.1 Unicode category: Lett

[issue1521950] shlex.split() does not tokenize like the shell

2012-06-02 Thread Vinay Sajip
Vinay Sajip added the comment: I've updated the patch following comments by RDM - it probably could do with a code review (now that I've addressed RDM's comments on the docs). -- ___ Python tracker

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Adrian Bastholm
Adrian Bastholm added the comment: The last post is the CAPITAL Å. The following is the small letter "å" U+00E5 LATIN SMALL LETTER A WITH RING ABOVE General Character Properties In Unicode since: 1.1 Unicode category: Letter, Lowercase Canonical decomposition: U+0061 LATIN SMALL LETTER A + U+03

[issue14955] hmac.secure_compare() is not time-independent for unicode strings

2012-06-02 Thread Jon Oberheide
Jon Oberheide added the comment: Thanks for the feedback, haypo. I've updated the patch to use unicode-internal. As long as the encode() of the expected non-attacker-controlled digest is not dependent on the actual contents of the digest, we should be good. -- Added file: http://bugs.

[issue6721] Locks in python standard library should be sanitized on fork

2012-06-02 Thread Richard Oudkerk
Richard Oudkerk added the comment: Lesha, the problems about "magical" __del__ methods you are worried about actually have nothing to do with threading and locks. Even in a single threaded program using fork, exactly the same issues of potential corruption would be present because the object

[issue14985] os.path.isfile and os.path.isdir inconsistent on OSX Lion

2012-06-02 Thread Adrian Bastholm
Adrian Bastholm added the comment: You're right, my code was shite. Strange though it seemed to work on some files. The following updated version does everything as intended with the help of os.path.join: def traverse (targetDir): currentDir = targetDir dirs = os.listdir(targetDir)

[issue14901] Python Windows FAQ is Very Outdated

2012-06-02 Thread Daniel Swanson
Daniel Swanson added the comment: >>> 1a) Update all Windows references to Windows 7 or Vista/7. We can include >>> XP, but I think Microsoft is dropping support next year. According to wikipedia Windows XP is the second most popular operating system, probably better not to drop it all togeth

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Hmm. So that means the verifiers are not paying attention to the MIME RFC? That's unfortunate. -- ___ Python tracker ___ __

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Ned Deily
Ned Deily added the comment: The character in question is not the problem and the code snippet you provide looks fine. The problem is almost certainly that you are running the code in an execution environment where the LANG environment variable is either not set or is set to an encoding that

[issue14984] netrc module allows read of non-secured .netrc file

2012-06-02 Thread R. David Murray
R. David Murray added the comment: This seems like something we should fix for the default file read. There is a backward compatibility concern, but I think the security aspect overrides that. -- components: +Library (Lib) nosy: +r.david.murray priority: normal -> high type: -> secur

[issue14974] rename packaging.pypi to packaging.index

2012-06-02 Thread Westley Martínez
Westley Martínez added the comment: -1 index is too generic to convey any kind of meaning and can be confused--atleast for me--with list.index. Sometimes it is better for a name to be specific. -- nosy: +anikom15 ___ Python tracker

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Westley Martínez
Westley Martínez added the comment: I think a better technique would be to expand FILENAME_CHARS to include more characters. -- nosy: +anikom15 ___ Python tracker ___ _

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Westley Martínez
Westley Martínez added the comment: Also, shouldn't the space character ' ' be included? -- ___ Python tracker ___ ___ Python-bugs-li

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Westley Martínez
Westley Martínez added the comment: Ahh okay, sorry for the triple post, I have an idea. On UNIX, the function should accept any character except: \0 /, and on Windows should accept any character except: \0 \ / : * ? " < > | On classic Macintosh, : is invalid. However, I do not know what c

[issue1521950] shlex.split() does not tokenize like the shell

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Review, including a code-but-not-algorithm review :), posted. -- ___ Python tracker ___ ___ Pyth

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Roger Serwy
Roger Serwy added the comment: I agree that chr(32) should be included in FILENAME_CHARS. The algorithm for backward searching checks that each character is contained in FILENAME_CHARS. I'm concerned about running time, as expanding FILENAME_CHARS to include all valid Unicode would be a larg

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Roger Serwy
Roger Serwy added the comment: Westley, I was responding to msg162168 and didn't see msg162169 yet. PEP11 mentions MacOS 9 support was removed in 2.4. Is ":" still invalid in OSX? I'll need to think about the approach of using an "INVALID_CHARS" list. It looks like it might be a better way t

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Adrian Bastholm
Adrian Bastholm added the comment: Output in console: Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:25:50) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print(sys.stdout) <_io.TextIOWrapper n

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Adrian Bastholm
Adrian Bastholm added the comment: my code runs fine in a console window, so it's some kind of configuration error. Sorry for wasting your time guys .. It would be nice to know why PyDev is not setting the right environment vars though .. >>> traverse(".") Processing ./.DS_Store Traversing ./

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Francisco Gracia
Francisco Gracia added the comment: Is there any necessity at all for the IDLE to test the validity of the filenames? I mean: the file specification is provided by the underlying operating system, so by definition it has to be taken as valid. Testing for its validity is superfluous and, in

[issue14971] (unittest) loadTestsFromName does not work on method with a decorator

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Here's a patch. -- components: +Library (Lib) -Documentation keywords: +patch Added file: http://bugs.python.org/file25803/unittest_method_name_difference.patch ___ Python tracker

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Hynek Schlawack
Hynek Schlawack added the comment: Glad we could help. I suspected it was running under "special circumstances". -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread Ned Deily
Ned Deily added the comment: I'm neither a PyDev nor an Eclipse user but there should be some way to set environment variables in it. Undoubtedly, Eclipse is launched as an app so a shell is not involved and shell profile files are not processed. However, the "Environment" section of this t

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-06-02 Thread R. David Murray
R. David Murray added the comment: This is causing buildbot failures on some of the buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.x/builds/2529/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/5082/steps/test/logs/s

[issue14959] ttk.Scrollbar in Notebook widget freezes

2012-06-02 Thread Ned Deily
Ned Deily added the comment: One final data point: I was unable to reproduce the failure when using a Python 3.2.3 when linked with a current ActiveState Tcl/Tk 8.4, which uses an older Aqua Carbon Tk. The python.org 32-bit-only Pythons use Tcl/Tk 8.4 like this; see http://www.python.org/dow

[issue1079] decode_header does not follow RFC 2047

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c03fe231877 by R David Murray in branch 'default': #1079: Fix parsing of encoded words. http://hg.python.org/cpython/rev/8c03fe231877 -- nosy: +python-dev ___ Python tracker

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-02 Thread Paul Nasrat
Paul Nasrat added the comment: Ok so it seems I can't just use sys.meta_path in pip to work with ImpImporter due to according to the pydoc: Note that ImpImporter does not currently support being used by placement on sys.meta_path. I guess I can write a custom importer in pip for handling the

[issue1079] decode_header does not follow RFC 2047

2012-06-02 Thread R. David Murray
R. David Murray added the comment: I've applied this to 3.3. Because the preservation of spaces around the ascii parts is a visible behavior change that could cause working programs to break, I don't think I can backport it. I'm going to leave this open until I can consult with Barry to see

[issue14987] inspect missing warnings import

2012-06-02 Thread Paul Nasrat
New submission from Paul Nasrat : Whilst looking for workarounds to http://bugs.python.org/issue14982 I came across this, which is due to inspect using warnings without having importing it. Fix is trivial but can upload a patch Traceback (most recent call last): File "t.py", line 7, in

[issue11954] 3.3 - 'make test' fails

2012-06-02 Thread Stefan Krah
Changes by Stefan Krah : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2401] Solaris: ctypes tests being skipped despite following #1516

2012-06-02 Thread Stefan Krah
Stefan Krah added the comment: This seems really out of date now. Closing. -- status: pending -> closed ___ Python tracker ___ ___ Pyt

[issue14987] inspect missing warnings import

2012-06-02 Thread Ned Deily
Changes by Ned Deily : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14673] add sys.implementation

2012-06-02 Thread Eric Snow
Eric Snow added the comment: > - From the docs, I could not understand the difference between > sys.implementation.version and sys.version_info. When can they differ? I'll make an update. As an example, PyPy is at version 1.8 which implements the Python 2.7 language. In that case sys.versio

[issue14673] add sys.implementation

2012-06-02 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25804/issue14673_full_4.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b267381eea0 by Terry Jan Reedy in branch '2.7': Issue 10365: Add and replace comments; condense defaulted attribute access. http://hg.python.org/cpython/rev/5b267381eea0 New changeset 4f3d4ce8ac9f by Terry Jan Reedy in branch '3.2': Issue 10365: A

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-06-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14987] inspect missing warnings import

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3de5b053d924 by Brett Cannon in branch 'default': Issue #14987: Add a missing import statement http://hg.python.org/cpython/rev/3de5b053d924 -- nosy: +python-dev ___ Python tracker

[issue14987] inspect missing warnings import

2012-06-02 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-06-02 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks. Fixed in changeset eb1d633fe307. I'll watch the bots to see no problems remain. -- status: open -> closed ___ Python tracker ___ __

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-02 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks. It looks like the issue with the latest patch is caused by side effects of calling importlib.import_module(). Working from the patch, I got it to the point where inserting the following four lines somewhere in the code-- try: importlib.i

[issue14424] document PyType_GenericAlloc

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c43be281196 by Eli Bendersky in branch 'default': Issue #14424: Document PyType_GenericAlloc, and fix the documentation of PyType_GenericNew http://hg.python.org/cpython/rev/3c43be281196 -- nosy: +python-dev _

[issue14424] document PyType_GenericAlloc

2012-06-02 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Py

[issue14424] document PyType_GenericAlloc

2012-06-02 Thread Eli Bendersky
Changes by Eli Bendersky : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 477508efe4ab by Terry Jan Reedy in branch '2.7': Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name http://hg.python.org/cpython/rev/477508efe4ab New changeset f927a5c6e4be by Terry Jan Reedy in branch '3.2': Issue 12510: E

[issue14090] Bus error on test_big_buffer() of test_zlib, buildbot AMD64 debian bigmem 3.x

2012-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90f0dd118aa4 by Eli Bendersky in branch 'default': Issue #14090: fix some minor C API problems in default branch (3.3) http://hg.python.org/cpython/rev/90f0dd118aa4 -- nosy: +python-dev ___ Python tracke

[issue14190] Minor C API documentation bugs

2012-06-02 Thread Eli Bendersky
Eli Bendersky added the comment: Fixed what was relevant for default (3.3) in 90f0dd118aa4 (the commit message there has a typo in the issue number). Since 3.3 is going to be out soon, I see no real reason to backport to 3.2 If anyone is willing to create a complete patch for 2.7 that fixes t

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: CallTips.py has a 'main' test at the end. Currently, test TC fails in 3.x but not 2.7. So either the test became invalid or get_argspec was not completely and correctly converted from get_arg_text. This should be fixed. int.append( does not bring up a tip on

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-06-02 Thread Westley Martínez
Westley Martínez added the comment: You're right. The code shouldn't *have* to check if the name is valid. It should just accept that the name is already valid. This would simplify things. Here's the problem: the code needs to find the index of where the string with the filename starts. T

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-02 Thread Chris Jerdonek
Chris Jerdonek added the comment: See also issue 14787 re: walk_packages(), which also affects versions before 3.3. -- nosy: +cjerdonek ___ Python tracker ___ _