Re: OT: This Swift thing

2014-06-18 Thread Bob Martin
in 723903 20140617 121638 alister alister.nospam.w...@ntlworld.com wrote: On Tue, 17 Jun 2014 08:34:13 +1000, Chris Angelico wrote: Partly that. But also, people want to know how long that will *really* last. For instance, 10 hours of battery life... doing what? Can I really hop on a plane

Re: Python Noob, open file dialog

2014-06-18 Thread cutey Love
No it's still paused after selection and only excutes when the window is closed. On Tuesday, June 17, 2014 6:34:41 PM UTC+1, MRAB wrote: On 2014-06-17 17:49, cutey Love wrote: My first attempt at Python, I'm using Tkinter and all is going well except when I'm using

Re: Python Noob, open file dialog

2014-06-18 Thread Chris Angelico
On Wed, Jun 18, 2014 at 5:36 PM, cutey Love cuteywithl...@gmail.com wrote: No it's still paused after selection and only excutes when the window is closed. Treat the file dialog exactly the way you would in a text editor or word processor. Does your program continue as normal then? If not,

Re: Python Noob, open file dialog

2014-06-18 Thread alister
On Wed, 18 Jun 2014 00:36:29 -0700, cutey Love wrote: No it's still paused after selection and only excutes when the window is closed. On Tuesday, June 17, 2014 6:34:41 PM UTC+1, MRAB wrote: On 2014-06-17 17:49, cutey Love wrote: My first attempt at Python, I'm using Tkinter and all

Re: Python Noob, open file dialog

2014-06-18 Thread cutey Love
I'm on windows, I'm going to uninstall python and reinstall On Wednesday, June 18, 2014 9:32:40 AM UTC+1, alister wrote: On Wed, 18 Jun 2014 00:36:29 -0700, cutey Love wrote: No it's still paused after selection and only excutes when the window is closed. On Tuesday, June

Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread crow
Hi. I'm writing some scripts with python, and I found sometimes, when I try to use time.sleep(1) to sleep 1 sec, it would actually sleep for 9 secs or even longer. From python document, I saw this: time.sleep(secs) Also, the suspension time may be longer than requested by an arbitrary

Re: Create flowcharts from Python

2014-06-18 Thread Nagy László Zsolt
Is there a library for Python that can easily create flowcharts using a simple API? Maybe https://code.google.com/p/pydot/ ? Found another one: http://pygraphviz.github.io/ - this one seems to have better documentation. pydot may be functional but I could not find documentation on it. --

celery errors in eclipse

2014-06-18 Thread xeon Mailinglist
I am using celery in my program to invoke remote functions using a message queueing service (RabbitMQ). I call my function with celery with this: myfunc.apply_async(queue=cluster, args=(chain, cluster, )), but although the call is correct and it works, in eclipse I get the error that

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread Chris Angelico
On Wed, Jun 18, 2014 at 7:52 PM, crow wen...@gmail.com wrote: So, my question: under what kind of condition, time.sleep would suspend longer time than expected? Anybody got interested? There are several reasons the sleep time is always described as at least that long. Firstly, your process

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread Marko Rauhamaa
crow wen...@gmail.com: I'm writing some scripts with python, and I found sometimes, when I try to use time.sleep(1) to sleep 1 sec, it would actually sleep for 9 secs or even longer. [...] So, my question: under what kind of condition, time.sleep would suspend longer time than expected?

python newbie

2014-06-18 Thread Maura E Monville
My supervisor has palmed me off with a python code, written by a collaborator, which implements an algorithm aimed at denoising the dose distribution (energy per unit mass) output from a radiation transport Monte Carlo code. My task is to translate the python code into a MatLab code. A colleague

Re: python newbie

2014-06-18 Thread Steven D'Aprano
On Wed, 18 Jun 2014 05:10:03 -0700, Maura E Monville wrote: My supervisor has palmed me off with a python code, written by a collaborator, which implements an algorithm aimed at denoising the dose distribution (energy per unit mass) output from a radiation transport Monte Carlo code. My task

Re: python newbie

2014-06-18 Thread Maura E Monville
On Wednesday, June 18, 2014 1:50:54 PM UTC+1, Steven D'Aprano wrote: On Wed, 18 Jun 2014 05:10:03 -0700, Maura E Monville wrote: My supervisor has palmed me off with a python code, written by a collaborator, which implements an algorithm aimed at denoising the dose distribution

Re: Python Noob, open file dialog

2014-06-18 Thread Mark Lawrence
On 18/06/2014 10:03, cutey Love wrote: I'm on windows, I'm going to uninstall python and reinstall On Wednesday, June 18, 2014 9:32:40 AM UTC+1, alister wrote: Please also see the various comments regarding top posting google groups Please note that if you carry on top posting and

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread crow
Hi, Chris Marko Thanks for your reply. I find the reason why my time.sleep take longer time. In my script, I use wxPython to build up my GUI, and I open another thread to do network communications. It turned out that if you create a wx.Frame make it show up, then your time.sleep may sleep

Understanding Python Code

2014-06-18 Thread subhabangalore
Dear Group, I have a Python code taken from Wikipedia.(http://en.wikipedia.org/wiki/Forward%E2%80%93backward_algorithm;) The code is pasted below. states = ('Healthy', 'Fever') end_state = 'E' observations = ('normal', 'cold', 'dizzy') start_probability = {'Healthy': 0.6, 'Fever': 0.4}

Not Responding When Dealing with Large Data

2014-06-18 Thread cutey Love
I'm trying to read in 10 lines of text, use some functions to edit them and then return a new list. The problem is my program always goes not responding when the amount of lines are a high number. I don't care how long the program takes to work, just need it to stop crashing? --

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Philip Dexter
On Wed, Jun 18, 2014 at 1:20 PM, cutey Love cuteywithl...@gmail.com wrote: I'm trying to read in 10 lines of text, use some functions to edit them and then return a new list. The problem is my program always goes not responding when the amount of lines are a high number. I don't care

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Tim
On Wednesday, June 18, 2014 1:20:13 PM UTC-4, cutey Love wrote: I'm trying to read in 10 lines of text, use some functions to edit them and then return a new list. The problem is my program always goes not responding when the amount of lines are a high number. I don't care how long the

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread John Gordon
In 00d330e3-fc8a-4b7e-b2bd-f1a48bc33...@googlegroups.com cutey Love cuteywithl...@gmail.com writes: The problem is my program always goes not responding when the amount of lines are a high number. I don't care how long the program takes to work, just need it to stop crashing? How long have

Re: python newbie

2014-06-18 Thread Jim Gibson
In article fa433710-0953-4b4a-96f6-2f7d1b9af...@googlegroups.com, Maura E Monville maura.monvi...@gmail.com wrote: My supervisor has palmed me off with a python code, written by a collaborator, which implements an algorithm aimed at denoising the dose distribution (energy per unit mass) output

Re: Understanding Python Code

2014-06-18 Thread Ian Kelly
On Wed, Jun 18, 2014 at 10:36 AM, subhabangal...@gmail.com wrote: The questions are, i) prev_f_sum = sum(f_prev[k]*a[k][st] for k in states) here f_prev is called, f_prev is assigned to f_curr [f_prev = f_curr] f_curr[st] is again being calculated as, [f_curr[st] = e[st][x_i] *

Re: pypi - package metdata

2014-06-18 Thread Maciej Dziardziel
On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote: I wasn't quiet happy with the way search on pypi works, so I've got an idea of getting all package metadata from pypi and do search locally. The only problem is that I can't figure out where to get the data from. I

pypi - package metdata

2014-06-18 Thread Maciej Dziardziel
I wasn't quiet happy with the way search on pypi works, so I've got an idea of getting all package metadata from pypi and do search locally. The only problem is that I can't figure out where to get the data from. I tried to use bandersnatch to set up mirror, but all I've got was a mixture of egg,

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Michael Torrie
On 06/18/2014 11:20 AM, cutey Love wrote: I'm trying to read in 10 lines of text, use some functions to edit them and then return a new list. The problem is my program always goes not responding when the amount of lines are a high number. I don't care how long the program takes to

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Paul McNett
On 6/18/14, 10:20 AM, cutey Love wrote: I'm trying to read in 10 lines of text, use some functions to edit them and then return a new list. How is it that you are opening the file, and iterating the contents? The problem is my program always goes not responding when the amount of lines

Re: pypi - package metdata

2014-06-18 Thread Mark Lawrence
On 18/06/2014 20:24, Maciej Dziardziel wrote: On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote: I wasn't quiet happy with the way search on pypi works, so I've got an idea of getting all package metadata from pypi and do search locally. The only problem is that I can't

Re: Generate Single PowerPoint from two powerpoints using pywin32(python)

2014-06-18 Thread Paul McNett
On 6/16/14, 11:20 PM, Jaydeep Patil wrote: I have two powerpoints, which consists of images in each slide. I need to read each powerpoint, copy images from both powerpoint paste these images into output powerpoint side by side. How should i do thism using python? The repoisition of shapes

Re: pypi - package metdata

2014-06-18 Thread Terry Reedy
On 6/18/2014 3:24 PM, Maciej Dziardziel wrote: On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote: I wasn't quiet happy with the way search on pypi works, so I've got an idea of getting all package metadata from pypi and do search locally. The only problem is that I can't

Re: pypi - package metdata

2014-06-18 Thread Maciej Dziardziel
On Wednesday, June 18, 2014 9:12:46 PM UTC+1, Mark Lawrence wrote: Why not use google and do a site specific search of pypi? I am looking for good use of elasticsearch I have there, rather then quick way of finding something once quickly. Neither pypi nor google provide faceting for example.

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread cutey Love
Hi, thanks for the replies, I mean windows displays Not responding close the program now How can I do it asynconistrically? It's simple code just open file, loop through line by line and do some comparons with the string. On Wednesday, June 18, 2014 6:20:13 PM UTC+1, cutey Love wrote: I'm

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Paul McNett
On 6/18/14, 3:32 PM, cutey Love wrote: Hi, thanks for the replies, I mean windows displays Not responding close the program now How can I do it asynconistrically? It's simple code just open file, loop through line by line and do some comparons with the string. To get anything better from

Python Fails to Write to File

2014-06-18 Thread cutey Love
I'm trying to write data to a text file But I'm getting the error: TypeError: invalid file: _io.TextIOWrapper Code is def saveFile(): file_path = filedialog.asksaveasfile(mode='w', filetypes=[('text files', '.txt')], defaultextension=.txt) fo = open(file_path, 'w') for e in

Re: Python Fails to Write to File

2014-06-18 Thread Ian Kelly
On Wed, Jun 18, 2014 at 5:03 PM, cutey Love cuteywithl...@gmail.com wrote: I'm trying to write data to a text file But I'm getting the error: TypeError: invalid file: _io.TextIOWrapper Post the full traceback. By posting only the error message you're removing useful information. --

Re: Python Fails to Write to File

2014-06-18 Thread Paul McNett
On 6/18/14, 4:03 PM, cutey Love wrote: I'm trying to write data to a text file But I'm getting the error: TypeError: invalid file: _io.TextIOWrapper Always better to err on posting too much context (the entire traceback) than too little. Code is def saveFile(): file_path =

Re: Not Responding When Dealing with Large Data

2014-06-18 Thread Ian Kelly
On Wed, Jun 18, 2014 at 4:32 PM, cutey Love cuteywithl...@gmail.com wrote: Hi, thanks for the replies, I mean windows displays Not responding close the program now How can I do it asynconistrically? It's simple code just open file, loop through line by line and do some comparons with the

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread Chris Angelico
On Thu, Jun 19, 2014 at 1:24 AM, crow wen...@gmail.com wrote: Here is a sample code that can reproduce this issue, you need to wait for it to run for a while. ** import time import threading import wx def sleep(): while True: t = time.time()

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread crow
Hi, Chris Thanks for the suggestion. For my script, I want to download a picture from internet show it in a window, that's why I use wxPython. Well, I think I may can avoid sleep in wxPython in 2 ways: 1. Use web.py, let python do backend work, let browser show me everything. As you

Re: Under what kind of situation, time.sleep(n) would sleep much longer than n seconds?

2014-06-18 Thread Chris Angelico
On Thu, Jun 19, 2014 at 11:41 AM, crow wen...@gmail.com wrote: Thanks for the suggestion. For my script, I want to download a picture from internet show it in a window, that's why I use wxPython. Well, I think I may can avoid sleep in wxPython in 2 ways: 1. Use web.py, let python do

Re: Understanding Python Code

2014-06-18 Thread subhabangalore
On Thursday, June 19, 2014 12:45:49 AM UTC+5:30, Ian wrote: The questions are, i) prev_f_sum = sum(f_prev[k]*a[k][st] for k in states) here f_prev is called, f_prev is assigned to f_curr [f_prev = f_curr] f_curr[st] is again being calculated as, [f_curr[st] = e[st][x_i] *

how to check if a value is a floating point or not

2014-06-18 Thread nicholascannon1
I am making a calculator and i need it to support floating point values but i am using the function isnumeric to check if the user has entered an int value. I need the same for floating point types so i could implement an or in the if statement that checks the values the user has entered and

[issue11736] windows installers ssl module / openssl broken for some sites

2014-06-18 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11736 ___

[issue9727] Add callbacks to be invoked when locale changes

2014-06-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing as won't fix, then. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9727 ___

[issue21772] platform.uname() not EINTR safe

2014-06-18 Thread Charles-François Natali
Charles-François Natali added the comment: I'm surprised that the Python read() method doesn't handle EINTR internally. I'm in favor of handling EINTR internally almost everywhere, I mean in the Python modules implemented in the C, not in each call using these C methods. handling EINTR

[issue21793] httplib client/server status refactor

2014-06-18 Thread Demian Brecht
Demian Brecht added the comment: Attached new patch with changes from review and a stab at an update to the docs. -- Added file: http://bugs.python.org/file35680/refactor_http_status_codes_1.patch ___ Python tracker rep...@bugs.python.org

[issue11097] MSI: Remove win32com dependency from installer generator

2014-06-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is a high chance that 3.5 might use an entirely different MSI generator, possibly based on WiX. If that happens, this issue will be outdated. -- ___ Python tracker rep...@bugs.python.org

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread Michael Foord
Michael Foord added the comment: Zachary: Inheriting from TestCase in your mixin is actually an anti-pattern. And yes, most people seem to do it (most people seem to misunderstand how to use mixins, which is why I like this approach of having a way of explicitly marking base classes).

[issue10595] Adding a syslog.conf reader in syslog

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10595 ___ ___

[issue10524] Patch to add Pardus to supported dists in platform

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: Unfortunately, Pardus is dead now. So closing this as out of date. -- nosy: +berker.peksag resolution: - out of date stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Class decorator approach looks less obvious to me. Looking at current standard mixing approach I understand what it do and why. But encountering the unittest.base_class decorator, I need to look in the documentation and/or sources to understand how it

[issue21755] test_importlib.test_locks fails --without-threads

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: See also http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/6779/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21755

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread Michael Foord
Michael Foord added the comment: To be honest, even though I understand it, I find the mixin pattern hard to read. You derive from object, but call methods (the assert methods for example) that don't exist in the class (or its inheritance chain). My experience, with even experienced Python

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2014-06-18 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: Added file: http://bugs.python.org/file35681/ull_vctest.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15993 ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Just want to restate my +1 for Michael's idea. I'm hit by this all the time and it is beautiful and expressive. It also does not preclude the annoying mix-in way of doing it. -- ___ Python tracker

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2014-06-18 Thread Stefan Krah
Stefan Krah added the comment: The two issues were unrelated - the 'invalid filter ID' (4611686018427387905 == 0x4000_0001) is the correct value but the wrong branch in the switch was taken, leading to the error message. Unfortunately I don't have a Visual Studio setup right now.

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that we have to use mixin approach in the Python test suite to avoid discrepancies and merge conflicts between different versions. -- ___ Python tracker rep...@bugs.python.org

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-18 Thread Glenn Langford
Changes by Glenn Langford glenn.langf...@gmail.com: -- nosy: -glangford ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20319 ___ ___

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-18 Thread Sebastian Kreft
Sebastian Kreft added the comment: @glangford: Is that really your recommendation, to switch to celery? Python 3.4.1 should be production quality and issues like this should be addressed. Note that I've successfully run millions of tasks using the same method, the only difference being that

[issue11191] test_search_cpp error on AIX (with xlc)

2014-06-18 Thread Sébastien Sablé
Sébastien Sablé added the comment: I don't have any AIX environment to try to reproduce the issue, so feel free to close it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11191 ___

[issue21801] inspect.signature doesn't always return a signature

2014-06-18 Thread Claudiu Popa
New submission from Claudiu Popa: Hello. I noticed the following behaviour while working with xmlrpc proxy methods. import inspect, xmlrpc.client proxy = xmlrpc.client.ServerProxy('http://localhost:8000') proxy.mul xmlrpc.client._Method object at 0x03B0C890 inspect.signature(proxy.mul)

[issue16136] Removal of VMS support

2014-06-18 Thread John Malmberg
John Malmberg added the comment: Most of the issues needed to build python3 properly on VMS involve either bugs in the VMS C API that need to be worked around or missing libraries that Python3 expects to have. As none of the Python developers should need to care about this, and these issues

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-18 Thread R. David Murray
R. David Murray added the comment: Issue 19645 is an alternative way to solve the problem of calling methods on the mixin that don't exist, and has other benefits. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534

[issue11129] logging: allow multiple entries in qualname config

2014-06-18 Thread Dariusz Suchojad
Dariusz Suchojad added the comment: Hello friends, @vinay.sajip - the use case for this feature is actually something I come across fairly often. In an application I have dozens and hundreds of logger instances. However, they all fall into one of several loggers. Most of the instances are

[issue16136] Removal of VMS support

2014-06-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think this is a good plan. Legacy platforms can me maintained by interested parties as a friendly fork. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16136

[issue20069] Add unit test for os.chown

2014-06-18 Thread Claudiu Popa
Claudiu Popa added the comment: os.chown is not available on Windows. But maybe pwd can't be built on any Unix system, so not using import_module is okay. = I can not because assertRaisesRegex can not be used with with statement. Not true (see

[issue20069] Add unit test for os.chown

2014-06-18 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the patch based on Claudiu's comment and Serhiy's commit (http://hg.python.org/cpython/rev/4b187f5aa960). Claudiu (Thanks!!!), I can not apply two of your suggestions: You could use support.import_module here in order to skip the test if pwd can't be

[issue21798] Allow adding Path or str to Path

2014-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with David. And, it already works, but uses '/', not '+': b / _name.dat PosixPath('/tmp/some_base/_name.dat') -1 to using + to be the equivalent of: pathlib.Path(str(b) + _name.dat) PosixPath('/tmp/some_base_name.dat') -- nosy: +eric.smith

[issue21798] Allow adding Path or str to Path

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, not trying to pretend to act like a string was one of the design points of the pathlib module, and the / operator already performs logical path joining. I'm therefore closing this issue as rejected. -- resolution: - rejected status: open -

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2014-06-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Current implementation of BufferedRWPair.close() is: def close(self): self.writer.close() self.reader.close() When self.writer.close() raises an exception, self.reader left non-closed. This can cause file description leak unless GC

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Martin. I will take a look soon at the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21722 ___

[issue21803] Remove macro indirections in complexobject

2014-06-18 Thread Antoine Pitrou
New submission from Antoine Pitrou: I thought this would make things less confusing to read. -- components: Interpreter Core files: complex_macros.patch keywords: patch messages: 220947 nosy: mark.dickinson, pitrou priority: low severity: normal stage: patch review status: open title:

[issue1576313] os.execvp[e] on win32 fails for current directory

2014-06-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'd intended to write a patch but got confused as msg51241 talks about execlp() in msvcrt but execlp is in the os module. Please advise. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this or could this be addressed via the new pathlib module? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3485 ___

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a854d23305de by Ned Deily in branch '3.4': Issue #3485: remove misleading comment http://hg.python.org/cpython/rev/a854d23305de New changeset 3edda677119e by Ned Deily in branch 'default': Issue #3485: merge from 3.4

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Ned Deily
Ned Deily added the comment: The misleading TODO comment has been removed. -- resolution: accepted - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3485

[issue1576313] os.execvp[e] on win32 fails for current directory

2014-06-18 Thread R. David Murray
R. David Murray added the comment: os.execlp *wraps* the interface of the same name in the platform C library. On Windows, that is execlp in the msvcrt[*]. On Linux, it is usually the execlp in glibc. [*] 'crt' stands for 'C runtime'. -- ___

[issue11129] logging: allow multiple entries in qualname config

2014-06-18 Thread Vinay Sajip
Vinay Sajip added the comment: they really should share the logging configuration Well, that's easy enough to do - although there would be some duplication in the .ini file, it is not especially onerous. While I well understand the benefits of DRY, I still don't believe this is a very common

[issue21794] stack frame contains name of wrapper method, not that of wrapped method

2014-06-18 Thread Zachary Ware
Zachary Ware added the comment: I agree with Josh; I don't think there's any bug here. To confirm, I expanded on your example, reproduced below. Have a look at and play around with this, and if you still believe something is wrong, ask on python-list and the folks there should be able to

[issue10310] signed:1 bitfields rarely make sense

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1410680] Add 'surgical editing' to ConfigParser

2014-06-18 Thread R. David Murray
R. David Murray added the comment: According to a review done at the PyCon 2014 sprints, comment and blank line preservation has not yet been implemented. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
New submission from Milan Oberkirch: The poplib classes already use Unicode internally (for everything but capability names). So to implement the UTF8 part of RFC 6856 we only need to enable the user to switch to UTF-8 mode if supported by the server. -- components: email files:

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: Removed file: http://bugs.python.org/file35686/poputf8.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21804 ___

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: Added file: http://bugs.python.org/file35687/poputf8.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21804 ___

[issue21625] help()'s more-mode is frustrating

2014-06-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21625 ___ ___ Python-bugs-list mailing list

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d86214c98a9c by Antoine Pitrou in branch '3.4': Issue #21722: The distutils upload command now exits with a non-zero return code when uploading fails. http://hg.python.org/cpython/rev/d86214c98a9c New changeset 979aaa08c067 by Antoine Pitrou in

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've now committed the fix. Thank you for your contribution! -- resolution: - fixed stage: - resolved status: open - closed type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf70f030a744 by Antoine Pitrou in branch '2.7': Issue #21722: The distutils upload command now exits with a non-zero return code when uploading fails. http://hg.python.org/cpython/rev/cf70f030a744 --

[issue21805] Argparse Revert config_file defaults

2014-06-18 Thread d0n
New submission from d0n: Hi, first of all I want to thank you (bethard) for your great work and efforts on developing argparse which is a great tool of versatile use in mostly all of my programs. I've faced a specific problem while implementing argparse which I have not been able to fix by