[issue15003] make PyNamespace_New() public

2012-06-05 Thread Eric Snow
Eric Snow added the comment: I'll get to a pickle patch as soon as I can. I also need to add a doc addition for PyNamespace_New() to the existing patch. -- ___ Python tracker

[issue15012] test issue

2012-06-05 Thread Brian Curtin
Changes by Brian Curtin : Added file: http://bugs.python.org/file25843/e48c54fa4bfb.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue15012] test issue

2012-06-05 Thread Brian Curtin
Changes by Brian Curtin : -- hgrepos: +134 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue15012] test issue

2012-06-05 Thread Brian Curtin
Changes by Brian Curtin : -- hgrepos: +133 keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue15008] PEP 362 "Signature Objects" reference implementation

2012-06-05 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review stage: -> patch review title: PEP 362 reference implementation for 3.3 -> PEP 362 "Signature Objects" reference implementation ___ Python tracker __

[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Éric Araujo
Éric Araujo added the comment: Yes, it seems quite common to me to have a class called Thing and instances named thing. Unless it makes the code wrap better, using real names like signature instead of for example sig is recommended by PEP 8. -- nosy: +eric.araujo ___

[issue15012] test issue

2012-06-05 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue15012] test issue

2012-06-05 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +patch Added file: http://bugs.python.org/file25842/e48c54fa4bfb.diff ___ Python tracker ___ __

[issue15012] test issue

2012-06-05 Thread Brian Curtin
New submission from Brian Curtin : IGNORE THIS ISSUE This is a test of a newer bitbucket mirror setup by Atlassian. I just want to get a feel for how it works before I post about it on the dev blog. -- hgrepos: 132 messages: 162392 nosy: brian.curtin priority: normal severity: normal s

[issue15011] Change Scripts to bin on Windows

2012-06-05 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch, originally written by Van Lindberg*, which changes Python's layout on Windows to more match all of the other operating systems we support. This patch starts by changing the layout of virtual environments, so the venv module creates an env

[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Yury Selivanov
Yury Selivanov added the comment: Well, 'Signature' class is unlikely to be used very frequently. So I think it's fine. -- ___ Python tracker ___ _

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Roger Serwy
Roger Serwy added the comment: Maureen, can you please start IDLE from a command prompt and report the error message? Launch a command prompt, enter in "cd c:\python32" and then "python -m idlelib.idle". IDLE should appear. Proceed to save something that causes the crash. You should receive

[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Ramchandra Apte
Ramchandra Apte added the comment: Signature and signature are two variable names that differ only in case. To avoid confusion, I recommend one of the names should be changed. -- nosy: +ramchandra.apte ___ Python tracker

[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-06-05 Thread R. David Murray
New submission from R. David Murray : During the execution of the load tests protocol, the loader instance will set its _top_level_dir attribute, and this will persist if the loader is passed on to another load_tests method. If that method does not specify a top_level_dir in a discovery call,

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Maureen Cuomo
Maureen Cuomo added the comment: I was working on a project and by instinct did a save as with a new name. It worked fine. So just to test things. I closed out of all python files, opened idle, opened a new window, tried to save the new window and the swirling circle came and then the message 'p

[issue15007] Unittest CLI does not support test packages very well

2012-06-05 Thread R. David Murray
R. David Murray added the comment: Right, I'm not wanting to run discovery from the command line, I'm wanting to run the tests in the package by package name. In my mind, this is exactly parallel to specifying a module name and having unittest automatically discover the TestCase classes in i

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-05 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread Brett Cannon
Brett Cannon added the comment: You're right about the solution, John. I (or someone else) just needs to code it up. -- ___ Python tracker ___ _

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Maureen Cuomo
Maureen Cuomo added the comment: I have done some experimenting. I can save a file that I created on another computer any place. It seems the only new files cannot be save in my usual folder. I don't save in pyton32 folder. I have another folder to save in. Maybe this will help Maureen On Tue,

[issue14769] Add test to automatically detect missing format units in skipitem()

2012-06-05 Thread Larry Hastings
Larry Hastings added the comment: I guess the answer was "no". Attached is a new diff as you suggest. It isn't really any shorter--in fact it's about 20% longer. Though I freely admit it is more written-in-Python-y. The test currently passes. If you add support for a new format unit (like

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-05 Thread STINNER Victor
STINNER Victor added the comment: Attached patch changes PyRun_SimpleFileExFlags() to keep a reference to the module. -- keywords: +patch Added file: http://bugs.python.org/file25839/pyrun_simple.patch ___ Python tracker

[issue9527] Add aware local time support to datetime module

2012-06-05 Thread Cameron Simpson
Changes by Cameron Simpson : -- nosy: +cameron ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6203] locale documentation doesn't mention that LC_CTYPE is changed at startup

2012-06-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 113cdce4663c by Victor Stinner in branch 'default': Close #6203: Document that Python 3 sets LC_CTYPE at startup to the user's preferred locale encoding http://hg.python.org/cpython/rev/113cdce4663c -- nosy: +python-dev resolution: -> fix

[issue15007] Unittest CLI does not support test packages very well

2012-06-05 Thread Michael Foord
Michael Foord added the comment: Whilst I agree in principle... The trouble is that when you do this: python -m unittest test_pk What you are saying is "run all the tests from the test_pk module". You *aren't* launching discovery. This should work: python -m unittest discover -t .

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-05 Thread Buck Golemon
New submission from Buck Golemon : 1) As long as x is valid, I expect that urlunsplit(urlsplit(x)) == x 2) yelp:///foo is a well-formed (albeit odd) url. It it similar to file:///tmp: it specifies the /foo resource, on the "current" host, using the yelp protocol (defined on mobile devices). >>

[issue14953] Reimplement subset of multiprocessing.sharedctypes using memoryview

2012-06-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Yury Selivanov
New submission from Yury Selivanov : This issue will track implementation of PEP 362 functionality. -- components: Library (Lib) files: pep362.1.patch hgrepos: 131 keywords: patch messages: 162377 nosy: Yury.Selivanov, brett.cannon, larry priority: normal severity: normal status: open ti

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2012-06-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: repr() or str() of ImportError doesn't include the 'name' or 'path' members. It would be useful to have them added to the repr if present. -- nosy: +kristjan.jonsson ___ Python tracker

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, what does not work in Python3? And how can the trace module help you? -- ___ Python tracker ___ __

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +patch Added file: http://bugs.python.org/file25837/issue15006.diff ___ Python tracker ___

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +needs review nosy: +pitrou stage: -> commit review ___ Python tracker ___ ___ Python-

[issue15007] Unittest CLI does not support test packages very well

2012-06-05 Thread R. David Murray
New submission from R. David Murray : Suppose you have a test package: test_pkg __init__.py test_mytest.py If __init__.py is empty and you run python -m unittest test_pk no tests are found. You can get this to work by adding the following boiler plate to __init__.py: def lo

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

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The weird behavior was as if the cursor were moved to the beginning of the line and pressed. I cannot duplicate it. I had elif not isinstance(ob, (types.FunctionType, types.MethodType)): instead elif isinstance(ob.__call__, types.MethodType):

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-l

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa9cfeea07ad by Gregory P. Smith in branch '3.2': Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. http://hg.python.org/cpython/rev/aa9cfeea07ad New changeset 5a4d5e714d08 by Gregory P. Smith in branch 'default': Fixes

[issue14059] Implement multiprocessing.Barrier

2012-06-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: The attached patch uses memoryview instead of ctypes. If the patch for Issue #14953 (reimplementing RawArray/RawValue in terms of memoryview) is applied, then it could be simplified a bit. -- Added file: http://bugs.python.org/file25835/mp_barrier.pa

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: The fix for saving/restoring trace function belong to subprocess module. Python2 only issue will be actual when you have to port Python2 only app where it works ok to the Python3 where it doesn't work even if it executes successfully. --

[issue9527] Add aware local time support to datetime module

2012-06-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Mike Frysinger
Mike Frysinger added the comment: a uint64_t would fix it for x86_64, but break it most 32bit systems as sizeof(unsigned long) == 32bit for them -- ___ Python tracker ___ _

[issue14908] datetime.datetime should have a timestamp() method

2012-06-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky nosy: -Alexander.Belopolsky stage: -> needs patch ___ Python tracker ___ _

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-05 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Guido: Let's make it so. / python-dev -- components: Extension Modules, Library (Lib) messages: 162368 nosy: belopolsky priority: normal severity: normal status: open title: Allow equality comparison between naive and aware datetime objects type

[issue11694] xdrlib raises ConversionError in inconsistent way

2012-06-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: I see one obvious issue with the patch: The ConversionErrors it creates are passed the struct.error or TypeError instance as a parameter. The first argument of these exceptions would be better, i.e. try: ... except struct.error as e: raise ConversionErr

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Would a uint64_t be recommended in this case? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___

[issue15000] _posixsubprocess module broken on x32

2012-06-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever stage: -> patch review title: posixsubprocess module broken on x32 -> _posixsubprocess module broken on x32 versions: +Python 3.3 ___ Python tracker

[issue14907] SSL module cannot handle unicode filenames

2012-06-05 Thread Marc Schlaich
Marc Schlaich added the comment: For example it is broken in the well known requests library: >>> import requests >>> requests.get('x', cert=u'öäü.pem') Traceback (most recent call last): File "", line 1, in ... UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: or

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread John Ehresman
John Ehresman added the comment: On 6/5/12 1:08 PM, Brett Cannon wrote: > > Brett Cannon added the comment: > > Does it work in Python 3.2, John? If it does then it's just an oversight > thanks to the lack of tests in test_imp and it shouldn't be too difficult to > support. > > But do realize

[issue14907] SSL module cannot handle unicode filenames

2012-06-05 Thread Marc Schlaich
Marc Schlaich added the comment: Well, the Unicode HOWTO states: When opening a file for reading or writing, you can usually just provide the Unicode string as the filename, and it will be automatically converted to the right encoding for you This is really an unexpected behavior which could

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sure, just save/restore the trace function around your calls to subprocess. But I fail to see how a Python2-only issue can affect a Python3 port. -- ___ Python tracker _

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-06-05 Thread Roger Serwy
Roger Serwy added the comment: The ScriptBinding extension is enabled for the shell. If the shell is in a modified state, then pressing F5 will bring up the save dialog (or auto-save), and then perform a syntax check. This is what cuublu experienced. Attached is a patch against 3.3a4 to disab

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Is it possible to pause trace and resume after the exec call? Between some missing instructions from subprocess internals and traceability of the Python programs I'd choose the latter. It can be even more actual for people tracing program execution in the

[issue14428] Implementation of the PEP 418

2012-06-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know what you two are arguing about, since the process_time() doc says "Return the value (in fractional seconds) of the sum of the system and user CPU time of the current process". (while I'm not sure what "fractional" seconds are, they are probably s

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-06-05 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional information; it's now clear what's going on. IDLE has two kinds of windows where code can be entered. When you launch IDLE, by default it opens with its shell window. This window is similar to running the Python interpreter in interact

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread Brett Cannon
Brett Cannon added the comment: Does it work in Python 3.2, John? If it does then it's just an oversight thanks to the lack of tests in test_imp and it shouldn't be too difficult to support. But do realize I have deprecated the function. =) -- ___

[issue14966] Fully document subprocess.CalledProcessError

2012-06-05 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread John Ehresman
John Ehresman added the comment: This may be a known problem, but imp.load_module fails when trying to load a C extension. This is with the 3.3a4 release on Windows, though I suspect the problem is cross-platform. -- nosy: +jpe ___ Python tracker

[issue6203] locale documentation doesn't mention that LC_CTYPE is changed at startup

2012-06-05 Thread Ned Deily
Ned Deily added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It's not possible to delay output collection: output starts being collected just after the call os.dup2(cp2write, 1) and before exec(), we need to os.close it. The trace module will already have emitted some lines. Process output by definition goes to

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

2012-06-05 Thread Roger Serwy
Roger Serwy added the comment: Callable instances now return a call tip. Good! I agree with your analysis of the issue raised by Stephen. The get_argspec function will not fail unexpectedly. > but typing list.append( resulting in weird behavior: something flashed and > the typed text moved d

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: OMG. =) Is it possible to fix it somehow? Postpone output collection until the very exec() call? Or provide a different stream for collecting output? -- ___ Python tracker ___

[issue14997] Syntax Error in Python Version Number

2012-06-05 Thread cuulblu
cuulblu added the comment: Ned I entered the commands you gave in the Python (command line). When Idle then opened I put test code in and am still getting the same error message. I deleted the idlerc folder. I am still getting the same error message. To expand on the problem, I get the error

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Python2 has a pure python implementation of subprocess, with separate calls to fork() and exec(); so the output of the subprocess contains the trace of the forked Python interpreter, until the exec() system call. Python3 has a C implementation: _posixsub

[issue14989] http.server option to run CGIHTTPRequestHandler

2012-06-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for sharing your views, Éric. I guess, RDM has +1 too ( since he closed it). Let this be only in 3.3+ then. -- ___ Python tracker ___

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: The behavior repeats with PyPy 1.8.0, and doesn't repeat with Python 3. -- components: +Library (Lib) ___ Python tracker ___ ___

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
New submission from anatoly techtonik : This code dumps a lot of internal source code info when executed with trace as: python -m trace --trace file2.py ---[file2.py] import subprocess def ret(): output = subprocess.check_output(['hg', 'id', '-nib']) print( output ) print( output ) pr

[issue12354] packaging.pypi.simple docs use both client and crawler name, which might be confusing

2012-06-05 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: -petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14950] Make packaging.install API less confusing and more extensible

2012-06-05 Thread Alexis Metaireau
Alexis Metaireau added the comment: Attaching a work in progress file which intend to replace the current install.py file. The implementation isn't finished yet but the overall design is here. It comes with four classes: - Installer which manages the overall installation procedure. It shares

[issue12354] packaging.pypi.simple docs use both client and crawler name, which might be confusing

2012-06-05 Thread Alexis Metaireau
Alexis Metaireau added the comment: > Alexis, you introduced the client/crawler naming after reading some book; > what do you think now? Making the distinction between a crawler and a client is probably not a good idea since it introduces two concepts instead of one simple one. We have index

[issue14974] rename packaging.pypi to packaging.index

2012-06-05 Thread Alexis Metaireau
Alexis Metaireau added the comment: The problem is that PyPI isn't a good name since it's the name of ONE index. Westley, do you have any other idea? Otherwise, I think we should stick to "index", which is a good name for something that's named "index" quite everywhere already. Especially b

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Roger Serwy
Roger Serwy added the comment: Issue12988 only has this problem on 64-bit Win 7. The 32-bit version works correctly. Maureen tried both versions and had the same problem. -- ___ Python tracker ___

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2012-06-05 Thread Moritz Klammler
Moritz Klammler added the comment: I don't know how if this is the perfect solution but it keeps the program from crashing. 1154c1154,1157 < return _sys.stdin --- > if 'b' in self._mode: > return _sys.stdin.buffer > else: >

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-05 Thread Alexander O
Alexander O added the comment: On Jun 2, 2012 7:00 AM, "Alexandre Zani" wrote: > > Alexandre Zani added the comment: > > Here is my patch for it. > > -- > keywords: +patch > Added file: http://bugs.python.org/file25796/easier_element_init.patch > >

[issue6203] locale documentation doesn't mention that LC_CTYPE is changed at startup

2012-06-05 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Unicode title: 3.x locale does not default to C, contrary to the documentation and to 2.x behavior -> locale documentation doesn't mention that LC_CTYPE is changed at startup versions: +Python 3.2 ___ Pyth

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2012-06-05 Thread STINNER Victor
STINNER Victor added the comment: > Either the code is incorrect in 3.1 > or the documentation should be updated. Leaving LC_CTYPE unchanged (use the "C" locale, which is ASCII in most cases) at Python startup would be a major change in Python 3. I don't want to change this. You would see a lot

[issue11022] locale.getpreferredencoding() must not set temporary LC_CTYPE

2012-06-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2587328c7c9c by Victor Stinner in branch 'default': Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore http://hg.python.org/cpython/rev/2587328c7c9c -- nosy: +python-dev resolution: -> fixed stage: patch review -> committe

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-05 Thread Hynek Schlawack
Hynek Schlawack added the comment: So one more issue from me: as indicated, the constructor using packed of IPv6Networks is broken (wrong indent). The question is whether we want to be able to construct using packed at all. Also the strict check doesn't make any sense because the net mask is

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset cca2a1cc9598 by Hynek Schlawack in branch 'default': #14814: ipaddress: refactor dup code, minor janitoring, bump coverage http://hg.python.org/cpython/rev/cca2a1cc9598 -- ___ Python tracker

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

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upon further thought, not a problem. Stephen considered the case: class myint(int): # inherit __init__ def added_func(self): "some new function of an int" In this case, fob = myint.__init__ would not be FunctionType and inspect would not be called. Too

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

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Stephen D'Aprano just asked on Python list how to get signatures of builtins, noting that calling inspect.getargspec on a Python-coded subclass of a builtin class raises an exception. So we need another testcase, verify the behavior, and probably add try-exce

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

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'Python 3 only', I meant that I am not personally planning to backport to 2.7. I do not want to edit the more complicated get_arg_text and consider other issues higher priority. I meant to include a test case for callable instances, but forgot. When I ad

[issue13515] Consistent documentation practices for security concerns and considerations

2012-06-05 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: #12988 was about saving specifically to a Win7 Explorer window sidebar 'library', and the OP report with 3.2.1. This is different from a normal path as you know it. Maureen said she cannot save 'any file' except to desktop and that the behavior changed from 3

[issue14428] Implementation of the PEP 418

2012-06-05 Thread Charles-François Natali
Charles-François Natali added the comment: > I'm closing again this issue. > > @neologix: Please open a new issue if you disagree with me on the definition > of "seconds" for time.process_time(). I won't reopen, but I still disagree with your definition. process_time() returns second, as does