Re: ANN: wxPython 3.0.1.1

2014-09-12 Thread Nathan McCorkle
On Wednesday, September 10, 2014 9:26:26 PM UTC-7, Robin Dunn wrote: Announcing -- wxPython 3.0.1.1 (classic) has been released and is now available for Other than 3rd-party stuff, has this changed at all since the July 3.0.1 preview? --

Re: ANN: wxPython 3.0.1.1

2014-09-12 Thread Nathan McCorkle
On Thursday, September 11, 2014 9:57:15 AM UTC-7, Nathan McCorkle wrote: Other than 3rd-party stuff, has this changed at all since the July 3.0.1 preview? (For MSW) -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation:

six 1.8.0 released

2014-09-12 Thread Benjamin Peterson
I'm pleased to announce the latest release of six, a Python 2/3 compatibility library. Many more six.moves mappings were added, and a few bugs were fixed. Download six from PyPI: https://pypi.python.org/pypi/six Report bugs: https://bitbucket.org/gutworth/six Here is the full changelog for this

Pyston 0.2 released

2014-09-12 Thread Kevin Modzelewski
Hi all, we're excited to announce the existence of Pyston 0.2, a much-improved version of our new Python JIT. The new version features greatly improved language support, basic native C API support, and an experimental GIL-free mode. Pyston is now in alpha, and is still not ready for general use,

Karlsruhe (Germany) Python User Group, September 19th 2014, 7pm

2014-09-12 Thread Jürgen A . Erhard
The Karlsruhe Python User Group (KaPy) meets again. Friday, 2014-09-19 (September 19th) at 19:00 (7pm) in the rooms of Entropia eV (the local affiliate of the CCC). See http://entropia.de/wiki/Anfahrt on how to get there. For your calendars: meetings are held monthly, on the 3rd Friday.

Re: ANN: wxPython 3.0.1.1

2014-09-12 Thread Marco Prosperi
I'm trying to pass my application from wxpython2.9.4 to 3.0.1 but there seems to be still some of the problems that made me skip wxpy2.9.5: when I close the main window of my application (windows7-64bit, python 2.7) I get exceptions like this below (none with wxpy2.9.4). How can I avoid that

Re: Example of python service running under systemd?

2014-09-12 Thread Ervin Hegedüs
Hi Michael, On Thu, Sep 11, 2014 at 08:03:54PM -0600, Michael Torrie wrote: What I want is to have this startup, after my board has it’s networking layer up and running (and hopefully a valid ip address by then), and to just keep running forever may be you think about the fork(), eg:

Re: Example of python service running under systemd?

2014-09-12 Thread Ervin Hegedüs
Hi Chris, On Fri, Sep 12, 2014 at 12:29:27PM +1000, Chris Angelico wrote: On Fri, Sep 12, 2014 at 12:03 PM, Michael Torrie torr...@gmail.com wrote: Any executable file can be turned into a daemon service with systemd (whether or not it forks itself into the background). Thus any python

Re: Thread-ID - how much could be?

2014-09-12 Thread Ervin Hegedüs
Hi Steven, On Fri, Sep 12, 2014 at 11:29:56AM +1000, Steven D'Aprano wrote: import sys print sys.maxint 9223372036854775807 the couter could be 9223372036854775807? And after? :) Suppose you somehow managed to create 9223372036854775807 threads. If your computer has 16 GB of

Re: Example of python service running under systemd?

2014-09-12 Thread Chris Angelico
On Fri, Sep 12, 2014 at 4:18 PM, Ervin Hegedüs airw...@gmail.com wrote: is there any other reason outside the debugging? Of course, I've handled that in a simple way: parser = optparse.OptionParser() parser.add_option(-d, --debug,

Re: pythonw.exe has stopped working

2014-09-12 Thread Rahul Bhagat
On Friday, 12 September 2014 11:18:25 UTC+5:30, Rahul Bhagat wrote: Hello Folks, I'm using RIDE -- Robot Framework Test Data Editor RIDE 1.3 running on Python 2.7.6. When I click on some of my test case the RIDE GUI hangs and gives bellow error message. [Window

Re: pythonw.exe has stopped working

2014-09-12 Thread Steven D'Aprano
rahuldbha...@gmail.com wrote: It's strange that while it's able to open other test cases but fails on one particular test case. The distinguishing  fact about the test case is that it is a big one using lots of keywords. Sounds like you've run out of memory, and Windows has killed the

Re: Pyston 0.2 released

2014-09-12 Thread serge Guelton
On Thu, Sep 11, 2014 at 12:52:15PM -0700, Kevin Modzelewski wrote: Hi all, we're excited to announce the existence of Pyston 0.2, a much-improved version of our new Python JIT. The new version features greatly improved language support, basic native C API support, and an experimental

Re: pythonw.exe has stopped working

2014-09-12 Thread Marko Rauhamaa
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info: rahuldbha...@gmail.com wrote: encountered this problem and knows how to fix it ? some fix like providing more memory or specifying some parameter when pythonw.exe starts? Install more memory? It might help if you show us the code that

Changer le path pour l'accès aux modules

2014-09-12 Thread ast
bonjour Mon path est: sys.path [' ', 'C:\\Python33\\Lib\\idlelib', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages', 'mypath'] Tout d'abord à quoi correspond le ' ' vide au tout début ? Pourquoi y a t'il deux

Re: Changer le path pour l'accès aux modules

2014-09-12 Thread ast
ast nom...@invalid.com a écrit dans le message de news:5412f2cb$0$2069$426a3...@news.free.fr... bonjour Mon path est: sys.path [' ', 'C:\\Python33\\Lib\\idlelib', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33',

Re: Changer le path pour l'accès aux modules

2014-09-12 Thread Chris Angelico
2014-09-12 23:19 GMT+10:00 ast nom...@invalid.com: Tout d'abord à quoi correspond le ' ' vide au tout début ? Pourquoi y a t'il deux backslashs \\ entre les répertoires ? (sous windows normalement c'est un seul) Hi! I'm afraid my French isn't very good, but Google Translate suggests you're

Re: Changer le path pour l'accès aux modules

2014-09-12 Thread Chris Angelico
2014-09-12 23:20 GMT+10:00 ast nom...@invalid.com: Sorry I sent this message in the wrong forum. I intended to send it to fr.comp.lang.python Ah! Okay. That works too :) ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Why command os.popen works in python interactive mode but not in script debugger mode?

2014-09-12 Thread Viet Nguyen
On Thursday, September 11, 2014 10:15:57 PM UTC-7, Viet Nguyen wrote: Can anyone give me hint or reason why same command behaves differently in debugger mode from interactive mode: From interactive mode: import os p = os.popen('date') p.read() 'Thu Sep 11 11:18:07 PDT

pylint for cython?

2014-09-12 Thread Skip Montanaro
I have slowly been converting some Python source to Cython. I'm pretty conservative in what changes I make, mostly sprinkling a few cdef, float and int declarations around the pyx file. Still, conservative or not, it's enough to choke pylint. Rather than have to maintain a pure Python version of

very lightweight gui for win32 + python 3.4

2014-09-12 Thread Nagy László Zsolt
I wrote a small program that copies some files between directories. This is a special utility program for a particular customer. I could compile the program into a portable exe with cx_freeze, and the total size is below 10MB. This customer wants to use this utility on many computers. He

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Chris Angelico
On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt gand...@shopzeus.com wrote: So I need to create a GUI mode version of my program. That the customer should be able to see a progress bar. What kind of GUI toolkit should I use for this? I would like this to be lightweight, preferably under 5MB

Re: pylint for cython?

2014-09-12 Thread Stefan Behnel
Skip Montanaro schrieb am 12.09.2014 um 17:52: I have slowly been converting some Python source to Cython. I'm pretty conservative in what changes I make, mostly sprinkling a few cdef, float and int declarations around the pyx file. Still, conservative or not, it's enough to choke pylint.

Marco's atexit issue was: Re: ANN: wxPython 3.0.1.1

2014-09-12 Thread Nathan McCorkle
On Friday, September 12, 2014 1:14:41 AM UTC-7, Marco Prosperi wrote: I'm trying to pass my application from wxpython2.9.4 to 3.0.1 but there seems to be still some of the problems that made me skip wxpy2.9.5: when I close the main window of my application (windows7-64bit, python 2.7) I

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Mark Lawrence
On 12/09/2014 17:38, Chris Angelico wrote: On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt gand...@shopzeus.com wrote: So I need to create a GUI mode version of my program. That the customer should be able to see a progress bar. What kind of GUI toolkit should I use for this? I would like

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Chris Angelico
On Sat, Sep 13, 2014 at 3:08 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: There's absolutely no reason to go Windows-specific. Use Tkinter - it's pretty light-weight. Comes with most Python distros. See how it goes in terms of code size - if it's unsuitable, then look at others, but start

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Thomas Heller
Am 12.09.2014 18:38, schrieb Chris Angelico: On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt gand...@shopzeus.com wrote: So I need to create a GUI mode version of my program. That the customer should be able to see a progress bar. What kind of GUI toolkit should I use for this? I would like

Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

2014-09-12 Thread Travis Griggs
Thanks all for the help/advice. I’m getting there. To experiment/learn, I made a simple python program (/Foo/cyclic.py): #!/usr/bin/env python3 import time while True: time.sleep(5) with open('sound', 'r') as file: currentValue = file.read()

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Zachary Ware
On Fri, Sep 12, 2014 at 1:35 PM, Thomas Heller thel...@ctypes.org wrote: Does Tkinter really work well with cx_Freeze? I doubt it (from my experiences with py2exe). Just to give anecdotal evidence, I have used Tkinter successfully without much headache with both cx_Freeze (with Python 2.7 and

Re: Example of python service running under systemd?

2014-09-12 Thread CHIN Dihedral
On Friday, September 12, 2014 1:48:37 AM UTC+8, Travis Griggs wrote: I've been reading lots of systemd docs. And blogs. Etc. At this point, I think I would benefit from learning by example... Does anyone have an example .service file that they use to launch a long running service

Re: Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

2014-09-12 Thread Travis Griggs
On Sep 12, 2014, at 12:05 PM, Travis Griggs travisgri...@gmail.com wrote: Thanks all for the help/advice. I’m getting there. To experiment/learn, I made a simple python program (/Foo/cyclic.py): #!/usr/bin/env python3 import time while True: time.sleep(5)

Re: pythonw.exe has stopped working

2014-09-12 Thread Terry Reedy
On 9/12/2014 1:48 AM, rahuldbha...@gmail.com wrote: Hello Folks, I'm using RIDE -- Robot Framework Test Data Editor RIDE 1.3 running on Python 2.7.6. When I click on some of my test case the RIDE GUI hangs and gives bellow error message. Run RIDE with python, not pythonw, from a command

Re: very lightweight gui for win32 + python 3.4

2014-09-12 Thread Grant Edwards
On 2014-09-12, Thomas Heller thel...@ctypes.org wrote: Am 12.09.2014 18:38, schrieb Chris Angelico: Does Tkinter really work well with cx_Freeze? I doubt it (from my experiences with py2exe). I never had any problems with Tkinter and py2exe, but you do get a considerably larger distribution

Re: Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

2014-09-12 Thread Chris Angelico
On Sat, Sep 13, 2014 at 7:45 AM, Travis Griggs travisgri...@gmail.com wrote: Python print() is buffered, so it wasn’t showing up except in huge blocks. Changed the .service file to start with -u and everything works as expected now. Ah, yes, that'll happen any time stdout isn't connected to

Re: Example of python service running under systemd?

2014-09-12 Thread Michael Torrie
On 09/12/2014 02:05 PM, CHIN Dihedral wrote: Please check the examples in wxpython and boa. Oh funny. Just when I think the bot is ready to pass a turing test we get a regression. -- https://mail.python.org/mailman/listinfo/python-list

Re: Example of python service running under systemd?

2014-09-12 Thread Chris Angelico
On Sat, Sep 13, 2014 at 12:36 PM, Michael Torrie torr...@gmail.com wrote: Oh funny. Just when I think the bot is ready to pass a turing test we get a regression. Ah, the Turing test... everyone loves it. I had some really naughty fun with that name a while ago. In my DD world themed on

find the error

2014-09-12 Thread daoudimca
Dear friends when i used import urllib, re, sys symbol = sys.argv[1] this function is show -- symbol = sys.argv[1] IndexError: list index out of range kindly find the solution of this -- https://mail.python.org/mailman/listinfo/python-list

Re: find the error

2014-09-12 Thread Chris Angelico
On Sat, Sep 13, 2014 at 3:47 PM, daoudi...@gmail.com wrote: Dear friends when i used import urllib, re, sys symbol = sys.argv[1] this function is show -- symbol = sys.argv[1] IndexError: list index out of range kindly find the solution of this If you're using sys.argv, you need to

[issue22379] Empty exception message of str.join

2014-09-12 Thread Yongzhi Pan
Changes by Yongzhi Pan fossi...@users.sourceforge.net: -- versions: +Python 3.5 Added file: http://bugs.python.org/file36604/str_join_exception_message_1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22379

[issue22379] Empty exception message of str.join

2014-09-12 Thread Yongzhi Pan
Yongzhi Pan added the comment: I updated the patches. Since exceptions in 3 do not have a message attribute, I did not check them. Are they OK? -- Added file: http://bugs.python.org/file36605/test_for_35.diff ___ Python tracker

[issue22362] Warn about octal escapes 0o377 in re

2014-09-12 Thread STINNER Victor
STINNER Victor added the comment: re_octal_escape_overflow_raise.patch: you should write a subfunction to not repeat the error message 3 times. +if c 0o377: Hum, I never use octal. 255 instead of 0o377 would be less surprising :-p By the way, you should also check for negative

[issue22389] Generalize contextlib.redirect_stdout

2014-09-12 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389 ___

[issue22389] Generalize contextlib.redirect_stdout

2014-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 on Victor's suggestion. I don't think hypergeneralizing it is the way to go. That adds too much complexity for too little benefit. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org

[issue22389] Generalize contextlib.redirect_stdout

2014-09-12 Thread STINNER Victor
STINNER Victor added the comment: redirect_stdout(stderr, stream) looks wrong to be: you want to redirect stdout or stderr? If you want to redirect something else (ex: stdin), you can still implement the very simple pattern: old_stdin = sys.stdin try: sys.stdin = mock_input ... finally:

[issue19232] Speed up _decimal import

2014-09-12 Thread STINNER Victor
STINNER Victor added the comment: We could speed up the import further by not importing collections in _decimal. That could be done once structseq fully implements the namedtuple protocol (for DecimalTuple). I suggest to close this issue. I guess that importing decimal is already fast enough,

[issue22348] Documentation of asyncio.StreamWriter.drain()

2014-09-12 Thread STINNER Victor
STINNER Victor added the comment: IMO we should mention the write buffer limits (high- and low-water limits for write flow control). get_write_buffer_limits() and set_write_buffer_limits() methods of the transport are public, there is no reason to hide them. --

[issue22389] Generalize contextlib.redirect_stdout

2014-09-12 Thread Nick Coghlan
Nick Coghlan added the comment: I'm fine with adding redirect_stderr - better to have the obvious counterpart, rather than hypergeneralising, or having to explain why it's missing. It's *currently* missing largely on a wait for someone to ask basis, and Barry asked. (Tangentially related, I

[issue22348] Documentation of asyncio.StreamWriter.drain()

2014-09-12 Thread Martin Richard
Martin Richard added the comment: Here is an other patch which mentions high and low water limits. I think it's better to talk about it, since it tells extactly what a full buffer and partially drained means. On the other hand, StreamWriter wraps the transport but does not expose the

[issue19232] Speed up _decimal import

2014-09-12 Thread Stefan Krah
Stefan Krah added the comment: I'm fine with closing this. The structseq issue is #1820. -- resolution: - fixed stage: patch review - resolved status: open - closed versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue22378] SO_MARK support for Linux

2014-09-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22378 ___ ___ Python-bugs-list mailing

[issue20631] python readline module crashing on NULL access

2014-09-12 Thread Ismail Donmez
Ismail Donmez added the comment: Can we please get a review on this? -- nosy: +cartman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20631 ___ ___

[issue20631] python readline module crashing on NULL access

2014-09-12 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20631 ___ ___ Python-bugs-list

[issue22379] Empty exception message of str.join

2014-09-12 Thread R. David Murray
R. David Murray added the comment: You can check .args[0] in python3. Can you include a complete patch for python3? Your test_for_35 only has a change for test_bytes, not the ones for string_tests. -- ___ Python tracker rep...@bugs.python.org

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

2014-09-12 Thread Michał Górny
Michał Górny added the comment: In CPython, the _ssl module is compiled in C. How can we check if libssl provides RAND_egd() or not at compile time? How about... checking whether the function is provided? Unless I'm missing some major point, AC_CHECK_FUNC should be good enough. Is there a

[issue20334] make inspect Signature hashable

2014-09-12 Thread Yury Selivanov
Yury Selivanov added the comment: Antonie, I'm attaching a patch (issue20334-2.01.patch) to this issue which should fix the problem. Please review. -- Added file: http://bugs.python.org/file36607/issue20334-2.01.patch ___ Python tracker

[issue22394] Update documentation building to use venv and pip

2014-09-12 Thread Brett Cannon
New submission from Brett Cannon: Now that we have ensurepip, is there any reason to not have the Doc/ Makefile create a venv for building the docs instead of requiring people to install sphinx into either their global Python interpreter or some venv outside of their checkout? Basically it

[issue16104] Compileall script: add option to use multiple cores

2014-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9efefcab817e by Brett Cannon in branch 'default': Issue #16104: Allow compileall to do parallel bytecode compilation. http://hg.python.org/cpython/rev/9efefcab817e -- nosy: +python-dev ___ Python tracker

[issue16104] Compileall script: add option to use multiple cores

2014-09-12 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Claudiu! -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16104

[issue16104] Compileall script: add option to use multiple cores

2014-09-12 Thread Claudiu Popa
Claudiu Popa added the comment: Thank you for committing it. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16104 ___ ___ Python-bugs-list

[issue22381] update zlib in 2.7 to 1.2.8

2014-09-12 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22381 ___

[issue22389] Generalize contextlib.redirect_stdout

2014-09-12 Thread Berker Peksag
Berker Peksag added the comment: Here's a simple implementation. I will add tests and update the documentation. -- keywords: +patch nosy: +berker.peksag stage: - patch review Added file: http://bugs.python.org/file36608/issue22389.diff ___ Python

[issue22362] Warn about octal escapes 0o377 in re

2014-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: By the way, you should also check for negative numbers. Not in this case. You can't construct negative number from three octal digits. -- ___ Python tracker rep...@bugs.python.org

[issue22253] ConfigParser does not handle files without sections

2014-09-12 Thread kernc
kernc added the comment: I am dubious that there are any with a mixture of both sections and additional option lines at the top without a section. rsyncd.conf [1] is one such example, and I wouldn't say there aren't countless more in the wild. Anyone writing an app and planning to parse a

[issue22395] test_pathlib error for complex symlinks on Windows

2014-09-12 Thread Justin Foo
New submission from Justin Foo: The _check_complex_symlinks function compares paths for string equality instead of using the assertSame helper function. Patch attached. -- components: Tests messages: 226828 nosy: jfoo priority: normal severity: normal status: open title: test_pathlib

[issue22395] test_pathlib error for complex symlinks on Windows

2014-09-12 Thread Justin Foo
Justin Foo added the comment: The _check_complex_symlinks function compares stringified paths for string equality instead of using the assertSame helper method. Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file36609/issue22395.patch

[issue22356] mention explicitly that stdlib assumes gmtime(0) epoch is 1970

2014-09-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22356 ___ ___ Python-bugs-list

[issue22393] multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly

2014-09-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22393 ___ ___ Python-bugs-list

[issue22379] Empty exception message of str.join

2014-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can check .args[0] in python3. Or str(cm.exception). This works on 2.7 too. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22379

[issue22395] test_pathlib error for complex symlinks on Windows

2014-09-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22395 ___ ___ Python-bugs-list

[issue20334] make inspect Signature hashable

2014-09-12 Thread Antony Lee
Antony Lee added the comment: While your patch works, I think it is a good opportunity to simplify the implementation of Signature.__eq__, which is *much* more complicated than what it should be. Please comment on the attached patch, which uses the helper method approach I suggested.

[issue22395] test_pathlib error for complex symlinks on Windows

2014-09-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you explain in which case the assertion breaks? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22395 ___

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

2014-09-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Unless I'm missing some major point, AC_CHECK_FUNC should be good enough. Building extension modules such as ssl doesn't involve autoconf. Do you want to make silly assumptions on API depending on provider name, and then add extra conditionals for

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-12 Thread David Edelsohn
New submission from David Edelsohn: As with Solaris and Issue10812, test_posix fadvise and fallocate fail on AIX. Python is compiled with _LARGE_FILES, which changes the function signature for posix_fadvise and posix_fallocate so that off_t is long long on 32 bit system passed in two

[issue22253] ConfigParser does not handle files without sections

2014-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Microsoft Windows INI files, POSIX-compatible config files, and other formats (e.g. Java properties files) use different methods for escaping, quoting, line continuing, interpolations, etc. Actually there are more differences than similarity between them.

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: The Python call to those functions does not place the arguments in the correct registers Well... isn't there a way to fix this? I don't understand how this issue can come up. -- ___ Python tracker

[issue22397] test_socket failure on AIX

2014-09-12 Thread David Edelsohn
New submission from David Edelsohn: AIX has the same test_socket problem with FDPassSeparate as Darwin in Issue12958 so skip some tests. -- components: Library (Lib) files: 12958_aix.patch keywords: patch messages: 226837 nosy: David.Edelsohn, pitrou priority: normal severity: normal

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See similar Ruby issue: https://bugs.ruby-lang.org/issues/9914 . As workaround we can redeclare posix_fadvise as int posix_fadvise(int fd, long offset, long len, int advice) on 32-bit AIX with enabled _LARGE_FILES. More safe option is to disable

[issue22398] Tools/msi enhancements for 2.7

2014-09-12 Thread Steve Dower
New submission from Steve Dower: This patch has some minor changes to the build scripts for Python 2.7 on Windows. They're fully tested on my build machine, but I wanted someone who's more familiar with how the buildbots are set up to either confirm that the Tools/msi scripts are not used or

[issue22397] test_socket failure on AIX

2014-09-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22397 ___ ___ Python-bugs-list

[issue20334] make inspect Signature hashable

2014-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b974b61e74d by Yury Selivanov in branch 'default': inspect.Signature: Fix discrepancy between __eq__ and __hash__. http://hg.python.org/cpython/rev/3b974b61e74d -- ___ Python tracker

[issue20334] make inspect Signature hashable

2014-09-12 Thread Yury Selivanov
Yury Selivanov added the comment: Antony, I've tweaked the patch a bit and it's now in default branch. Thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20334 ___

[issue22343] Install bash activate script on Windows when using venv

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - test needed versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22343 ___

[issue22398] Tools/msi enhancements for 2.7

2014-09-12 Thread Zachary Ware
Zachary Ware added the comment: Actually, I think the method Martin used was to create a local config.py in Tools/msi/, which provided the proper settings for the release. See http://hg.python.org/cpython/file/2.7/Tools/msi/msi.py#l37 Either way, the buildbots are completely unaffected by

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22351 ___ ___ Python-bugs-list mailing

[issue22398] Tools/msi enhancements for 2.7

2014-09-12 Thread Steve Dower
Steve Dower added the comment: Thanks for confirming. Somehow I never noticed the import config line - guess that's a pattern I'm not really used to seeing. Still, I prefer having the env variables there as I invoke the scripts through some batch files (very specific to my machine,

[issue22398] Tools/msi enhancements for 2.7

2014-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c55a7bfec0c by Steve Dower in branch '2.7': #22398 Tools/msi enhancements for 2.7 http://hg.python.org/cpython/rev/5c55a7bfec0c -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue22398] Tools/msi enhancements for 2.7

2014-09-12 Thread Steve Dower
Changes by Steve Dower steve.do...@microsoft.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22398 ___

[issue22399] Doc: missing anchor for dict in library/functions.html

2014-09-12 Thread Philippe Dessauw
New submission from Philippe Dessauw: There is a missing anchor for the dict functions in the documentation at library/functions.html. It is present in the documentation of all python version. It seems to impact cross-referencing in Sphinx (using intersphinx). -- assignee:

[issue22354] Idle: highlite tabs

2014-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that this is an issue, and I believe others have made similar comments or requests, but I cannot find an existing issue for this. By experiment, it is possible to tag a tab and change the background color for the spaces a tab is visually converted to.

[issue22355] inconsistent results with inspect.getsource / .getsourcelines

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: inconsistent results with inspect.getsource() / inspect.getsourcelines() - inconsistent results with inspect.getsource / .getsourcelines versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22360 ___

[issue22364] Unify error messages of re and regex

2014-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I prefer cannot for error messages. Can't is an informal version of cannot, used in speech, dialog representing speech, and 'informal' writing. It looks wrong to me in this context. -- nosy: +terry.reedy ___

[issue22375] urllib2.urlopen().read().splitlines() opening a directory in a FTP server randomly returns incorrect results

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - duplicate stage: - resolved superseder: - urllib2.urlopen().read().splitlines() opening a directory in a FTP server randomly returns incorrect result ___ Python tracker

[issue22376] urllib2.urlopen().read().splitlines() opening a directory in a FTP server randomly returns incorrect result

2014-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You should have just added a new message to #22375 with the revision. #15002 ends with This is fixed in 3.4 and 3.5. I will backport to 2.7 ( I think, it is worth it). Please check whether the backport has been done or whether current you still have a problem

[issue22378] SO_MARK support for Linux

2014-09-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - test needed versions: +Python 3.5 -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22378 ___

[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

2014-09-12 Thread koobs
koobs added the comment: See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192365 -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17120 ___

[issue22388] Unify style of Contributed by notes

2014-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with making a complete and separate sentence. There are 3 variations. -- Add parenthetical note after last sentence. (Contributed by me.) -- Add note on next line after short line. (Contributed by me. -- Add note after a blank line. (Contributed by

[issue20537] logging exc_info parameter should accept exception instances

2014-09-12 Thread Yury Selivanov
Yury Selivanov added the comment: Vinay, Please take a look at the second patch -- 'logging_02.patch' -- with updated docs -- Added file: http://bugs.python.org/file36614/logging_02.patch ___ Python tracker rep...@bugs.python.org

[issue22394] Update documentation building to use venv and pip

2014-09-12 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22394 ___ ___

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-09-12 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22351 ___ ___ Python-bugs-list

  1   2   >