[issue16838] fail to from locale import getpreferredencoding when there's a dir named locale in current dir

2013-01-02 Thread Eiro Neemous
Eiro Neemous added the comment: @Christian: Sorry that I didnt' attached test file= = It was long ago that I met this problem, so forget some details= = The right description is cannot do 'from locale import getpreferredencoding'. please extract the attached zip file and test from locale import

[issue16838] fail to from locale import getpreferredencoding when there's a dir named locale in current dir

2013-01-02 Thread Christian Heimes
Christian Heimes added the comment: Your locale directory contains a __init__.py file. The file causes the directory to become a Python package, that shadows the locale module from Python's standard library. Please remove the __init__.py file and __pycache__ directory to fix your problem.

[issue16838] fail to from locale import getpreferredencoding when there's a dir named locale in current dir

2013-01-02 Thread Eiro Neemous
Eiro Neemous added the comment: @Christian: OK, get it, thank you for your explanation :-) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16838 ___

[issue16541] tk_setPalette doesn't accept keyword parameters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 956cfe53a99f by Serhiy Storchaka in branch '3.2': Issue #16541: tk_setPalette() now works with keyword arguments. http://hg.python.org/cpython/rev/956cfe53a99f New changeset 1ac028634b60 by Serhiy Storchaka in branch '3.3': Issue #16541:

[issue16541] tk_setPalette doesn't accept keyword parameters

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16541

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But then will be problems with filenames containing . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16829 ___

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-02 Thread Ramchandra Apte
Ramchandra Apte added the comment: I think if IDLE directly starts lpr directly (subprocess) rather than using a shell to run it, then this problem won't happen. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Giovanni Bajo
Giovanni Bajo added the comment: Il giorno 02/gen/2013, alle ore 00:20, Domen Kožar rep...@bugs.python.org ha scritto: Domen Kožar added the comment: According to talk at 29c3: http://events.ccc.de/congress/2012/Fahrplan/events/5152.en.html Quote: We also describe a vulnerability of

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Giovanni Bajo
Giovanni Bajo added the comment: Il giorno 02/gen/2013, alle ore 06:52, Christian Heimes rep...@bugs.python.org ha scritto: Christian Heimes added the comment: Thanks for the information! I'm working on a PEP for the issue at hand. Since you're collecting ideas on this, I would like to

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated for current tip. -- Added file: http://bugs.python.org/file28527/glob_recursive_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968 ___ ___

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28213/glob_recursive.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968 ___

[issue16761] Fix int(base=X)

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16761

[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16630 ___ ___

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Masaya Suzuki
New submission from Masaya Suzuki: Python 2.7.3 crushes when the following code is run without any library, which means run python with -S option: class Test: pass unicode(Test()) In the course of the interpreter tries to find the __unicode__ attribute in a class, it uses a

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Brett Cannon
Brett Cannon added the comment: Why remove the refleak tests? I'm sure Raymond put those in for a reason as I know he tries to reuse various objects a lot and this helped make sure he didn't mess anything up. I don't think the tests need to be backported. --

[issue16694] Add pure Python operator module

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: v8 LGTM (except some trailing whitespaces). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16694 ___ ___

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16839 ___ ___

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2013/1/2 Giovanni Bajo rep...@bugs.python.org: Giovanni Bajo added the comment: Il giorno 02/gen/2013, alle ore 06:52, Christian Heimes rep...@bugs.python.org ha scritto: Christian Heimes added the comment: Thanks for the information! I'm working

[issue16840] Tkinter doesn't support large integers

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: A long time Tcl got support first 64-bit integers, and then arbitrary size integers. Python also supports arbitrary size integers. However Tkinter supports only C long integers. For example, on 32-bit platform: import tkinter t = tkinter.Tk()

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: st_dev field of stat() result was set as signed long or long long, but now it is unsigned long on Windows (see issue11939). The proposed patch uses appropriate conversion for it. -- components: Extension Modules, Windows files:

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thank you for the bug report. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16839 ___

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0012d4f0ca59 by Benjamin Peterson in branch '2.7': ensure the attribute name string is initalized before using it (closes #16839) http://hg.python.org/cpython/rev/0012d4f0ca59 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Meador Inge
Meador Inge added the comment: After applying the fix for issue11824 to tip there ended up being three more issues: 1. makeconfig.py should have been updated in d777f854a66e when changing imp to _imp. Without this change a reference to 'PyInit__imp' was being generated, but that

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Brian Curtin
Brian Curtin added the comment: Looks good. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16841 ___ ___

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jan 02, 2013, at 04:06 PM, Meador Inge wrote: I am a little unsure about (3) since I am not sure why the __file__ attribute is being removed to begin with. eric.smith? This is related to PEP 420, which relaxes the requirement that all modules have a

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 07d07111cec9 by Serhiy Storchaka in branch 'default': Issue #16841: Set st_dev on Windows as unsigned long to match its DWORD type. http://hg.python.org/cpython/rev/07d07111cec9 -- nosy: +python-dev ___

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Eric V. Smith
Eric V. Smith added the comment: What Barry said. :) I haven't had time to check yet: but why does site.py need the __file__ attribute? Maybe that's the actual problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16047

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jan 02, 2013, at 04:29 PM, Eric V. Smith wrote: I haven't had time to check yet: but why does site.py need the __file__ attribute? Maybe that's the actual problem. It uses it to find the license text when you type license() at the interactive prompt. I

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16828 ___ ___ Python-bugs-list mailing

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Brett Cannon
Brett Cannon added the comment: I agree that it makes no sense to define __file__ for frozen modules. Originally they did because that was the only way to tell if a module was a builtin module or not, but with the imp module's API on top of sys.builtin_module_names, there is no need to

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Matthias Klose
Matthias Klose added the comment: looks fine to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16828 ___ ___ Python-bugs-list mailing list

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16841

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15239 ___ ___

[issue16837] Number ABC can be instantiated

2013-01-02 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch fixes the issue and passes regression tests, so most likely the ability to instantiate Number is not an intentional feature. pass should probably be replaced with a meaningful docstring, but I would like to hear from others on whether the

[issue8745] zipimport is a bit slow

2013-01-02 Thread Catalin Iacob
Catalin Iacob added the comment: Yes Serhiy, I was planning to, lack of time followed by (just finished) vacation lead to a stall. Thanks for following up on this. I should soon, probably this weekend, have an updated version addressing your comments. --

[issue15516] exception-handling bug in PyString_Format

2013-01-02 Thread Tom Tromey
Tom Tromey added the comment: It does fail without the patch: test_format XXX undetected error test test_format failed -- Traceback (most recent call last): File /home/tromey/Space/Python/cpython/Lib/test/test_format.py, line 251, in test_format def test_exc(formatstr, args, exception,

[issue16694] Add pure Python operator module

2013-01-02 Thread Zachary Ware
Zachary Ware added the comment: Note to self: learn to run patchcheck.py before posting. Whitespace issues fixed in v9. -- Added file: http://bugs.python.org/file28532/py_operator.v9.diff ___ Python tracker rep...@bugs.python.org

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Why remove the refleak tests? Because regrtest already provides the feature, so I don't see a reason to duplicate it here. FWIW the same code is copy/pasted elsewhere too, e.g. in Lib/test/test_operator.py:438. --

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2013-01-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16701 ___

[issue15516] exception-handling bug in PyString_Format

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80cfd4caa726 by Benjamin Peterson in branch '2.7': call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516) http://hg.python.org/cpython/rev/80cfd4caa726 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue15516] exception-handling bug in PyString_Format

2013-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. For future reference, we use spaces instead of tabs. -- resolution: fixed - stage: committed/rejected - patch review status: closed - open ___ Python tracker rep...@bugs.python.org

[issue15516] exception-handling bug in PyString_Format

2013-01-02 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15516 ___

[issue16737] Different behaviours in script run directly and via runpy.run_module

2013-01-02 Thread Brett Cannon
Brett Cannon added the comment: Just to have this written down somewhere, site.py already goes through and changes __file__ to absolute for modules already imported before it is run, so there is some precedent to not caring about relative file paths. --

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Brett Cannon
Brett Cannon added the comment: The patch LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16748 ___ ___ Python-bugs-list mailing list

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Christian Heimes
Christian Heimes added the comment: Giovanni, why do you think that hashing of unicode strings is slower than byte strings? First of all ASCII only unicode strings are packed and use just one byte per char. CPython's FNV implementation processes one element in each cycle, that is one byte

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Giovanni Bajo
Giovanni Bajo added the comment: Il giorno 02/gen/2013, alle ore 19:51, Christian Heimes rep...@bugs.python.org ha scritto: Christian Heimes added the comment: Giovanni, why do you think that hashing of unicode strings is slower than byte strings? First of all ASCII only unicode

[issue16694] Add pure Python operator module

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next week. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16694 ___ ___

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 008bac4e181c by Ezio Melotti in branch '3.3': #16748: test_heapq now works with unittest test discovery. http://hg.python.org/cpython/rev/008bac4e181c New changeset de6bac0a40cc by Ezio Melotti in branch 'default': #16748: merge with 3.3.

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the review! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As I mentioned above, not only test_heapq uses this idiom, but a lot of other tests. Try to fix hard cases first: test_genericpath and test_functools. -- status: closed - open ___ Python tracker

[issue14621] Hash function is not randomized properly

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See microbenchmark results in issue16427. Really hashing of ASCII/UCS1 strings more than 2x slower than bytes hashing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14621

[issue16801] Preserve original representation for integers / floats in docstrings

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Either repeating the default value in the text with the desired form (and leave it wrong in the signature) or what Georg suggested in msg178519 sound good to me. I don't think anything more than that is necessary to solve this issue. --

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Those section could be moved to an appendix or somewhere near http://docs.python.org/3/tutorial/interactive.html. Note that this page and the one about float issues could be appendices too. -- ___ Python tracker

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Philip Jenvey
Philip Jenvey added the comment: Hey Ezio, you forgot to attach the patch -- nosy: +pjenvey ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16835 ___

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Just a quote of Georg Brandl's msg178519: A simple, minimal-invasive solution would be to allow a signature for documentation purposes as the first line of the docstrings. pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: That would explain why no one was reviewing it :) -- keywords: +patch Added file: http://bugs.python.org/file28533/issue16835.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16835

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2afc0997e440 by Ezio Melotti in branch '3.2': #16747: fix link to file objects in the glossary. http://hg.python.org/cpython/rev/2afc0997e440 New changeset 6e4fc5e2acf8 by Ezio Melotti in branch '3.3': #16747: merge with 3.2.

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16747

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16839 ___ ___ Python-bugs-list mailing list

[issue13810] refer people to Doc/Makefile when not using 'make' to build main documentation

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47df28c52840 by Ezio Melotti in branch 'default': #13810: fix Sphinx URL. http://hg.python.org/devguide/rev/47df28c52840 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue16843] sporadic test_sched failure

2013-01-02 Thread Antoine Pitrou
New submission from Antoine Pitrou: Just got this: [255/372/1] test_sched Warning -- threading._dangling was modified by test_sched test test_sched failed -- Traceback (most recent call last): File /home/antoine/cpython/default/Lib/test/test_sched.py, line 83, in test_cancel_concurrent

[issue16833] http.client delayed ack / Nagle algorithm optimisation performs badly for large messages

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 002bf9857278 by Antoine Pitrou in branch 'default': Issue #16833: In http.client.HTTPConnection, do not concatenate the request headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit.

[issue16833] http.client delayed ack / Nagle algorithm optimisation performs badly for large messages

2013-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch looks good to me, I've committed it. Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16833

[issue16833] http.client delayed ack / Nagle algorithm optimisation performs badly for large messages

2013-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, could you sign a contributor agreement? http://www.python.org/psf/contrib/ Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16833

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16842 ___ ___

[issue16843] sporadic test_sched failure

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a test only issue. There are two ways to fix this test. On first simple way we can just increase the timing and hope for a luck. On second more complicated way we should use custom deterministic time and sleep functions. Here is a first way patch to

[issue16801] Preserve original representation for integers / floats in docstrings

2013-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A subclass with a custom representation, as I suggested above, is even simpler and involves no change to inspect or docstring conventions. I otherwise agree with closing this. -- ___ Python tracker

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06a08144af1b by Nadeem Vawda in branch '2.7': Issue #16828: Fix error incorrectly raised by bz2.compress(''). http://hg.python.org/cpython/rev/06a08144af1b New changeset c4a4863b85b2 by Nadeem Vawda in branch '3.2': Issue #16828: Fix error

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Nadeem Vawda
Nadeem Vawda added the comment: Fixed. Thanks for the bug report and the patches! -- assignee: - nadeem.vawda keywords: +3.3regression -patch resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Alejandro Marco Ramos
New submission from Alejandro Marco Ramos: hi, when use the param 'funcName' in the logging module (version 0.4.9.6 for python 2.6) the module crash. Researching in the code (__init__.py) i see that the code for get the function name is in method '_log' in the class 'Logger'. The function

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide some code to reproduce the issue and/or the traceback you got? Note that 2.6 only receives security fixes, so it won't be fixed there -- but it can be fixed in 2.7/3.2/3.3/3.x if they are affected. -- nosy: +ezio.melotti

[issue16748] Make CPython test package discoverable

2013-01-02 Thread Zachary Ware
Zachary Ware added the comment: Here's a patch that should clear up test_genericpath.py (and other path tests). -- resolution: fixed - title: Ensure test discovery doesn't break for modules testing C and Python implementations - Make CPython test package discoverable Added file:

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread R. David Murray
R. David Murray added the comment: I wonder if this is related to issue 16778. -- nosy: +r.david.murray, vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16844 ___

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Alejandro Marco Ramos
Alejandro Marco Ramos added the comment: is not related to 16778 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16844 ___ ___ Python-bugs-list

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c256764e2b3f by Victor Stinner in branch '3.2': Issue #16455: On FreeBSD and Solaris, if the locale is C, the http://hg.python.org/cpython/rev/c256764e2b3f New changeset 5bb289e4fb35 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16455: On

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2013-01-02 Thread Leo Arias
Leo Arias added the comment: What if we check if the stream has the writeln method? -- Added file: http://bugs.python.org/file28536/fix-16739-texttestresult_writeln-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16739

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I backported the fix to Python 3.2 and 3.3 because I consider it important enough. -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16455

[issue16845] warnings.simplefilter should validate input

2013-01-02 Thread Sebastian Berg
New submission from Sebastian Berg: `warnings.simplefilter` does not validate that the category passed in is actually a class. This means that an invalid category leads to a `TypeError` whenever a warning would otherwise occur due to `issubclass` check failing. It is a very small thing, but

[issue16444] Use support.TESTFN_UNDECODABLE on UNIX

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue

[issue16414] Add support.NONASCII to test non-ASCII characters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16455 ___

[issue16414] Add support.NONASCII to test non-ASCII characters

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16414 ___

[issue16444] Use support.TESTFN_UNDECODABLE on UNIX

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16444 ___

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I assign the issue to you than. Is it ok? Sure. I backported all changesets related to this issue to Python 3.2 and 3.3. So I can finally close this issue. -- assignee: haypo - resolution: - fixed status: open - closed

[issue15596] pickle: Faster serialization of Unicode strings

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: serhiy: I'm not really motivated to finish the work on this issue (especially ... it would probably be good idea to benchmarks non-ASCII strings as well.). Would you like to work on this? -- nosy: +serhiy.storchaka

[issue14094] nt.realpath() should use GetFinalPathNameByHandle() when available

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14094 ___ ___

[issue14393] Incorporate Guide to Magic Methods?

2013-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Much of that article is taken directly from the official docs and adds very little in the way of explanation. I think we need our own write-up with better explanations and examples. -- nosy: +rhettinger ___

[issue13552] Compilation issues of the curses module on OpenIndiana

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: What is the status of this issue? Is curses still broken on Python 3.4? -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13552 ___

[issue12495] Rewrite InterProcessSignalTests

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I don't want to work on signals anymore, and nobody looks to be interested, so I'm closing this issue. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7651] Python3: guess text file charset using the BOM

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: The idea was somehow rejected on the python-dev mailing list. I'm not really motivated to work on this issue since I never see any file starting with a BOM on Linux, and I'm only working on Linux. So I just close this issue. If someone is motivated to work on

[issue9561] distutils: set encoding to utf-8 for input and output files

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9561 ___

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Meador Inge
Meador Inge added the comment: Thanks for the feedback everyone -- that helped. Here is a new patch which addresses issue (3) by not requiring os.__file__ to exist. The patch from issue11824 fixes freeze for 3.2 completely. The patch from issue11824 plus this patch fixes freeze for 3.3 and

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- assignee: - meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16047 ___ ___ Python-bugs-list

[issue10951] gcc 4.6 warnings

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: fix_2warnings.diff: I don't like statement like (void)err; to kill a compiler warning. I prefer GCC __attribute__((unused)) using a macro instead. About the change on unicode_fromascii, the code changed a lot since the patch was written. The patch is outdated

[issue10951] gcc 4.6 warnings

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10951 ___

[issue11242] urllib.request.url_open() doesn't support SSLContext

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: A solution does already exist, and I'm not motivated to work on an helper, so I'm closing this issue. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Meador Inge
Meador Inge added the comment: Serhiy, did you mean to mark this as patch review? I don't see a patch. -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16842 ___

[issue11365] Integrate Buildroot patches (cross-compilation)

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: @doko: You integrated patches related to cross-compilation. Can this issue be closed, or does the Buildroot project still contain useful patches? -- nosy: +doko ___ Python tracker rep...@bugs.python.org

  1   2   >