[issue8998] add crypto routines to stdlib

2012-04-04 Thread Matej Cepl
Changes by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue6181] Tkinter.Listbox several minor issues

2012-04-04 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9141] Allow objects to decide if they can be collected by GC

2012-04-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I just noticed that PyTypeObjects have a gc slot already: inquiry tp_is_gc; /* For PyObject_IS_GC */ Now, this is used in only one place in 2.7, for type objects: return type->tp_flags & Py_TPFLAGS_HEAPTYPE; This is thus used to dynamically query if an

[issue14321] Do not run pgen during the build if files are up to date

2012-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e306c1a3c92 by Matthias Klose in branch 'default': Followup for issue #14321, remove references to Parser/pgen.stamp http://hg.python.org/cpython/rev/4e306c1a3c92 -- ___ Python tracker

[issue13903] New shared-keys dictionary implementation

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm not bothered by the regression in "silent_logging", > as it is a micro benchmark with a very short running time. I'm not concerned about the micro-benchmark itself but the fact that it might hint at a wider problem. Also, I don't get your remark about it

[issue14490] abitype.py wrong raise format

2012-04-04 Thread Popa Claudiu
New submission from Popa Claudiu : In Tools/abitype.py an exception is raised using the old format: raise Exception, '%s has no PyVarObject_HEAD_INIT' % name The attached patch fixes this problem. -- components: Demos and Tools files: abitype.patch keywords: patch messages: 157467 nosy

[issue14321] Do not run pgen during the build if files are up to date

2012-04-04 Thread Matthias Klose
Changes by Matthias Klose : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14428] Implementation of the PEP 418

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: Patch version 5, updated to the last version of the PEP: - drop time.highres() - time.monotonic() is always monotonic but it not always available - add a test on time.monotonic() setting the system clock (jump backward wtih a delta of 1 hour) -- Add

[issue14428] Implementation of the PEP 418

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: +#if defined(linux) || defined(__linux) || defined(__linux__) Hum, a better check should be done in configure and/or a macro like MS_WINDOWS should be added. -- ___ Python tracker

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread Popa Claudiu
New submission from Popa Claudiu : Tools/fixcid.py uses <> instead of !=. The attached patched fixes this issue. -- components: Demos and Tools files: fixcid.patch keywords: patch messages: 157470 nosy: Popa.Claudiu priority: normal severity: normal status: open title: fixcid.py is using

[issue14492] pdeps.py has_key

2012-04-04 Thread Popa Claudiu
Changes by Popa Claudiu : -- components: +Demos and Tools versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-lis

[issue14492] pdeps.py has_key

2012-04-04 Thread Popa Claudiu
New submission from Popa Claudiu : Tools/pdeps.py is using has_key for a dictionary. The attached patch fixes this issue. -- files: pdeps.patch keywords: patch messages: 157471 nosy: Popa.Claudiu priority: normal severity: normal status: open title: pdeps.py has_key Added file: http://b

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread Matthias Klose
New submission from Matthias Klose : [forwarded from https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/971311] The webbrowser.py is using gnome-open. This is no longer supported by gnome, instead they use gvfs-open. The attached patch adds support for this and will also use xdg-open if

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70c58903b52e by Matthias Klose in branch 'default': - Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py. http://hg.python.org/cpython/rev/70c58903b52e -- nosy: +python-dev ___ Python tracker

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-04-04 Thread Sven Marnach
New submission from Sven Marnach : As has been pointed out before on python-dev [1], the mandatory version of '__future__.absolute_import' does not match reality. In Python 2.7, absolute imports are not the default. [1]: http://article.gmane.org/gmane.comp.python.devel/125446 The attached pa

[issue14065] Element should support cyclic GC

2012-04-04 Thread Eli Bendersky
Eli Bendersky added the comment: Fix committed - Windows bots now compile successfully. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue11734] Add half-float (16-bit) support to struct module

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Tests passed, looks good. Code is also looks ok. Documentation is out-of-date. Patch cannot be applied to struct.rst from default branch. Compilation generates warning messages on gcc 4.6.1: /home/andrew/projects/py3k/Modules/_struct.c: In function ‘nu_halfflo

[issue13903] New shared-keys dictionary implementation

2012-04-04 Thread Mark Shannon
Mark Shannon added the comment: Antoine Pitrou wrote: > Antoine Pitrou added the comment: > >> I'm not bothered by the regression in "silent_logging", >> as it is a micro benchmark with a very short running time. > > I'm not concerned about the micro-benchmark itself but the fact that it > mi

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
R. David Murray added the comment: If gvfs is preferred, should its if block come second, or perhaps those two should be an if/elif block? -- nosy: +r.david.murray ___ Python tracker _

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread Matthias Klose
Matthias Klose added the comment: I don't think so. the register calls append to the list, don't overwrite it. -- ___ Python tracker ___

[issue14489] repr() function link on the built-in function documentation is incorrect

2012-04-04 Thread R. David Murray
R. David Murray added the comment: This is only a problem in the 2.7 docs. I tried adding a .. py:currentmodule:: builtins directive to the page, hoping that would make all unqualified links local, but it didn't work. I think the fix will require someone with more Sphinx-foo than I have. --

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Do you have an interest in trying your hand at writing a test for this to go into Lib/test/test_tools.py? -- nosy: +r.david.murray stage: -> test needed ___ Python tracker

[issue14492] pdeps.py has_key

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list

[issue13903] New shared-keys dictionary implementation

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Also, I don't get your remark about it running in a short time. Your > > patch AFAICT doesn't need any warm up period to exhibit any > > improvements. > > What I mean is that the runtime is so short, no one would notice any > change, so who cares? None of

[issue14495] Minor typo in tkinter.ttk.Treeview.exists docstring

2012-04-04 Thread Zachary Ware
New submission from Zachary Ware : I found a very very minor typo in the docstring of tkinter.ttk.Treeview.exists: "Returns True if the specified item is present in the *three*" I assume that should be "tree". The attached patch removes the "h". Thanks! --Note: This is the first time I've do

[issue11734] Add half-float (16-bit) support to struct module

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Given than there is no native "half float" in C (AFAIK), does it make sense to have a native variant of half floats? Also: +{'e', sizeof(short), SHORT_ALIGN,nu_halffloat, np_halffloat}, Shouldn't it be 2 rather than sizeof(short)? And why SHO

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Nevermind, it occurred to me that what we really need is a 'test_sundry' style test for the tools. Here's a patch that adds that. I'll apply it after I fix the other bugs it reveals (which include the other two you pointed out as a subset...). --

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
R. David Murray added the comment: OK, sounds fine. Shall we close this as fixed then? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread Popa Claudiu
Popa Claudiu added the comment: Hello. I added a test for fixcid.py regression. -- nosy: +r.david.murray Added file: http://bugs.python.org/file25121/fixcid_test.patch ___ Python tracker __

[issue11734] Add half-float (16-bit) support to struct module

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: I used half-float in GPU programming and from my perspective it was just native. There are no half-float in C, right. But there are half-floats used in NVIDIA libraries for example and I like to think used format is native and platform-depended in general. Co

[issue14490] abitype.py wrong raise format

2012-04-04 Thread Popa Claudiu
Popa Claudiu added the comment: Oh, ok then. That makes the last file added in 14491 irrelevant. -- ___ Python tracker ___ ___ Python

[issue11734] Add half-float (16-bit) support to struct module

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I used half-float in GPU programming and from my perspective it was > just native. There are no half-float in C, right. But there are > half-floats used in NVIDIA libraries for example and I like to think > used format is native and platform-depended in genera

[issue11734] Add half-float (16-bit) support to struct module

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Antoine, agree with you after explanation. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9141] Allow objects to decide if they can be collected by GC

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This might simplify some stuff. Any thoughts? I think you should float it on python-dev. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___

[issue1053687] PyOS_InputHook not called in IDLE subprocess

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closing as wan't fix. -- assignee: kbk -> asvetlov resolution: -> wont fix stage: test needed -> committed/rejected status: open -> closed ___ Python tracker __

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Popa Claudiu
New submission from Popa Claudiu : In the file from the subject, page_name was used instead of tab_name, increasing the chances of a NameError exception. I didn't find any tests for IDLE, so there are no tests attached. -- components: IDLE files: idlelib.patch keywords: patch messages:

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch looks good. Can you describe manual steps to reproduce the issue? -- assignee: -> asvetlov nosy: +asvetlov ___ Python tracker ___ __

[issue14495] Minor typo in tkinter.ttk.Treeview.exists docstring

2012-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45287f2799f5 by Georg Brandl in branch '3.2': Closes #14495: fix typo. http://hg.python.org/cpython/rev/45287f2799f5 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed __

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Popa Claudiu
Popa Claudiu added the comment: Yes. 1. inherit from TabbedPageSet 2. pass tabs keyword to the internal TabSet instance 3. when the GUI started, enter a page with the same name found in tabs list. NameError will be raised at this point. I'm curios if this script is used anywhere, I couldn't

[issue634412] RFC 2112 in email package

2012-04-04 Thread moijes12
moijes12 added the comment: Is this still open for someone to work on? -- nosy: +moijes12 ___ Python tracker ___ ___ Python-bugs-lis

[issue14490] abitype.py wrong raise format

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Hmm. I came across this error yesterday in the tests, when broke utf-16 decoder. The error was introduced in the module atexit. Until it all tests passed successfully, and this branch will not run. A simple search find -name '*.py' -exec egrep '\braise +\w

[issue13903] New shared-keys dictionary implementation

2012-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Antoine] >I also think that, apart from the dict storage changes, > your patch should strive not to change any other tunables. I agree. Please keep the patch focused on the single task, the shared keys. -- __

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : I was very surprised to find in Python source code files that are not compatible with Python3. It turns out that this is not an exception, such files very much (see scanner script in attachment). Surely for many years no one had reached his hands run 2to3

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issues 14490, 14491, and 14492. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file25125/invalid.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Some of these at least are intentional. There are test files (especially in 2to3!) that use python2 syntax, and test files that have specially crated syntax errors in them. Sphinx at one point was using Python2, I'm not sure if it has been upgraded to 3 ye

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
New submission from Matthew Scott : Using Python 3.2.2 and Python 3.3.0a2 (installed via 64-bit installers in official DMGs on python.org), 'distutils.util.get_platform()' returns an incorrect OS version when running on Mac OSX 10.7. Using Python 2.6.7, and Python 2.7.1 (the versions included

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
Matthew Scott added the comment: In the cases of both Python 3.x and 2.x, get_platform() is deriving information about the version of OSX from the 'MACOSX_DEPLOYMENT_TARGET' dictionary returned by distutils.sysconfig.get_config_vars(). Using Python 3.2.2: In [1]: import distutils.sysconfig;d

[issue14455] plistlib unable to read json and binary plist files

2012-04-04 Thread d9pouces
d9pouces added the comment: storchaka > I'm trying to take care of your remarks. So, I'm working on a more object-oriented code, with both write and read functions. I just need to write some test cases. IMHO, we should add a new parameter to the writePlist function, to allow the use of the bin

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
Matthew Scott added the comment: Interestingly, the 2.x series allowed an os.environ override for the MACOSX_DEPLOYMENT_TARGET value, while the 3.x series did away with that, as a result of http://bugs.python.org/issue9516 > for version in 2.6 2.7 3.2 3.3; do MACOSX_DEPLOYMENT_TARGET=10.42 >

[issue634412] RFC 2112 in email package

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Yes, that's why its status is still "open" :) As far as I know no one is actively working on it (email issues are all assigned to me so I can keep track of them, not because I'm actively working on all of them). At this point I haven't made any significant

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Ned Deily
Ned Deily added the comment: For OS X builds, the value returned in get_platform() is not intended to indicate what OS version the Python instance is running on. Rather, it indicates which ABI version was used to build the Python in use so that Distutils can use the same ABI for building C e

[issue9634] Add timeout parameter to Queue.join()

2012-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nick, why don't you submit your "workaround" as a patch to Queue.join()? -- ___ Python tracker ___ _

[issue14499] Extension module builds fail with Xcode 4.3 on OS X 10.7 due to SDK move

2012-04-04 Thread Ned Deily
New submission from Ned Deily : With the release of Xcode 4.3 for OS X 10.7, Apple has moved the location of the OS X SDKs from their long-time path of /Developer to within the new Xcode.app bundle itself. This breaks the building of extension modules with any of Distutils or packaging/Distut

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Ned Deily
Ned Deily added the comment: BTW, Issue14499 is now open to track the Xcode 4.3 SDK problem. -- ___ Python tracker ___ ___ Python-bug

[issue14499] Extension module builds fail with Xcode 4.3 on OS X 10.7 due to SDK move

2012-04-04 Thread Matthew Scott
Changes by Matthew Scott : -- nosy: +Matthew.Scott ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14318] clarify "may not" in time.steady docs

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate because it is now discussed in the PEP 418 and this PEP is going to change the new time functions (time.highres and time.monotonic/steady). -- resolution: -> duplicate status: open -> closed

[issue14500] test_importlib fails in refleak mode

2012-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : $ ./python -m test -R 3:2 test_importlib [1/1] test_importlib beginning 5 repetitions 12345 test test_importlib failed -- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/importlib/test/import_/test_packages.py", line 41, in test

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Ned Deily
Ned Deily added the comment: There was some related work on this in the earlier Demo clean up issue (Issue7962) and the still open "make altnstall" shebang line cleanup (Issue10318). But I'm confused. From the list of files you show in invalid.txt appear to be from a Python 2 source directo

[issue14428] Implementation of the PEP 418

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: Version 6: simplify the code handling GetTickCounter() integer overflow. We don't need a has_last_ticks variable. -- Added file: http://bugs.python.org/file25126/pep418-6.patch ___ Python tracker

[issue14428] Implementation of the PEP 418

2012-04-04 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file25115/pep418-5.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14428] Implementation of the PEP 418

2012-04-04 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file25108/pep418-4.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14386] Expose dict_proxy internal type as types.MappingViewType

2012-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- title: Expose dictproxy as a public type -> Expose dict_proxy internal type as types.MappingViewType ___ Python tracker ___ __

[issue9634] Add timeout parameter to Queue.join()

2012-04-04 Thread Nick Coghlan
Nick Coghlan added the comment: I probably will eventually - I'll be playing catchup a bit on other tasks this month after doing almost no coding for CPython since some time in Feb. -- ___ Python tracker _

[issue14386] Expose dict_proxy internal type as types.MappingViewType

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: mappingproxy-5.patch is ready for a review. msg157036 contains a summary except that types.MappingViewType is now called types.MappingProxyType. -- ___ Python tracker ___

[issue14309] Deprecate time.clock()

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: I misunderstood the time.clock() function. It counts the CPU time while the process is active, whereas a monotonic clock counts elapsed time even during a sleep. time.clock() and time.monotonic() are different clocks for different purposes. I wrote the PEP 4

[issue14309] Deprecate time.clock()

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: > Something can be done to provide portable functions to get > the user and system times. Lib/profile.py tests also various functions to choose the best one in Profile constructor. -- ___ Python tracker

[issue14222] Use time.steady() to implement timeout

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: Other modules that should use a monotonic clock instead of the system time: - timeit: default_timer = time.time (but time.clock is still the best clock on Windows for this mmodule) - subprocess for Popen.communicate() timeoout - sched - socket, ssl: timeou

[issue14222] Use time.steady() to implement timeout

2012-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think *trace* and *timeit* should be changed. -- ___ Python tracker ___ ___ Python-bugs-

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-04-04 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14500] test_importlib fails in refleak mode

2012-04-04 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

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

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Serhiy: I'm not sure what you are talking about. Does it relate to this specific issue (abitype.py)? -- ___ Python tracker ___ _

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62dde5dd475e by R David Murray in branch '3.2': #14490, #14491: add 'sundry'-style import tests for Tools/scripts. http://hg.python.org/cpython/rev/62dde5dd475e New changeset 696cb524322a by R David Murray in branch 'default': Merge #14490, #14491:

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. -- resolution: -> fixed stage: test needed -> committed/rejected ___ Python tracker ___ ___

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Fixed in 62dde5dd475e and 696cb524322a. Thanks for the patch. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14492] pdeps.py has_key

2012-04-04 Thread R. David Murray
R. David Murray added the comment: This one is not a syntax error, so the new 'sundry' tests don't catch it. Want to write a test for this one? -- nosy: +r.david.murray ___ Python tracker ___

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Here's a run of your script against Python3.3 I see nothing on this list that is a problem (after the recent fixes in Tools/scripts). The Doc stuff can be ignored, that's a Python2 based toolchain checked out by the Doc 'make' file. As I said, lib2to3 te

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14428] Implementation of the PEP 418

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue13238] Add shell command helpers to subprocess module

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread Éric Araujo
Éric Araujo added the comment: Great change David. Thanks for the help Popa! -- nosy: +eric.araujo ___ Python tracker ___ ___ Python

[issue14490] abitype.py wrong raise format

2012-04-04 Thread Éric Araujo
Éric Araujo added the comment: Serhiy is talking about the same syntax issue, but in other files, such as Tools/msi. The regex given sprouts a lot of false positives from comments or docstrings; for the msi one, I presume it is not a bug (it’s probably run with Python 2), otherwise Martin wo

[issue14222] Use time.steady() to implement timeout

2012-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Why do you think monotonic time is needed for the Queue module? If time.time() goes backwards for some reason, the only consequence is that the timeouts take longer to cross the timeout boundard. On the other hand, it monotonic is used, then time won't g

[issue14362] No mention of collections.ChainMap in What's New for 3.3

2012-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset deadd0823ab3 by Éric Araujo in branch 'default': A few tweaks to whatsnew/3.3 (fixes #14362) http://hg.python.org/cpython/rev/deadd0823ab3 -- nosy: +python-dev ___ Python tracker

[issue14362] No mention of collections.ChainMap in What's New for 3.3

2012-04-04 Thread Éric Araujo
Éric Araujo added the comment: Done. -- assignee: docs@python -> eric.araujo resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14362] No mention of collections.ChainMap in What's New for 3.3

2012-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9634] Add timeout parameter to Queue.join()

2012-04-04 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1360] Queue.get() can't be interrupted with Ctrl-C unless timed out

2012-04-04 Thread Matt Joiner
Matt Joiner added the comment: Isn't this fixed in Python>=3.2? -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, somehow I have in the source tree were many Python2 files. After `rm -r *` and `hg revert -a ` number of invalid files decreased to a reasonable limit. Sorry for the false alarm. -- ___ Python tracker

[issue14490] abitype.py wrong raise format

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Because of some error in my source tree was a lot of Python2 files, which gave a false result (see issue 14497). After cleaning, old-style raise was only in Mac/BuildScript/build-installer.py and Tools/msi/. -- _

[issue14501] Error initialising BaseManager class with 'authkey' argument of string type.

2012-04-04 Thread Максим Цыпкин
New submission from Максим Цыпкин : The following code: class TestServer(BaseManager):pass Server_1=TestServer(address=("127.0.0.1",5),authkey="passkey") produces following error in python 3.2 : "TypeError: string argument without an encoding" The cause is in BaseManager construct

[issue14492] pdeps.py has_key

2012-04-04 Thread Georg Brandl
Georg Brandl added the comment: Should be "x not in y" BTW to be idiomatic, not "not x in y". -- nosy: +georg.brandl ___ Python tracker ___ _

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Georg Brandl
Georg Brandl added the comment: Yes, Sphinx is still 2.x, although we could switch to a Python 3 version since now all necessary dependencies are ported. -- nosy: +georg.brandl ___ Python tracker