Re: Python handles globals badly.

2015-09-15 Thread Steven D'Aprano
On Wed, 16 Sep 2015 11:13 am, Steven D'Aprano wrote: > Python is a remarkably clean and consistent language. There's only one > kind of value (the object -- everything is an object, even classes are > objects). The syntax isn't full of special cases. For example, there's > nothing like this

[issue25136] Python doesn't find Xcode 7 stub libraries

2015-09-15 Thread Tim Smith
Changes by Tim Smith : Added file: http://bugs.python.org/file40479/xcode-stubs-2.7.patch ___ Python tracker ___

Re: how to build windows extensions for python 3.5

2015-09-15 Thread Mark Lawrence
On 15/09/2015 17:03, Robin Becker wrote: On 15/09/2015 16:54, Zachary Ware wrote: On Tue, Sep 15, 2015 at 8:32 AM, Robin Becker wrote: I'm a bit surprised that you can successfully use the same .libs for 2.7 and 3.3/3.4. But since that seems to work, I'd say

Problem with lists

2015-09-15 Thread Rafael David
Hi guys, I'm newbie in Python (but not a newbie developer). I'm facing a problem with a bidimensional list (list of lists) containing dictionaries. I don't know if I didn't understand how lists and dictionaries work in Python or if there is a mistake in my code that I can't see. In the code

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your comments Martin. I need a time to think over them and provide alternative solutions that less depend on garbage collecting. May be Maciej can answer questions about causes of some PyPy changes. --

[issue25135] Deques to adopt the standard clearing procedure for mutable objects

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file40477/deque_nonreentrant_clear.diff ___ Python tracker

[issue25135] Deques to adopt the standard clearing procedure for mutable objects

2015-09-15 Thread Raymond Hettinger
New submission from Raymond Hettinger: The clear method for deques is possibly reentrant. Use the safer technique used in listobject.c, setobject.c, and dictobject.c. -- assignee: rhettinger components: Extension Modules messages: 250811 nosy: rhettinger priority: normal severity:

Re: Problem with lists

2015-09-15 Thread C Smith
>>tabuleiro[lin][col] = peca use peca.copy() here or else a deep copy is made. On Tue, Sep 15, 2015 at 4:45 PM, Rafael David wrote: > Hi guys, > > I'm newbie in Python (but not a newbie developer). I'm facing a problem with > a bidimensional list (list of lists) containing

Re: Problem with lists

2015-09-15 Thread MRAB
On 2015-09-16 00:45, Rafael David wrote: Hi guys, I'm newbie in Python (but not a newbie developer). I'm facing a problem with a bidimensional list (list of lists) containing dictionaries. I don't know if I didn't understand how lists and dictionaries work in Python or if there is a mistake in

Re: Problem with lists

2015-09-15 Thread Chris Angelico
On Wed, Sep 16, 2015 at 10:29 AM, Rafael David wrote: > Oooohhh ... I think I got it! I'm assigning a reference to peca and not the > value itself! Thank you very much MRAB and C Smith for the enlightenment :) Right! That's how Python's assignment always works. You may

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-15 Thread Tim Graham
Changes by Tim Graham : -- nosy: +Tim.Graham ___ Python tracker ___ ___

Re: Python handles globals badly.

2015-09-15 Thread Random832
Steven D'Aprano writes: > I don't need to see 23 printed, because I already know what the value is, so > that takes two lines where one would do. (On the rare case I did want to > see the value of something I had just assigned to, I could just print the > expression.) Of

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-15 Thread Markus Holtermann
New submission from Markus Holtermann: Since #7830 nested partials are flattened. This is a behavioral change that causes a test failure in Django because we use nested partials to resolve relationships between models: https://github.com/django/django/pull/4423#issuecomment-138996095 In my

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Tim Peters
Tim Peters added the comment: BTW, I find this very hard to understand: "it’s possible for x//y to be one larger than" ... This footnote was written long before "//" was defined for floats. IIRC, the original version must have said something like: "it's possible for floor(x/y) to be one

[issue25080] The example-code for making XML-RPC requests through proxy, fail!

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: The example-code for making XLM-RPC requests through proxy, fail! -> The example-code for making XML-RPC requests through proxy, fail! ___ Python tracker

Re: Problem with lists

2015-09-15 Thread Rafael David
Em terça-feira, 15 de setembro de 2015 21:11:38 UTC-3, MRAB escreveu: > On 2015-09-16 00:45, Rafael David wrote: > > Hi guys, > > > > I'm newbie in Python (but not a newbie developer). I'm facing a > > problem with a bidimensional list (list of lists) containing > > dictionaries. I don't know if

[issue25136] Python doesn't find Xcode 7 stub libraries

2015-09-15 Thread Tim Smith
New submission from Tim Smith: In Xcode 7, Apple is replacing many of the .dylibs in SDKROOT with textual stubs. [1] These files exist on disk with filenames like: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.tbd They are

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +ncoghlan, pitrou ___ Python tracker ___

Re: Python handles globals badly.

2015-09-15 Thread Chris Angelico
On Wed, Sep 16, 2015 at 11:20 AM, Steven D'Aprano wrote: > On Wed, 16 Sep 2015 11:13 am, Steven D'Aprano wrote: > >> Python is a remarkably clean and consistent language. There's only one >> kind of value (the object -- everything is an object, even classes are >> objects).

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Martin Panter
Martin Panter added the comment: Left some comments. There are a few test cases that I suspect are relying on side effects of garbage collection to perform some other test, and it would be better to rework the test. In the other cases, I agree that actual garbage collection behaviour is being

Re: Python handles globals badly.

2015-09-15 Thread Steven D'Aprano
On Mon, 14 Sep 2015 06:30 pm, Antoon Pardon wrote: > Op 12-09-15 om 05:48 schreef Steven D'Aprano: >> I believe I already acknowledged that assignment-as-expression was fine >> if it avoided the = versus == error, from the perspective of avoiding >> errors. But from the perspective of a clean and

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-15 Thread Simon Charette
Changes by Simon Charette : -- nosy: +charettes ___ Python tracker ___ ___

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5388fa98f7a3 by Victor Stinner in branch 'default': Issue #25122: optimize test_eintr https://hg.python.org/cpython/rev/5388fa98f7a3 -- ___ Python tracker

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread Christian Gollwitzer
Am 14.09.15 um 08:58 schrieb Kristian Rink: Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services, which is quite a breeze and a pretty pleasant experience; however one thing so far bugs me: Using Java

ANN: Tribool 0.6.2 Released

2015-09-15 Thread Grant Jenks
Announcing the Release of Tribool Version 0.6.2 What is Tribool? Tribool is an Apache2 licensed module for three-valued logic. More commonly found in SQL, three-valued logic defines truth tables over the values True, False, and Indeterminate. The third value is considered a

[issue25119] Windows installer fails to install VCRUNTIME140.DLL

2015-09-15 Thread Marius Gedminas
New submission from Marius Gedminas: 1. Install Python 3.5 using the official Windows installer 2. Get a shell 3. python -m ensurepip (because the installer didn't install pip for me -- is that another bug? I thought the installer was supposed to run ensurepip for me? Is it fallout from bug

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-09-15 Thread Vinay Sajip
Vinay Sajip added the comment: I don't believe this is a pyvenv bug: pyvenv invokes bin/python -Im ensurepip --upgrade --default-pip -v which then terminates with Requirement already up-to-date: pip in /usr/lib/python3.4/site-packages as you can see from the console output. So the problem

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread paul.hermeneutic
This might be helpful. https://docs.python.org/3/distributing/index.html See also https://docs.python.org/3/library/venv.html?highlight=venv#module-venv Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services,

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-15 Thread Flavio Grossi
Flavio Grossi added the comment: First of all, thank you for your support. I fully understand what you are saying, however, being stuck to python 2.7 because of libraries still not ported to 3, this is a serious problem to us, and, while i agree this would introduce a new "feature", it also

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... same on repeat -- ___ Python tracker ___

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-15 Thread matteo
Changes by matteo : -- nosy: +matteo ___ Python tracker ___ ___ Python-bugs-list

RE: kivy editable multicolumn list

2015-09-15 Thread David Aldrich
> Not sure if this is the place to ask about kivy ... Try the kivy users list here: https://groups.google.com/forum/#!forum/kivy-users Best regards David -- https://mail.python.org/mailman/listinfo/python-list

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: NM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg250731 ___ Python tracker ___

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: This is what PEP 101 has to say: ___ If this is a final release (even a maintenance release), also unpack the HTML docs to /srv/docs.python.org/release/X.Y.Z on docs.iad1.psf.io. Make sure the files are in group "docs". If it is a

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Testing this on a host with a fixed frequency and mostx background tasks disabled I cannot reproduce the speedups you list. I see no significant change on most of them and a 6% slowdown on json_load and a 1-4% slowdown on regex_v8 (not sure if those are in

[issue25118] OSError in os.waitpid

2015-09-15 Thread eryksun
eryksun added the comment: This bug is due to issue 23285, which improved support for EINTR handling. os_waitpid_impl was changed to use the following do-while loop: do { Py_BEGIN_ALLOW_THREADS res = _cwait(, pid, options); Py_END_ALLOW_THREADS } while (res < 0

[issue25113] documentation version switcher is broken

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: When I built the documentation, I used % release.py --export 3.5.0 (release.py coming from hg.python.org/release, a collection of release manager tools.) I then installed this build as the 3.5.0 documentation, specifically the build from

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: 2015-09-15 9:17 GMT+02:00 Flavio Grossi : > however, being stuck to python 2.7 because of libraries still not ported to > 3, this is a serious problem to us, Are there private libraries or public libraries? If there are public, what are

[issue25131] The AST for dict and set displays has the lineno of the first value

2015-09-15 Thread Claudiu Popa
New submission from Claudiu Popa: Hi, In Python 3.5, the lineno for dict and set display ASTs is the line number of the first value, not the line number of the display character, as it was until 3.5. Here's an example: from ast import parse module = parse('''{ '1':'2', }

[issue25132] unable to install mongo-python-driver-3.0.3 driver

2015-09-15 Thread siva
New submission from siva: Hi There, I am using Python 2.7.10. When I am trying to install mongo-python-driver-3.0.3 driver it's showing an error. Here, I am attaching the screenshot taken from my machine. Thanks in advance for you quick help. [root@localhost mongo-python-driver-3.0.3]#

[issue25131] The AST for dict and set displays has the lineno of the first value

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Using hg bisect, I found the revision a65f685ba8c0: changeset: 95886:a65f685ba8c0 user:Benjamin Peterson date:Tue May 05 20:16:41

[issue25131] The AST for dict and set displays has the lineno of the first value

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +neil.g ___ Python tracker ___ ___

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: Looks happy now: http://buildbot.python.org/all/builders/Docs%203.x/builds/104 Thanks for the report, Victor. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed ___ Python

[issue25127] typo in concurrent.futures.Executor.shutdown() example

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks, Jakub. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue25133] Clarify that the constants in selectors are module-level

2015-09-15 Thread Brett Cannon
New submission from Brett Cannon: If you read the docs for the selectors module it isn't obvious that the constants EVENT_WRITE and EVENT_READ are module-level and not on the various classes since they are in the Classes section of the doc. Shouldn't require any more than adding the word

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread R. David Murray
R. David Murray added the comment: Vinay has closed other issues reporting this two-open-files problem in the past (which was why i recommended you read through some of them :). Windows causes problems when there are two open file handles and a rename is attempted, so no, that is not a

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread Grant Bremer
Grant Bremer added the comment: I had thought that I had found documentation that the max depth is 100 and anything higher is ignored -- and as I read that back to me, I believe I read an example passage and interpreted it incorrectly. I'll remove that. We primarily use Python 2.7, so I

[issue25127] typo in concurrent.futures.Executor.shutdown() example

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f94e695f56b by Berker Peksag in branch '3.4': Issue #25127: Fix typo in concurrent.futures.rst https://hg.python.org/cpython/rev/8f94e695f56b New changeset afe82e6f00df by Berker Peksag in branch '3.5': Issue #25127: Fix typo in

[issue25113] documentation version switcher is broken

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: > tl;dr: Hopefully it'll silently fix itself sometime today. Yes, it's working now. Thanks for the explanation. -- resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior ___

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: PyPy includes modified Python 2.7 tests for testing compatibility. Some of changes skips tests for features that are not implemented in PyPy or are CPython specific, some reflects differences between error types or messages in CPython and PyPy, some are

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-09-15 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, Here's the results after the edit to the ctypes test. I also re-compiled gdb with python support, which is why this took so long (gdb) file ./python Load new symbol table from "./python"? (y or n) y Reading symbols from ./python...done. Traceback (most

[issue25132] unable to install mongo-python-driver-3.0.3 driver

2015-09-15 Thread R. David Murray
R. David Murray added the comment: This tracker is for bugs in python itself. You should report this to the mongo-python-driver project. (If they find there really is a problem in python, which doesn't look likely from your traceback, a new issue with specifics can be opened.) --

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- title: Python install on windows XP -> No option displayed in the Python install on windows XP ___ Python tracker

[issue25119] Windows installer fails to install VCRUNTIME140.DLL

2015-09-15 Thread eryksun
eryksun added the comment: virtualenv fails to copy vcruntime140.dll. Use the standard library's venv module instead. -- nosy: +eryksun resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: Is this a change (I hesitate to use the word "regression") as of Python 3.5.0? -- nosy: +larry ___ Python tracker ___

[issue25121] python logger can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
New submission from Alexander Belchenko: We're using standard logging library for logs. On machine of my colleague there is constantly traceback like this: [11:21:29] PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-15 Thread Flavio Grossi
Flavio Grossi added the comment: >> however, being stuck to python 2.7 because of libraries > Are there private libraries or public libraries? It is a mix of public and internal libraries with the main public blockers being twisted and apache thrift (and other libs which have py3 alternatives

Re: Pyarmor, guard your python scripts

2015-09-15 Thread Chris Angelico
On Tue, Sep 15, 2015 at 7:21 PM, Jondy Zhao wrote: > Pyarmor is dedicated to users who create their applications, components, > scripts or any file with the help of the Python programming language. You may > use this application to encrypt the files, in order to protect

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue25116] It failed to install Py3.5 on win2008R2

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +steve.dower ___ Python tracker ___ ___

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Djoudi Benarfa added the comment: Thanks for your response, I didn't know it. +1 eryksun, this should be mentioned in python website. -- ___ Python tracker

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Where does it hang? For example, try to run the test using: python.exe -m test -v --timeout=10 test_httpservers Can it be a firewall or antivirus issue? Try to add some print() in TestServerThread.run() to check if the HTTP server is running or not.

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: > We don't check errno on any other platform. Oh ok. The code becomes more and more verbose because of Windows :-( -- ___ Python tracker

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: > It would be nice to install the standard library (and test suite) with CRLF > line endings, to allow for reading/editing with Notepad. Oh maybe Windows can realized in 2015 that other operating systems use different line ending and enhance notepad to be

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: That's an interesting thought, eryksun. I'll pass it along to the python.org web developers. Djoudi, it is mentioned on the Python web site, in the What's New In Python 3.5 document:

Re: Pyarmor, guard your python scripts

2015-09-15 Thread Ben Finney
Jondy Zhao writes: > Pyarmor is a simple to use tool which is capable of importing or > running encrypted Python script files. Moreover, it can apply encoding > algorithms to your Python scripts, in order to help you protect them > before you can distribute them. You may

Re: From logging to files to a better solution: syslog, Sentry, Logstash, ....

2015-09-15 Thread Thomas Güttler
Am Freitag, 11. September 2015 10:18:11 UTC+2 schrieb marco@colosso.nl: > On Friday, September 11, 2015 at 9:22:42 AM UTC+2, Thomas Güttler wrote: > > Am Donnerstag, 10. September 2015 08:42:47 UTC+2 schrieb dieter: > > > Thomas Güttler writes: > > > > ... > > > > Why we are unhappy with

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... Timeout (0:00:10)! Thread 0x1654 (most recent call first): File "C:\Programs\Python35\lib\socket.py", line 571 in readinto File "C:\Programs\Python35\lib\http\server.py", line 383 in

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread STINNER Victor
New submission from STINNER Victor: I'm unable to reproduce the hang. It's probably a race condition since sometimes the test pass. It may depend on the system load, the number of CPU cores, and other factors. I tried to use faulthandler.dump_traceback_later() in the changeset ebccac60b9e7,

[issue25120] Python want

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- components: Installation files: py-install-xp.bmp nosy: djoudi, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python want type: behavior versions: Python 3.5 Added file:

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Djoudi Benarfa added the comment: I got it, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25121] python logger can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: PermissionError mentions file name "C:\\Users\\Andrew\\Desktop\\server\\logs\\2015-0 9-09_10-44-03\\2015-09-09_10-44-04-middleman-684.log.1" - but this file does not exist in log directory. There is only "C:\\Users\\Andrew\\Desktop\\server\\logs\\2015-0

[issue25120] Python want

2015-09-15 Thread Djoudi Benarfa
New submission from Djoudi Benarfa: The Python installation on Windows XP has a bizarre behavior. No option is displayed in the first window of the installer (See attached screen capture). but when I click blindly in the empty space, the installer continue to the next window. --

[issue25120] Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- title: Python want -> Python install on windows XP ___ Python tracker ___

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread eryksun
eryksun added the comment: Maybe the download page should direct XP users to install 3.4.x. -- nosy: +eryksun ___ Python tracker ___

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: +if (depth < 0 || depth > 100) { Why 100 and not 10 or 1000? SSL_CTX_set_verify_depth() is unable to check the depth? The patch lacks unit tests and documentation. The patch is for Python 2.7, it would be better to write a patch for the default branch

Pyarmor, guard your python scripts

2015-09-15 Thread Jondy Zhao
Pyarmor is a simple to use tool which is capable of importing or running encrypted Python script files. Moreover, it can apply encoding algorithms to your Python scripts, in order to help you protect them before you can distribute them. You may also generate license files with custom validity

Re: From logging to files to a better solution: syslog, Sentry, Logstash, ....

2015-09-15 Thread Thomas Güttler
Am Freitag, 11. September 2015 11:03:52 UTC+2 schrieb jmp: > On 09/11/2015 09:22 AM, Thomas Güttler wrote: > > > > I want INFO to be logged and stored on the remote host. > > Therefore I must not filter INFO messages. > > > > I don't want to pull INFO messages over the VPN. > > > > Ergo, the

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-15 Thread Nick Coghlan
Nick Coghlan added the comment: For the sake of folks writing single-source code, and needing to support Python 2.7 for at least as long as we're supporting it upstream, I believe it would be beneficial to have consistency here. For those that didn't follow the Fedora/RHEL issue chain, the

[issue25118] OSError in os.waitpid

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a80c687c28d by Victor Stinner in branch '3.5': Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows. https://hg.python.org/cpython/rev/9a80c687c28d -- nosy: +python-dev ___ Python

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: Python 3.5 is not supported on Windows XP. The Python core dev team's policy is, a major Python version (e.g. 3.4, 3.5) only supports the Windows versions that are currently supported by Microsoft at the time of the initial release (e.g. 3.4.0 final, 3.5.0

[issue25118] OSError in os.waitpid() on Windows [3.5.0 regression]

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed title: OSError in os.waitpid -> OSError in os.waitpid() on Windows [3.5.0 regression] versions: +Python 3.6 ___ Python tracker

[issue25118] OSError in os.waitpid

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Oops :-/ Yet another Python 3.5.0 regression, it's now fixed. os.waitpid() was not tested at all on Windows. os.waitpid() is not the best option to wait for a subprocess completion. By the way, you should use the subprocess module which is more portable, is

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: Based on my last assumption I'm able to reproduce this issue with simple test attached. If I comment out the line setup_logger(loggerB) The everything works OK. Once this line in - it's traceback. I guess it's fair to say the bug in my code and one

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: +Python 3.6 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 953a14984aec by Berker Peksag in branch '3.5': Issue #25105: Update susp-ignored.csv to avoid false positives https://hg.python.org/cpython/rev/953a14984aec New changeset efdbe17a9208 by Berker Peksag in branch 'default': Issue #25105: Update

[issue25128] https://docs.python.org/3/download.html incorrect links to files (cannot download)

2015-09-15 Thread yavvsy
New submission from yavvsy: When clicking on a download link in: https://docs.python.org/3/download.html The links point to files that don't exist (older document version) For example: https://docs.python.org/ftp/python/doc/3.5.0/python-3.5.0-docs-pdf-letter.zip should be instead:

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-15 Thread Zachary Ware
Zachary Ware added the comment: Victor: that would be ideal, but hoping for that seems an exercise in futility :) Larry: It seems to be; the test case that brought it my attention (Lib\test\test_tcl.py) has CRLF in my 3.4.3 install and LF in 3.5.0. --

[issue25117] Windows installer: precompiling stdlib fails with missing DLL errors

2015-09-15 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

Re: Pyarmor, guard your python scripts

2015-09-15 Thread Chris Angelico
On Wed, Sep 16, 2015 at 2:20 AM, Grant Edwards wrote: > On 2015-09-15, Chris Angelico wrote: >> On Tue, Sep 15, 2015 at 11:16 PM, Grant Edwards >> wrote: >>> On 2015-09-15, Chris Angelico wrote: If they

[issue25074] Bind logger and waninigs modules for asyncio __del__ methods

2015-09-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: > You should try to implement something in aiohttp or even in the application > to cleanup objects at exit. For example, it's probably wrong if you still > have tasks when the event loop is closed. Especially if tasks are still > pending. The problem is for

Re: Pyarmor, guard your python scripts

2015-09-15 Thread Grant Edwards
On 2015-09-15, Chris Angelico wrote: > >> I you may be underestimating the laziness and overestimating the >> cleverness of most people. ;) > > Heh :) But in that case, you can probably get away with just > zipimport. Deflation sure isn't encryption, but the code is pretty >

Re: kivy editable multicolumn list

2015-09-15 Thread Laura Creighton
In a message of Tue, 15 Sep 2015 03:31:49 +0100, Paulo da Silva writes: >Hi all. >Not sure if this is the place to ask about kivy ... >I apologize if not. > >I am playing with the example here >https://gist.github.com/geojeff/4442405 > >Now I would like to change the background color the editable

Re: how to build windows extensions for python 3.5

2015-09-15 Thread Robin Becker
On 14/09/2015 17:26, Mark Lawrence wrote: On 14/09/2015 16:52, Robin Becker wrote: ... http://stevedower.id.au/blog/building-for-python-3-5-part-two/ The most important thing is to have something to do while the Visual Studio installation takes up 8G of your disk space and several hours

[issue25118] OSError in os.waitpid() on Windows [3.5.0 regression]

2015-09-15 Thread Rocco Matano
Rocco Matano added the comment: I know that using os.spawn and and os.waitpid this way is not the best option, but a 3rd party tool i am using (scons) is doing it that way. So no scons with Python 3.5.0. (I am also aware that scons does not yet support Python 3.x officially.) --

[issue25112] Windows installer assigns non-existent icons to Python file types

2015-09-15 Thread Thijs van Dien
Thijs van Dien added the comment: Thanks for the update. I'm not sure why the proper assignment of icons now depends on the installation of the Python launcher (py.exe). The icons are installed in the DLLs directory just like before. Perhaps I'm not familiar enough with the purpose of the

[issue25123] Logging Documentation - dictConfig disable_existing_loggers

2015-09-15 Thread Robin
New submission from Robin: logging.config.dictConfig appears to share the same parameter as logging.config.fileConfig - disable_existing_loggers. This parameter is documented for fileConfig but not dictConfig. Suggest update to dictConfig documentation section. -- assignee:

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread marco . nawijn
On Monday, September 14, 2015 at 8:58:51 AM UTC+2, Kristian Rink wrote: > Folks; > > coming from a server-sided Java background, I'm recently exploring frameworks > such as cherrypy or webpy for building RESTful services, which is quite a > breeze and a pretty pleasant experience; however one

Horizontal Scalability in python

2015-09-15 Thread AliReza Firuzabadi
I am new in tornado and I want to make web application with tornado and want to scale one instance of tornado application to many in separated servers. I should have load balancer and it send client requests to servers. please tell me how can I do it in the best way. thank you for helping me.

  1   2   >