[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2014-05-23 Thread Ned Deily
Ned Deily added the comment: (See also Issue18604 which has refactored this area.) -- keywords: -easy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2014-05-23 Thread Jessica McKellar
Changes by Jessica McKellar : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue16428] turtle with compound shape doesn't get clicks

2014-05-23 Thread Jessica McKellar
Changes by Jessica McKellar : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
theme added the comment: This is a (non-comprehensive) list of issues that describe or imply that OverflowError on integers is normal. - http://bugs.python.org/issue7267 "Attached patch works around the inital issue (u'{0:c}'.format(256)) by raising OverflowError on int.__format__('c') if the

[issue21522] Add more tkinter tests

2014-05-23 Thread Ned Deily
Ned Deily added the comment: Yes, that fixes 8.4, thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ P

[issue18604] Consolidate gui available checks in test.support

2014-05-23 Thread Ned Deily
Ned Deily added the comment: Earlier I noted: "Somewhat surprisingly, the segfault doesn't seem to happen under the same conditions with 2.7". I'm not sure now how I came to that conclusion then but it is incorrect: the segfault definitely also occurs under the same conditions with 2.7, at le

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35302/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff ___ Python tracker ___ ___

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35335/run-runall.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Posting a cumulative patch of all htest written so far. They include IOBinding, Tooltips, MultiStatusbar, tabbedpages, objectbrowser, scrolledlist, dynOptionWidget, treewidget, widgetredirector, colordelegator, calltip and multicall, besides aboutDialog, Cla

[issue18604] Consolidate gui available checks in test.support

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset fef11a65a5e5 by Ned Deily in branch '2.7': Issue #18604: Skip the Tk instantiation test on OS X because it can http://hg.python.org/cpython/rev/fef11a65a5e5 -- ___ Python tracker

[issue13355] random.triangular error when low = high=mode

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: So now triangular(10, 10, 20) will always return 10? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue21568] Win32 pip doesn't use relative path to found site-packages.

2014-05-23 Thread 勇刚 罗
New submission from 勇刚 罗: I want to directly copy python as a portable version. But the pip always point to the place where it installed, So I am asking pip use relative to found site-packages under win32. -- messages: 219018 nosy: 勇刚.罗 priority: normal severity: normal status: open titl

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-05-23 Thread Berker Peksag
Berker Peksag added the comment: +@property +def is_global(self): +return (not self in IPv4Network('100.64.0.0/10') and Can IPv4Network('100.64.0.0/10') moved to the _IPv4Constants class (e.g. _IPv4Constants._global_network = IPv4Network('100.64.0.0/10')) after http://hg.python

[issue7094] Add alternate float formatting styles to new-style formatting.

2014-05-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > So I'm unsure if anyone is actually using alternate formatting. That makes sense. Any further effort should wait until there is known demand. Otherwise, we risk growing the API with codes that aren't used. -- resolution: -> later versions: +Pyt

[issue17172] Add turtledemo to IDLE menu

2014-05-23 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue13355] random.triangular error when low = high=mode

2014-05-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Attaching patch -- Added file: http://bugs.python.org/file35333/fix_triangular.diff ___ Python tracker ___ __

[issue21558] Fix a typo in the contextlib docs

2014-05-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Berker, feel free to assign all these micro-doc fixes to me. Also, if you want to combine a number of clear-cut, non-controversial fixes into just one patch and tracker item, that might save us both some time. -- assignee: docs@python -> rhettinge

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2014-05-23 Thread Lita Cho
Lita Cho added the comment: I was looking at this more, and from my understanding, the turtle code is continuing to run even when the TK window is destroyed. Thus the crash. It looks like the drawing functions are being made on the fly with the following method: for methodname in _tg_turtle_f

[issue3015] tkinter with wantobjects=False has been broken for some time

2014-05-23 Thread Lita Cho
Lita Cho added the comment: I am in the process of reviewing this patch, but I don't know what "wantobjects" does. I can make a guess, I think it is a hack to make tcl objects work in Python. I am guessing this is less needed in Python 3.4, but still has some dependencies. If we can add in t

[issue14019] Unify tests for str.format and string.Formatter

2014-05-23 Thread Francisco Freire
Francisco Freire added the comment: Hi, I signed the contributor agreement. Thank you for your review comments. I did these tests about one year ago and right now I don't have much time to look at it again. I hope to do so in the next months. -- status: pending -> open ___

[issue21567] cannot create multipart alternative message with us-ascii charset

2014-05-23 Thread Viktor Szépe
Viktor Szépe added the comment: Sorry! How come that new_msg.set_charset('utf-8') works? -- ___ Python tracker ___ ___ Python-bugs-li

[issue21567] cannot create multipart alternative message with us-ascii charset

2014-05-23 Thread Viktor Szépe
New submission from Viktor Szépe: Python 2.7.6 (default, May 22 2014, 00:19:36) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from email.mime.multipart import MIMEMultipart >>> new_msg = MIMEMultipart('alternative') >>> new_msg.set_charset('us-as

[issue21566] make use of the new default socket.listen() backlog argument

2014-05-23 Thread Charles-François Natali
Charles-François Natali added the comment: > Maybe we should keep listen(1) in some cases. > > For socketpair() of asyncio.windows_utils, it makes sense to use > sock.listen(1) since we expect exactly one request from one client. The > listening socket is closed just after sock.accept(). Yeah,

[issue21566] make use of the new default socket.listen() backlog argument

2014-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: This looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue21566] make use of the new default socket.listen() backlog argument

2014-05-23 Thread STINNER Victor
STINNER Victor added the comment: Maybe we should keep listen(1) in some cases. For socketpair() of asyncio.windows_utils, it makes sense to use sock.listen(1) since we expect exactly one request from one client. The listening socket is closed just after sock.accept(). -- ___

[issue21566] make use of the new default socket.listen() backlog argument

2014-05-23 Thread Charles-François Natali
New submission from Charles-François Natali: Follow-up to issue #21455: we can now update the stdlib to rely on the default socket listen backlog, instead of having a bazillion different values (which range from 1 to 100!). -- components: Library (Lib) files: use_socket_listen_backlog.

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7, it was only *long integers* that could not overflow. In both python 2 and 3, the comment only applys to operations on integers and not to integers converted to floats. Perhaps that could be clarified. If have any example from running Python where (long

[issue21565] multiprocessing: use contex-manager protocol for synchronization primitives

2014-05-23 Thread Charles-François Natali
New submission from Charles-François Natali: This patch updates multiprocessing to use context-manager for locks, conditions, etc. -- components: Library (Lib) files: multiprocessing_context_manager.diff keywords: needs review, patch messages: 219003 nosy: neologix, sbt priority: normal

[issue21564] Declaration of EVP_MD_CTX causes crash when switching between OpenSSL 0.9 and 1.0

2014-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes, gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue21513] speed up some ipaddress properties

2014-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed, thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue21513] speed up some ipaddress properties

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a28ab8f012f by Antoine Pitrou in branch 'default': Issue #21513: Speedup some properties of IP addresses (IPv4Address, IPv6Address) such as .is_private or .is_multicast. http://hg.python.org/cpython/rev/7a28ab8f012f -- nosy: +python-dev _

[issue21522] Add more tkinter tests

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Ned. My fault. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21513] speed up some ipaddress properties

2014-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > May be move implementations to parent class? Docstrings are different, though. -- ___ Python tracker ___

[issue21558] Fix a typo in the contextlib docs

2014-05-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2014-05-23 Thread Lita Cho
Changes by Lita Cho : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs

[issue21548] pydoc -k IndexError on empty docstring

2014-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replacing 2061 with the following should work for all versions. desc = module.__doc__.splitlines()[0] if module.__doc__ else '' -- nosy: +terry.reedy type: -> behavior versions: +Python 2.7, Python 3.5 ___ Python tra

[issue21522] Add more tkinter tests

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7ee46ed2d70 by Serhiy Storchaka in branch '2.7': Fixed new Tkinter tests added in issue #21522 with Tk 8.4. http://hg.python.org/cpython/rev/c7ee46ed2d70 New changeset 854404294f34 by Serhiy Storchaka in branch '3.4': Fixed new Tkinter tests added

[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Charles Merriam
Charles Merriam added the comment: My typo. Documentation verbiage was included in the bug report. Submitting a patch to the documentation is a harder than just rewriting the library. I speak English, MarkDown, HTML, JavaScript, and even RST. I don't speak Sphinx, DocBook, or TeX. On Fri, May

[issue21564] Declaration of EVP_MD_CTX causes crash when switching between OpenSSL 0.9 and 1.0

2014-05-23 Thread Ryan Calhoun
New submission from Ryan Calhoun: OpenSSL, specifically libcrypto, includes functions EVP_MD_CTX_create() and EVP_MD_CTX_destroy(), such that the application code only needs to forward declare the EVP_MD_CTX* pointer type. Declaring the EVP_MD_CTX variable type directly requires compile-time k

[issue21546] int('\0') gives wrong error message

2014-05-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> `int()`, `float()`, etc think python strings are null-terminated type: -> behavior ___ Python tracker

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21533] built-in types dict docs - construct dict from iterable, not iterator

2014-05-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy nosy: +terry.reedy stage: -> commit review versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker _

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2014-05-23 Thread Lita Cho
Changes by Lita Cho : -- nosy: +Lita.Cho, jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-05-23 Thread Ned Deily
Ned Deily added the comment: Sorry, I skimmed over the issue and didn't notice that the fix applied to pydoc.py, not enum. -- ___ Python tracker ___

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-05-23 Thread Ethan Furman
Ethan Furman added the comment: The problem will affect anything that uses the same mechanism as enum. It also affects (not verified) all versions of python up to 3.4 where it was fixed because enum exposed it. Besides which, I did not think a bug had to affect stdlib code in order to be fix

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: word.tcl in Tcl library contains following lines: if {$::tcl_platform(platform) eq "windows"} { # Windows style - any but a unicode space char set ::tcl_wordchars {\S} set ::tcl_nonwordchars {\s} } else { # Motif style - any unicode word char (

[issue21562] curses getsxy() should be curses getxy() in https://docs.python.org/3/library/curses.html#curses.cursxy

2014-05-23 Thread Ned Deily
Changes by Ned Deily : -- keywords: +easy versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Ned Deily
Ned Deily added the comment: FTR, the previous issue is Issue441429. A documentation patch would be welcomed. -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python, ned.deily stage: -> needs patch versions: +Python 3.5 -Python 3.2, Python 3.3

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-05-23 Thread Ned Deily
Ned Deily added the comment: If the problem reported here applies only to the 2.7 backport of enum, which is not part of the Python standard library, shouldn't this issue be closed? -- nosy: +ned.deily ___ Python tracker

[issue16428] turtle with compound shape doesn't get clicks

2014-05-23 Thread Ned Deily
Changes by Ned Deily : -- nosy: +gregorlingl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21522] Add more tkinter tests

2014-05-23 Thread Ned Deily
Ned Deily added the comment: Failing tests with Tk 8.4 (Carbon Tk 8.4.20 on OS X): == ERROR: test_paneconfigure_hide (tkinter.test.test_tkinter.test_widgets.PanedWindowTest)

[issue21563] Segv during call to builtin_execfile in application embedding Python interpreter.

2014-05-23 Thread Robert Snoeberger
New submission from Robert Snoeberger: While embedding the Python 2.7 interpreter in an application, I have encountered a crash when the built-in function 'execfile' is invoked with one argument. A file is attached, execfile_invoke.c, that reproduces the crash. The reproduction steps on my ma

[issue15809] 2.7 IDLE console uses incorrect encoding.

2014-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wonder if we should consider extracting the body of if isinstance(source, types.UnicodeType): as a function, call it ufix_latin1; add one or more alterntives, ufix_utf8, ufix_locale, ufix_irdb(?); keep ufix_latin1 as default; but switch to an alternat

[issue21562] curses getsxy() should be curses getxy() in https://docs.python.org/3/library/curses.html#curses.cursxy

2014-05-23 Thread Charles Merriam
New submission from Charles Merriam: https://docs.python.org/3/library/curses.html#curses.cursxy The symbol 'getsxy' does not exist in the curses library. The correct symbol is 'getxy'. -- assignee: docs@python components: Documentation messages: 218986 nosy: Charles.Merriam, docs@pyt

[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Charles Merriam
Charles Merriam added the comment: Some more information to just nail this thing that's been here forever. 1. This has been an issue in Python since at least 2001. 2. It is a duplicate of the item 441129 which was closed as won't fix. 3. It is bug in curses implementations. 4. This occurs wh

[issue3015] tkinter with wantobjects=False has been broken for some time

2014-05-23 Thread Lita Cho
Changes by Lita Cho : -- nosy: +Lita.Cho, jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20584] On FreeBSD, signal.NSIG is smaller than biggest signal value

2014-05-23 Thread Charles-François Natali
Charles-François Natali added the comment: > Jan-Philip Gehrcke added the comment: > > Currently the docs say that signal.NSIG is "One more than the number of the > highest signal number." > ("https://docs.python.org/3.4/library/signal.html#signal.NSIG). > > In case of FreeBSD's _SIG_MAXSIG (12

[issue17172] Add turtledemo to IDLE menu

2014-05-23 Thread Lita Cho
Lita Cho added the comment: I tested the patch and it looks correct upon inspection. It looks like it applies cleanly and a straight forward solution. I made a slight change so that when the Demo exits, it has a better message. I also added the change to the NEWS.txt file. I also ran the ID

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-05-23 Thread Ethan Furman
Ethan Furman added the comment: Good work. This bug was fixed in 3.4 with the inclusion of enum. It would definitely be good to fix in 2.7 as well. -- nosy: +ethan.furman ___ Python tracker __

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-23 Thread Eric Snow
Eric Snow added the comment: @Brett: Did those last two messages (and the patch) get on the wrong issue. The issue of module_from_spec() or the like seems somewhat orthogonal to a spec argument to ModuleType. Perhaps you meant issue #21436 or #21235? Otherwise, I have a few comments. :) ---

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deleting the function and calls to it would be easy. But my memory, which could be off, is that I left fixwordbreaks(root) in the test function now called _editor_window (at the end of the file) because the test did not work right without it. I willhave to rec

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-05-23 Thread Andy Maier
New submission from Andy Maier: Using the enum34 backport of enums, the help() function on an enum class Colors displays only: --- Help on class Colors in module __main__: Colors = --- Source code to reproduce: --- from enum import Enum # enum34 package class Colors(Enum):

[issue14710] pkgutil.get_loader and find_loader fail when module is missing

2014-05-23 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the bug report, Pavel. It turned out pkgutil.find_loader is broken as well as pkgutil.get_loader in different ways. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue14710] pkgutil.get_loader and find_loader fail when module is missing

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 660c82192c69 by Brett Cannon in branch '3.4': Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not http://hg.python.org/cpython/rev/660c82192c69 New changeset 1adc8eb362f0 by Brett Cannon in branch 'default': Merge for issue #14710 h

[issue14710] pkgutil.get_loader and find_loader fail when module is missing

2014-05-23 Thread Brett Cannon
Changes by Brett Cannon : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue14710] pkgutil.get_loader and find_loader fail when module is missing

2014-05-23 Thread Brett Cannon
Changes by Brett Cannon : -- title: pkgutil.get_loader is broken -> pkgutil.get_loader and find_loader fail when module is missing ___ Python tracker ___ ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy stage: test needed -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14019] Unify tests for str.format and string.Formatter

2014-05-23 Thread Brett Cannon
Brett Cannon added the comment: Set to "pending" while I wait to hear back from Francisco on the review comments. -- status: open -> pending ___ Python tracker ___ _

[issue20853] pdb "args" crashes when an arg is not printable

2014-05-23 Thread Xavier de Gaye
Xavier de Gaye added the comment: Commands that silently fail when an object is not printable: p, pp Commands that crash when an object is not printable: args, retval Python 3: display Python 2: on a 'return' trace event when the return value is not printable The attached script illu

[issue21513] speed up some ipaddress properties

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be move implementations to parent class? In any case the patch LGTM. -- ___ Python tracker ___ ___

[issue15809] 2.7 IDLE console uses incorrect encoding.

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When someone reads file in locale encoding (either as str or unicode in 2.7), he gets printable result. When someone lists directory, he gets printable result (str or unicode). When someone enter string literal (either str or unicode) in interactive mode, he

[issue9253] argparse: optional subparsers

2014-05-23 Thread Sergey Vilgelm
Changes by Sergey Vilgelm : -- nosy: +svilgelm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue21555] gcmodule.c could use pytime.h

2014-05-23 Thread Geoffrey Spear
Geoffrey Spear added the comment: revised patch; thanks to berkerpeksag's code review. -- Added file: http://bugs.python.org/file35325/issue21555-2.patch ___ Python tracker ___ _

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you John for your report. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16428] turtle with compound shape doesn't get clicks

2014-05-23 Thread ingrid
ingrid added the comment: I tried the same script in Python 2.7 and Python 3.4.1 on OSX and had the same results. -- nosy: +ingrid ___ Python tracker ___ ___

[issue21555] gcmodule.c could use pytime.h

2014-05-23 Thread Geoffrey Spear
Geoffrey Spear added the comment: Attached patch replaces call to Python time.time() with _PyTime_gettimeofday() call. -- keywords: +patch Added file: http://bugs.python.org/file35324/issue21555.patch ___ Python tracker

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0452bc62cc3 by Serhiy Storchaka in branch '3.4': Issue #21538: The plistlib module now supports loading of binary plist files http://hg.python.org/cpython/rev/f0452bc62cc3 New changeset b2c5d0cba5fd by Serhiy Storchaka in branch 'default': Issue #2

[issue21545] Tutorial: examples and comment about mutation methods

2014-05-23 Thread David Harrigan
David Harrigan added the comment: Thanks for the info, I've signed the agreement. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue21555] gcmodule.c could use pytime.h

2014-05-23 Thread Geoffrey Spear
Changes by Geoffrey Spear : -- nosy: +geoffreyspear ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Wolfgang Maier
Wolfgang Maier added the comment: isn't this exactly what I did in my patch ? actually, it is working, I just had an error in my preliminary test script. I may be able to work on an official test at some point, but definitely not over the next week --

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Claudiu.Popa
Claudiu.Popa added the comment: Moving `self.crc = zlib.crc32(data, self.crc) & 0x` before `self.size = self.size + len(data)` should be enough. Also, your patch needs a test. -- nosy: +Claudiu.Popa ___ Python tracker

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Wolfgang Maier
Wolfgang Maier added the comment: or not - my patch just causes a different error in my example :( -- ___ Python tracker ___ ___ Pytho

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Wolfgang Maier
Wolfgang Maier added the comment: ok, this seems to be really easy: patch attached -- keywords: +patch Added file: http://bugs.python.org/file35323/GzipFile_write.patch ___ Python tracker __

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ P

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-05-23 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21522] Add more tkinter tests

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue20635] Fix the grid geometry manager and add tests for geometry managers

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue7094] Add alternate float formatting styles to new-style formatting.

2014-05-23 Thread Stefan Krah
Stefan Krah added the comment: This might be out of date: _decimal has never implemented alternate formatting and so far there have been no reported issues. Another data point: Go apparently implements alternate formatting only for octal, hex and strings: http://golang.org/pkg/fmt/ So I'm uns

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-23 Thread Wolfgang Maier
New submission from Wolfgang Maier: I ran into this: >>> gzout = gzip.open('test.gz','wb') >>> gzout.write('abcdefgh') # write expects bytes not str Traceback (most recent call last): File "", line 1, in gzout.write('abcdefgh') File "/usr/lib/python3.4/gzip.py", line 343, in write s

[issue21558] Fix a typo in the contextlib docs

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

[issue20635] Fix the grid geometry manager and add tests for geometry managers

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ab1225b6cc5 by Serhiy Storchaka in branch '2.7': Issue #20635: Added tests for Tk geometry managers. http://hg.python.org/cpython/rev/9ab1225b6cc5 -- ___ Python tracker

[issue21522] Add more tkinter tests

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7082e2898aa by Serhiy Storchaka in branch '2.7': Issue #21522: Added Tkinter tests for Listbox.itemconfigure(), http://hg.python.org/cpython/rev/a7082e2898aa New changeset f7c012ff33cb by Serhiy Storchaka in branch '3.4': Issue #21522: Added Tkinte

[issue20584] On FreeBSD, signal.NSIG is smaller than biggest signal value

2014-05-23 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Salut!, amis français! (Und auch sonst so, natürlich.) POSIX has recently standardized a NSIG_MAX constant in [1]: The value of {NSIG_MAX} shall be no greater than the number of signals that the sigset_t type (see [cross-ref to ]) is capable of rep

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
Changes by theme : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
New submission from theme: >From the documentation at >https://docs.python.org/3.4/library/exceptions.html#OverflowError all integer >operations should not throw OverflowError no matter what. However, there are >so many issues here that describe library functions and built-in functions >doing

[issue21523] quadratic-time compilation in the number of 'and' or 'or' expressions

2014-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should be fixed now! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21523] quadratic-time compilation in the number of 'and' or 'or' expressions

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd62cc331572 by Antoine Pitrou in branch '3.4': Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler. http://hg.python.org/cpython/rev/cd62cc331572 New changeset e61462e18112 by Antoine Pitrou in branch

[issue20584] On FreeBSD, signal.NSIG is smaller than biggest signal value

2014-05-23 Thread Jan-Philip Gehrcke
Jan-Philip Gehrcke added the comment: We should match the unit test with the documentation for signal.NSIG. Either the code or the docs or both need to change. Currently the docs say that signal.NSIG is "One more than the number of the highest signal number." ("https://docs.python.org/3.4/lib

  1   2   >