[issue24724] Element.findall documentation misleading

2015-07-25 Thread Eric S
New submission from Eric S: Documentation states: Element.findall() finds only elements with a tag which are direct children of the current element. More accurate to say direct descendents as direct children implies only one generation below whereas function goes down to all g...children.

Re: Gmail eats Python

2015-07-25 Thread Steven D'Aprano
On Sun, 26 Jul 2015 02:34 am, Laura Creighton wrote: Gmail eats Python. We just saw this mail back from Sebastian Luque which says in part: try: all_your_code_which_is_happy_with_non_scalars except WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:

Re: scalar vs array and program control

2015-07-25 Thread Steven D'Aprano
On Sat, 25 Jul 2015 02:18 pm, Seb wrote: Hello, I'm fairly new to Python, struggling to write in a more object-oriented, functional style. I just wrote a function that takes two arrays representing sine (y) and cosine (x) angle coordinates, and returns the angle in degrees. Alas, your

Re: Gmail eats Python

2015-07-25 Thread Steven D'Aprano
On Sun, 26 Jul 2015 03:47 am, Jussi Piitulainen wrote: Just in case anyone cares, Gnus shows me those indentations as octal codes, \302\240\302\240 (followed by one ASCII space). I guess a \302\240 is a NO-BREAK SPACE in UTF-8, and I guess Gnus does not know this because there is no charset

Re: Which GUI?

2015-07-25 Thread blue
Hi . I tested all. Now I think the PySide can more. https://pyside.readthedocs.org/en/latest/ See also http://free-tutorials.org/pyside-introduction-part-001/ http://python-catalin.blogspot.ro/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Hi

2015-07-25 Thread blue
... also you can have all python modules from : http://www.lfd.uci.edu/~gohlke/pythonlibs/ read this mini tutorial ( working also with python 2.7) : http://python-catalin.blogspot.ro/2014/10/windows-all-modules-for-python-34.html -- https://mail.python.org/mailman/listinfo/python-list

Re: 42**1000000 is CPU time free

2015-07-25 Thread Steven D'Aprano
On Sat, 25 Jul 2015 07:35 am, candide wrote: Thanks to all for your response, I was not aware that the interpreter evaluated pure litteral expressions at compile time. This is an implementation-dependent optimization, so different versions of Python may do more, or less, or even no,

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- components: +Documentation nosy: +eli.bendersky, scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24724 ___

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: The phrase occurs in https://docs.python.org/3/library/xml.etree.elementtree.html#finding-interesting-elements I think it should say, In this example, Element.findall() finds only elements with a tag which are direct children of the current element. Later

Re: Gmail eats Python

2015-07-25 Thread Jussi Piitulainen
Marko Rauhamaa writes: Jussi Piitulainen writes: Just in case anyone cares, Gnus shows me those indentations as octal codes, \302\240\302\240 (followed by one ASCII space). I guess a \302\240 is a NO-BREAK SPACE in UTF-8, and I guess Gnus does not know this because there is no charset

Re: Gmail eats Python

2015-07-25 Thread Chris Angelico
On Sun, Jul 26, 2015 at 3:28 PM, Rustom Mody rustompm...@gmail.com wrote: JFTR: Ive been using emacs for 20+ years. And I have the increasing feeling that my students are getting fedup with it (and me). Used Idle for my last python course without too much grief. If only it were an option

Re: Gmail eats Python

2015-07-25 Thread Jussi Piitulainen
Laura Creighton writes: In a message of Sat, 25 Jul 2015 20:52:38 +0300, Jussi Piitulainen writes: Jussi Piitulainen writes: Has the world adopted UTF-8 as the default charset now or what? (I'll be only glad to hear that it has, if it has, but a reference to some sort of internet standard

Re: Gmail eats Python

2015-07-25 Thread Rustom Mody
On Sunday, July 26, 2015 at 10:31:20 AM UTC+5:30, Jussi Piitulainen wrote: Marko Rauhamaa writes: Jussi Piitulainen writes: Just in case anyone cares, Gnus shows me those indentations as octal codes, \302\240\302\240 (followed by one ASCII space). I guess a \302\240 is a NO-BREAK

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch doesn't apply correctly. Looks as it is encoded with UTF-16. For future please provide a patch in the encoding of the source file (should be ASCII compatible, without BOM). -- ___ Python tracker

[issue24683] Type confusion in json encoding

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is similar issue with key_separator and item_separator in 3.x. They are used with _PyAccu_Accumulate that performs a type check only in assert(). Here is a patch. -- keywords: +patch stage: needs patch - patch review versions: +Python 2.7,

[issue24683] Type confusion in json encoding

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Patch LGTM. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24683 ___ ___ Python-bugs-list

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file40026/etree_clarify.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24724

Re: Gmail eats Python

2015-07-25 Thread Jussi Piitulainen
Steven D'Aprano writes: On Sun, 26 Jul 2015 03:47 am, Jussi Piitulainen wrote: Just in case anyone cares, Gnus shows me those indentations as octal codes, \302\240\302\240 (followed by one ASCII space). I guess a \302\240 is a NO-BREAK SPACE in UTF-8, and I guess Gnus does not know this

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d39777f3477 by Serhiy Storchaka in branch '2.7': Issue #24613: Calling array.fromstring() with self is no longer allowed https://hg.python.org/cpython/rev/2d39777f3477 -- nosy: +python-dev ___ Python

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: ping... I think the current behavior is a bug in Python and should be fixed in 2.7, 3.4, 3.5 and default (using Dmitry's patch). I'd like to commit the patch, but would like someone else's review of the patch before doing so. --

[issue24713] Import docs reference the deprecated imp.reload

2015-07-25 Thread Petr Viktorin
New submission from Petr Viktorin: In 3.4, `imp.reload` was deprecated in favor of `importlib.reload`. https://docs.python.org/3/library/imp.html -- assignee: docs@python components: Documentation files: docs.patch keywords: patch messages: 247319 nosy: docs@python, encukou,

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Needed tests. With the patch: $ LC_CTYPE=UTF-8 ./python import locale locale.getdefaultlocale() (None, 'UTF-8') locale.getpreferredencoding() 'ANSI_X3.4-1968' locale.getlocale() (None, None) $ LC_CTYPE=en_US_UTF-8 ./python import locale

[issue18181] PEP447: Add type.__getdescriptor__

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a new version of the patch (pep447-2015-07-25.txt). Changes in this version of the patch: 1) Works with the current trunk (as in all tests pass) 2) Types in C must explicitly set Py_TPFLAGS_GETDESCRIPTOR in tp_flags to enable the

Trac 1.0.8 released

2015-07-25 Thread Ryan Ollos
Trac 1.0.8 Released === Trac 1.0.8, the latest maintenance release for the current stable branch, is available. You will find this release at the usual places: http://trac.edgewall.org/wiki/TracDownload#LatestStableRelease https://pypi.python.org/pypi/Trac/1.0.8 Trac 1.0.7

[issue14373] C implementation of functools.lru_cache

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5345e5ce2eed by Serhiy Storchaka in branch '3.5': Issue #14373: Fixed segmentation fault when gc.collect() is called during https://hg.python.org/cpython/rev/5345e5ce2eed New changeset 9c6d11d22801 by Serhiy Storchaka in branch 'default': Issue

[issue14373] C implementation of functools.lru_cache

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Ned. Is anything left to do with this issue or it can be closed? -- priority: release blocker - normal status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14373

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18378 ___

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-25 Thread Biwin John
Biwin John added the comment: The problem exist with the Chrome on Ubuntu, Windows and OSX, but ony with the python docs for version 2.7. Docs for 2.6 use the same sidebar. But in 2.7 docs, the content of sidebar is positioned with the style added on scroll, style=float: left; margin-right:

Python Questions - July 25, 2015

2015-07-25 Thread E.D.G.
Posted by E.D.G. July 25, 2015 This posting involves general interest matters and some specific questions regarding Python code usage. Any help would be appreciated. 1. Program conversion effort 2. Specific code questions 1. PROGRAM CONVERSION EFFORT An effort is underway by

[issue24714] Crash with string_at(None)

2015-07-25 Thread Michael Toews
New submission from Michael Toews: On Debian x64 stable with Python 2.7 and 3.4, the following causes a segmentation fault: from ctypes import string_at string_at(None) On Windows 64-bit with Python 2.7 it raises WindowsError and Python 3.3 raises OSError, both showing a message access

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps the better way to solve this issue is to use aliases table. What is the LC_CTYPE environment variable set when the default language set to non-English? How different native MacOS X command-line programs behave when set LC_CTYPE to other encoding

[issue24714] Crash with string_at(None)

2015-07-25 Thread STINNER Victor
STINNER Victor added the comment: ctypes gives you a raw access to the memory. If you try to read unmapped memory areas, the program may or may not crash. Usually, you get a segmentation fault. https://en.wikipedia.org/wiki/Segmentation_fault Python doesn't provide a portable behaviour on

[issue24714] Crash with string_at(None)

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24714

[issue24714] Crash with string_at(None)

2015-07-25 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24714 ___ ___

Re: Python Questions - July 25, 2015

2015-07-25 Thread E.D.G.
Laura Creighton l...@openend.se wrote in message news:mailman.977.1437831069.3674.python-l...@python.org... I can answer some of these. Posted by E.D.G. July 25, 2015 Thanks for all of the comments. My retired professional programming colleague is now going to have plenty of

Re: Python Questions - July 25, 2015

2015-07-25 Thread Laura Creighton
Another question: With my Perl programs, when I want to run the programs on a new computer or even from a flash drive, basically all I do is copy an entire existing Perl program directory to the new computer or flash drive. And that works. However, to make certain that it will work I

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-07-25 Thread Alessandro Cucci
Changes by Alessandro Cucci alessandro.cu...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file40018/issue19475.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19475

Re: Gmail eats Python

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 11:51:49 -0500, Zachary Ware writes: On Jul 25, 2015 11:35 AM, Laura Creighton l...@openend.se wrote: Gmail eats Python. We just saw this mail back from Sebastian Luque which says in part: try: all_your_code_which_is_happy_with_non_scalars except

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24721 ___

[issue23670] Modifications to support iOS as a cross-compilation target

2015-07-25 Thread Marco Paolini
Changes by Marco Paolini markopaol...@gmail.com: -- nosy: +mpaolini ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23670 ___ ___ Python-bugs-list

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
New submission from Eric Snow: (see issue24667) collections.OrderedDict subclasses dict so calling dict's methods on an OrderedDict works. However, neither the pure Python nor the C implementation of OrderedDict was written to support doing so. In fact, both of them currently enter an

Re: UDP and Python2.7 and 2.7 documentation gives error!

2015-07-25 Thread Stéphane Wirtel
the bind function is for the server, not for the client. here is an example: https://wiki.python.org/moin/UdpCommunication Stephane On 25 Jul 2015, at 19:10, Nils wrote: UDP and Python2.7 and 2.7 documentation gives error! I am trying to send UDP messages from one PC to another, using P2.7.

Re: scalar vs array and program control

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 14:57:14 +0200, Thomas 'PointedEars' Lahn wr ites: Laura Creighton wrote: […] You really cannot make your code 'more functional' and 'more object- oriented' at the same time -- more in one style implies less in the other. How did you get that idea? Because

Re: scalar vs array and program control

2015-07-25 Thread Sebastian P . Luque
On Sat, 25 Jul 2015 14:44:43 +0200, Laura Creighton l...@openend.se wrote: And because I was rushed and posted without revision I left out something important. So this is, quite likely, the pattern that you are looking for: try: all_your_code_which_is_happy_with_non_scalars except

Re: scalar vs array and program control

2015-07-25 Thread Thomas 'PointedEars' Lahn
Laura Creighton wrote: […] Thomas 'PointedEars' Lahn [writes]: Laura Creighton wrote: […] You really cannot make your code 'more functional' and 'more object-oriented' at the same time -- more in one style implies less in the other. How did you get that idea? Because pure object

Re: Gmail eats Python

2015-07-25 Thread Jussi Piitulainen
Zachary Ware writes: On Jul 25, 2015 11:35 AM, Laura Creighton wrote: Gmail eats Python. We just saw this mail back from Sebastian Luque which says in part: try: all_your_code_which_is_happy_with_non_scalars except WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Feel free to close this, Raymond. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24721 ___ ___ Python-bugs-list

[issue18181] PEP447: Add type.__getdescriptor__

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note: the error handling code for exceptions in __getdescriptor__ definitely isn't good enough yet. I'm writing tests and am hunting down the problems those tests find. I'm getting closer and will post a new version when I think I've found all bugs.

Re: Python 3.4 Idle?

2015-07-25 Thread Steve Burrus
On Thursday, July 23, 2015 at 8:50:47 PM UTC-5, Steve Burrus wrote: On Thursday, July 23, 2015 at 8:41:03 PM UTC-5, Chris Angelico wrote: On Fri, Jul 24, 2015 at 11:34 AM, Steve Burrus steveburru...@gmail.com wrote: I got Idle the other day biut had to get the older version, 2.7, of

Gmail eats Python

2015-07-25 Thread Laura Creighton
Gmail eats Python. We just saw this mail back from Sebastian Luque which says in part: try: all_your_code_which_is_happy_with_non_scalars except WhateverErrorPythonGivesYouWhenYouTryThisWithScalars: whatever_you_want_to_do_when_this_happens Ow! Gmail is understanding the I stuck in as

[issue24720] Python install help

2015-07-25 Thread Zachary Ware
Zachary Ware added the comment: 1) your paste appears to be invalid. You can just paste in a message here, or attach a screenshot (though text is preferable :)) 2) 3.5.0b2 is out of date, try with beta 3 (or beta 4, due out this weekend) -- components: +Installation, Windows nosy:

[issue24719] Resourc Leak in cPickle Module

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a789ee93f152 by Benjamin Peterson in branch '2.7': possible memory leak in error case (closes #24719) https://hg.python.org/cpython/rev/a789ee93f152 -- nosy: +python-dev resolution: - fixed stage: - resolved status: open - closed

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Regarding this bug, it's clear now that the ordered keys and the underlying dict are getting out of sync somewhere. This is either due to a bug in the C OrderedDict implementation or the use of the concrete dict C-API (or dict.* methods; thanks Mark). It's

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a consequence of subclassing a builtin type Not really. This is how subclassing works in general. Any time you a user calls a parent class directly on an instance of subclass, they are bypassing whatever the subclass needs to do to maintain its

Re: Python 3.4 Idle?

2015-07-25 Thread Irmen de Jong
On 25-7-2015 18:00, Steve Burrus wrote: On Thursday, July 23, 2015 at 8:50:47 PM UTC-5, Steve Burrus wrote: On Thursday, July 23, 2015 at 8:41:03 PM UTC-5, Chris Angelico wrote: On Fri, Jul 24, 2015 at 11:34 AM, Steve Burrus steveburru...@gmail.com wrote: I got Idle the other day biut had to

Re: scalar vs array and program control

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 18:53:33 +0200, Thomas 'PointedEars' Lahn wr ites: Laura Creighton wrote: […] Thomas 'PointedEars' Lahn [writes]: Laura Creighton wrote: […] You really cannot make your code 'more functional' and 'more object-oriented' at the same time -- more in one style

Re: UDP and Python2.7 and 2.7 documentation gives error!

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 19:10:53 +0200, Nils writes: UDP and Python2.7 and 2.7 documentation gives error! I am trying to send UDP messages from one PC to another, using P2.7. BUT I get an error I do not understand, this as I am following the doc's for Python2.7! Listing of the script with

Re: scalar vs array and program control

2015-07-25 Thread Peter Otten
Seb wrote: Hello, I'm fairly new to Python, struggling to write in a more object-oriented, functional style. I just wrote a function that takes two arrays representing sine (y) and cosine (x) angle coordinates, and returns the angle in degrees. I had initially written the function to

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Mark Shannon
Mark Shannon added the comment: The attached test case raises a KeyError for __str__() -- nosy: +Mark.Shannon Added file: http://bugs.python.org/file40019/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667

[issue24720] Python install help

2015-07-25 Thread node
New submission from node: I am trying to install Python 3.5.0b2 on Win 8.1 but cannot get it loaded http://pastebin.com/hKU2bvds the error. hoping some one can help. -- messages: 247352 nosy: node priority: normal severity: normal status: open title: Python install help type: behavior

Re: Gmail eats Python

2015-07-25 Thread Zachary Ware
On Jul 25, 2015 11:35 AM, Laura Creighton l...@openend.se wrote: Gmail eats Python. We just saw this mail back from Sebastian Luque which says in part: try: all_your_code_which_is_happy_with_non_scalars except WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Marco Paolini
Changes by Marco Paolini markopaol...@gmail.com: -- nosy: +mpaolini ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Eric Snow
Eric Snow added the comment: @Mark, note that you get the same behavior with the pure Python OrderedDict. Calling dict.* methods on an OrderedDict gives you undefined behavior. I expect the same is true for most subclasses of builtin types that override builtin methods. Anyway, the problem

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Ah, you're right. I was hung up on issue10977. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24721 ___ ___

UDP and Python2.7 and 2.7 documentation gives error!

2015-07-25 Thread Nils
UDP and Python2.7 and 2.7 documentation gives error! I am trying to send UDP messages from one PC to another, using P2.7. BUT I get an error I do not understand, this as I am following the doc's for Python2.7! Listing of the script with error result following:

Hi

2015-07-25 Thread 김지훈
Hi. I recently changed my path to be a programmer so I decided to learn python. I downloaded files(Python 2.7.10 - 2015-05-23 https://www.python.org/downloads/release/python-2710/) to setup on your website. (also got the version of x64 because of my cpu) But when I try to install it, there is an

Re: Gmail eats Python

2015-07-25 Thread Jussi Piitulainen
Jussi Piitulainen writes: Zachary Ware writes: [snip what I quoted from him] Oh well - Gnus made me go through some hoops to send the characters that were in the unknown-to-it encoding, and then mangled them. This is what I had added: Just in case anyone cares, Gnus shows me those

[issue24708] strop.replace Integer Overflow

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is modified patch. In new code we try to avoid integer wrap around. It is safer to raise MemoryError right after PyMem_MALLOC(), otherwise it would possible to reraise unrelated exception instead MemoryError if strop.replace() is called without

[issue24708] strop.replace Integer Overflow

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b5513e5afd2 by Benjamin Peterson in branch '2.7': proper overflow checks for mymemreplace (closes #24708) https://hg.python.org/cpython/rev/7b5513e5afd2 -- nosy: +python-dev resolution: - fixed stage: patch review - resolved status: open

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-25 Thread asal ada
Changes by asal ada asalad...@gmail.com: -- components: +2to3 (2.x to 3.x conversion tool), Benchmarks, Build, Cross-Build, Demos and Tools, IO, Installation, Interpreter Core, Library (Lib), Tests, Unicode, Windows, XML, email nosy: +barry, haypo, paul.moore, r.david.murray,

[issue11872] cPickle gives strange error for large objects.

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this issue still actual? -- nosy: +serhiy.storchaka status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11872 ___

[issue2263] struct.pack() + numpy int raises SystemError

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2263 ___ ___

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-25 Thread Steve Dower
Changes by Steve Dower steve.do...@microsoft.com: -- components: -2to3 (2.x to 3.x conversion tool), Benchmarks, Build, Cross-Build, Demos and Tools, IO, Installation, Interpreter Core, Library (Lib), Tests, Unicode, Windows, XML, email nosy: -steve.dower

[issue24715] Sorting HOW TO: bad example for reverse sort stability

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24715 ___

Re: Python 3.4 Idle?

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 09:00:18 -0700, Steve Burrus writes: On Thursday, July 23, 2015 at 8:50:47 PM UTC-5, Steve Burrus wrote: On Thursday, July 23, 2015 at 8:41:03 PM UTC-5, Chris Angelico wrote: On Fri, Jul 24, 2015 at 11:34 AM, Steve Burrus steveburru...@gmail.com wrote: I

Re: scalar vs array and program control

2015-07-25 Thread Thomas 'PointedEars' Lahn
Thomas 'PointedEars' Lahn wrote: # class A: def __init__ (self, v=0): self._value = v def foo (self, f, b): return f(f, self._value, b) I mean return f(self._value, b) --

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: So...I have *no* clue why _struct can't be found. Can you use gdb to get the segfault backtrace like you did before? On July 25, 2015 6:56:10 AM CDT, Cyd Haselton rep...@bugs.python.org wrote: Cyd Haselton added the comment: I assume so; I'm using whatever is

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Fabian
Fabian added the comment: Really this bug and not the one mentioned by Mark? I've been using 3.4(.3) since we use requests (and therefore urllib3) which happened a few months ago. I also can't remember any failure on a Python 3.4 Travis build. --

[issue24613] array.fromstring Use After Free

2015-07-25 Thread John Leitch
John Leitch added the comment: Attached is a patch that updates array.fromstring to throw a ValueError when self is passed. It also updates the unit tests to cover this new behavior. -- Added file: http://bugs.python.org/file40023/array.fromstring-Use-After-Free.patch

[issue24717] python logging handler not used when added after a process is started

2015-07-25 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug - it's how processes work on POSIX. Multiprocessing on POSIX generally uses the fork system call, which happens when you create a another process via the Process(...) call. At this point, the created process is a copy of the original process.

[issue24585] Windows installer does not detect existing installs

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Since we apparently can't test this without making the release, but it's important enough to not defer, I am in the unenviable position of shipping the last beta with this bug marked as a release blocker. Fingers crossed! -- nosy: +larry

[issue24635] test_typing is flaky

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Deferring for beta 4. We should still fix before release. Preferably before RC1 depending on the availability of Certain Persons. -- nosy: +larry priority: release blocker - deferred blocker ___ Python tracker

[issue24723] The new typing module is not documented :-(

2015-07-25 Thread STINNER Victor
New submission from STINNER Victor: It looks like someone forgot to write the doc ;-) https://docs.python.org/dev/library/typing.html -- assignee: docs@python components: Documentation messages: 247399 nosy: docs@python, gvanrossum, haypo priority: normal severity: normal status: open

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: It produces the same exception under Python 3.4, too. -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___

[issue24619] async/await parser issues

2015-07-25 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24619 ___ ___

[issue24645] logging.handlers.QueueHandler should not lock when handling a record

2015-07-25 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24645 ___

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Mark's test case file produced a KeyError under 3.4 when I tried it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___

[issue24716] Multiple fdopen() on mkstemp() descriptor crashes py27 interpreter

2015-07-25 Thread eryksun
eryksun added the comment: Reassigning f closes the first file object, but not before the second file object gets created. You can write to the already-closed file, assuming the write is small enough to not flush the FILE stream buffer (e.g. beer, given an empty 4 KiB buffer). However,

[issue24716] Multiple fdopen() on mkstemp() descriptor crashes py27 interpreter

2015-07-25 Thread STINNER Victor
STINNER Victor added the comment: As eryksun explained, you have a bug in your example. You should fix your code. I would not call it a bug in Python, but more yet another bug (or unexpected behaviour) of the C stdio of Windows. My list of bugs in the C stdio is already long:

[issue24720] Python install help

2015-07-25 Thread node
node added the comment: Steve, I have Admin privilege -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24720 ___ ___ Python-bugs-list mailing list

[issue24635] test_typing is flaky

2015-07-25 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24635 ___ ___ Python-bugs-list

Re: Python Questions - July 25, 2015

2015-07-25 Thread tjohnson
On Saturday, July 25, 2015 at 5:40:02 AM UTC-4, E.D.G. wrote: Posted by E.D.G. July 25, 2015 This posting involves general interest matters and some specific questions regarding Python code usage. Any help would be appreciated. 1. Program conversion effort 2. Specific code

[issue24681] Put most likely test first in set_add_entry()

2015-07-25 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24681 ___ ___ Python-bugs-list

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-07-25 Thread STINNER Victor
STINNER Victor added the comment: @acucci: Nice first try, but your patch contains multiple bugs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19475 ___

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-07-25 Thread Alessandro Cucci
Alessandro Cucci added the comment: @haypo thanks for the review and the suggestions, I'll correct the code soon -- nosy: +acucci ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19475 ___

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-07-25 Thread Alessandro Cucci
Changes by Alessandro Cucci alessandro.cu...@gmail.com: Added file: http://bugs.python.org/file40024/issue19475_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19475 ___

Re: Gmail eats Python

2015-07-25 Thread Laura Creighton
In a message of Sat, 25 Jul 2015 20:52:38 +0300, Jussi Piitulainen writes: Jussi Piitulainen writes: Has the world adopted UTF-8 as the default charset now or what? (I'll be only glad to hear that it has, if it has, but a reference to some sort of internet standard would be nice.) I don't

[issue24720] Python install help

2015-07-25 Thread node
node added the comment: http://pastebin.com/D5eVxF1b Sorry, try this where to get the latest version pls.. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24720 ___

[issue24722] Python install help

2015-07-25 Thread node
New submission from node: http://pastebin.com/D5eVxF1b Sorry, where can I download the latest version? I went to python site and only saw this version -- messages: 247362 nosy: node priority: normal severity: normal status: open title: Python install help type: behavior versions:

Re: Hi

2015-07-25 Thread Emile van Sebille
On 7/24/2015 10:30 PM, 김지훈 wrote: Hi. I recently changed my path to be a programmer so I decided to learn python. I downloaded files(Python 2.7.10 - 2015-05-23 https://www.python.org/downloads/release/python-2710/) to setup on your website. (also got the version of x64 because of my cpu) But

  1   2   >