[issue23531] SSL operations cause entire process to hang

2015-03-01 Thread johnkw
johnkw added the comment: New testcase submitted without requests. Don't have access to the non-cygwin build so don't know there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23531 ___

[issue23476] SSL cert verify fail for www.verisign.com

2015-03-01 Thread Cory Benfield
Cory Benfield added the comment: My reading of the OpenSSL issue is that there are no negative side effects from turning this on. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23476 ___

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As far as I can tell, the original report was about a test failing due to a system-dependent behavior of time.asctime(). However, since changeset 1e62a0cee092 (see issue #8013), we no longer call system asctime. I believe the test disabled in

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: splitport() shouldn't handle auth, it should be called after auth is dropped with splituser(). The patch makes URL parsing slower, especially URLs with IPv6 addresses. $ ./python -m timeit -s from urllib.parse import urlparse, clear_cache --

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-03-01 Thread Davin Potts
Davin Potts added the comment: To be fair, the docs in 2.7 do actually mention the use of 'block' instead of 'blocking' in acquire though it does so inside a Note block a bit later in the docs after first claiming that multiprocessing.Lock is a clone. In 3.4, that important detail has been

[issue20210] Provide configure options to enable/disable Python modules and extensions

2015-03-01 Thread koobs
koobs added the comment: For what it's worth, we've been running with patch 0001 on FreeBSD's Python 3.4 port for 8 months with no issues [1]. It allows downstreams like us to easily customise what modules gets built, and offers substantial flexibility and benefits for various packaging

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-03-01 Thread Martin Panter
Martin Panter added the comment: See also Issue 20271, which has a proposed patch with more strict urlsplit() etc behaviour before even returning a SplitResult object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20059

Re: Question about python package numpy

2015-03-01 Thread Andrea D'Amore
On 2015-03-01 20:32:34 +, fl said: import numpy it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting code example snippet, such as Cookbook / ParticleFilter, Markov chain etc. I don't know how I can access these code examples, because I don't know where Enthought

[issue23476] SSL cert verify fail for www.verisign.com

2015-03-01 Thread Alex Gaynor
Alex Gaynor added the comment: It looks like the existing `verify_flags` param is actually the same thing, so we can just use it. That said, I think this should be on by default, I can't think of a scenario you don't want it. -- ___ Python tracker

Re: Question about python package numpy

2015-03-01 Thread fl
On Sunday, March 1, 2015 at 1:25:59 PM UTC-8, Andrea D'Amore wrote: On 2015-03-01 20:32:34 +, fl said: import numpy it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting code example snippet, such as Cookbook / ParticleFilter, Markov chain etc. I don't know how

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch eliminates undefined behavior, but I am not sure fixing this is worth the trouble. -- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file38290/issue13312.patch ___ Python

Re: An injury when I was a sbhoolboy; I was bitten by a bat.

2015-03-01 Thread Ben Finney
Ben Finney ben+pyt...@benfinney.id.au writes: (See URL:https://www.youtube.com/watch?v=Yz2LaJOVAiA if you have no idea what this is all about.) I was sloppy with my pronouns there. I'm pretty sure Roy knows what he's referring to; that “you” was directed to anyone who is not aware. -- \

[issue1724366] cPickle module doesn't work with universal line endings

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: msg185431 from #616013 states Three years later, I don't think anyone is interested in documenting the outdated cPickle. so I believe this should suffer the same fate. -- ___ Python tracker rep...@bugs.python.org

[issue23476] SSL cert verify fail for www.verisign.com

2015-03-01 Thread Christian Heimes
Christian Heimes added the comment: With the patch the flag is always set. Are there any possible side effects? IMHO it's better to add a store_flags property and make the feature optional. -- ___ Python tracker rep...@bugs.python.org

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-03-01 Thread Davin Potts
Davin Potts added the comment: In the docs for 2.7, multiprocessing.Lock refers to threading.Lock in which the signature for acquire looks like: threading.Lock.acquire([blocking]) However, in the current code in 2.7, Modules/_multiprocessing/semaphore.c implements

Re: Python Worst Practices

2015-03-01 Thread Roy Smith
In article clhf9mfn89...@mid.individual.net, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: But in documentation, in contexts where it's not critical, I'm more likely to use the spelling I'm most familiar with, which is colour. I can't imagine any English speaker, native or otherwise,

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: We still have the following in Lib/test/test_time.py: # Issue #13312: it may return wrong value for year TIME_MINYEAR + 1900 # Skip the value test, but check that no error is raised self.yearstr(TIME_MINYEAR) I reviewed the

OT Accents [was Re: Python Worst Practices]

2015-03-01 Thread Steven D'Aprano
Michael Torrie wrote: If you want a bit of fun, listen to Patrick Stewart reciting a poem in his native northern accent.  In school they drilled it out of him, I guess. And then you have people like Alexis Denisof, husband to Alyson Hannigan, best known for playing Wesley Wyndam-Pryce in

[issue9784] _msi.c warnings under 64-bit Windows

2015-03-01 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: +Windows nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9784 ___

[issue12137] Error EBADF in test_urllibnet

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as it's stated to be a transient failure and it's nearly four years old? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12137 ___

[issue21483] Skip os.utime() test on NFS?

2015-03-01 Thread Isaac Schwabacher
Isaac Schwabacher added the comment: Patch to do precisely this. Wish I'd spent more time searching for this thread and less time debugging; it would have saved me a lot of trouble. -- keywords: +patch nosy: +ischwabacher Added file: http://bugs.python.org/file38291/test_import.patch

[issue18082] Inconsistent behavior of IOBase methods on closed files

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18082 ___ ___ Python-bugs-list mailing list

Re: Python Worst Practices

2015-03-01 Thread alister
On Mon, 02 Mar 2015 07:26:22 +1100, Chris Angelico wrote: On Mon, Mar 2, 2015 at 7:16 AM, alister alister.nospam.w...@ntlworld.com wrote: Last time I was is the USA I had a local ask me which state London was in! (heck I know they only bother with their own history but I though we played

[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-03-01 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: Sorry should have been #17690. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 21:47, Roy Smith wrote: In article clhf9mfn89...@mid.individual.net, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: But in documentation, in contexts where it's not critical, I'm more likely to use the spelling I'm most familiar with, which is colour. I can't imagine any

[issue15286] normpath does not work with local literal paths

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: As ntpath was cleaned up on #15275 do we need this patch or not, especially given that pathlib made it into 3.4? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15286

[issue6911] Document changes in asynchat

2015-03-01 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6911 ___

[issue19873] There is a duplicate function in Lib/test/test_pathlib.py

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: Pang :( -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19873 ___ ___ Python-bugs-list mailing list Unsubscribe:

An injury when I was a sbhoolboy; I was bitten by a bat. (was: Python Worst Practices)

2015-03-01 Thread Ben Finney
Roy Smith r...@panix.com writes: In article clhf9mfn89...@mid.individual.net, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: But in documentation, in contexts where it's not critical, I'm more likely to use the spelling I'm most familiar with, which is colour. I can't imagine any

Re: Python Worst Practices

2015-03-01 Thread Mario Figueiredo
On Sun, 01 Mar 2015 22:45:12 +0200, Marko Rauhamaa ma...@pacujo.net wrote: Fact remains I can easily understand what Chinese, Mexican, Italian, Russian or Malay colleagues say in English. For some reason, Australian and Indian speakers don't give me trouble, either. The Irish accent is

Re: Python Worst Practices

2015-03-01 Thread BartC
On 01/03/2015 16:16, Marko Rauhamaa wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info: Marko Rauhamaa wrote: Learn it like everybody else has to. Stockholm Syndrome :-) I learned English, and so everyone else should too. No, the point is that if everybody else has taken the

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2015-03-01 Thread Martin Panter
Martin Panter added the comment: I suspect the proposed patch here would make some of the special error handling for the “port” property redundant, and would compete with my patch for Issue 20059, which raises ValueError in more cases when “port” is accessed, rather than returning None.

Re: Python Worst Practices

2015-03-01 Thread MRAB
On 2015-03-02 01:37, Dennis Lee Bieber wrote: On Sun, 1 Mar 2015 13:43:50 +1100, Chris Angelico ros...@gmail.com declaimed the following: losing performance. Conversely, I'm sure Python could also have been implemented on top of BASIC if someone felt like it, though what the advantages might

Re: Python Worst Practices

2015-03-01 Thread Steven D'Aprano
Marko Rauhamaa wrote: The language of science and technology is American English. Not so. Despite claims that 99% of science publishing is done in English, there are still significant amounts of science and technology published in non-English languages. And the majority which is published in

[issue23552] Have timeit warn about runs that are not independent of each other

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How it looks? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___ ___

[issue23290] Faster set copying

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. The last patch doesn't add more lookkey variants, it uses existing function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test still sporadically fails on Windows: http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/9323/steps/test/logs/stdio == FAIL: test_broken_pipe_cleanup

[issue20128] Re-enable test_modules_search_builtin() in test_pydoc

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't know what errors was on FreeBSD (logs are no longer available), but these tests modify sys.path and the list of weakrefs to logging handlers. They also require relative long time to run. -- ___ Python

[issue22364] Improve some re error messages using regex for hints

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please make a review? This patch is a prerequisite of other patches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22364 ___

ANN: grc 1.7 released

2015-03-01 Thread garabik-news-2005-05
This is generic colouriser, version 1.7. grc is a colouriser configured by regular expressions, including a simple command line wrapper for some commonly used unix commands. Notable changes in this version: - add the possibility to replace text in addition to colouring - add several

[issue20204] pydocs fails for some C implemented classes

2015-03-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20204 ___

[issue20128] Re-enable test_modules_search_builtin() in test_pydoc

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As said koobs, the full log was attached to issue20123. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20128 ___

[issue23555] behavioural change in argparse set_defaults in python 2.7.9

2015-03-01 Thread Matthias Klose
New submission from Matthias Klose: seen with ceph, https://launchpad.net/bugs/1413321 This appears to be a regression in the argparse package in python; under trusty ceph-disk works just fine, however in vivid, the cluster attribute remains unset (despite having a default of 'ceph').

ANN: grc 1.7 released

2015-03-01 Thread garabik-news-2005-05
This is generic colouriser, version 1.7. grc is a colouriser configured by regular expressions, including a simple command line wrapper for some commonly used unix commands. Notable changes in this version: - add the possibility to replace text in addition to colouring - add several

fades 2.0

2015-03-01 Thread Facundo Batista
Hello all, We're glad to announce the release of fades 2.0. fades, a FAst DEpendencies for Scripts, is a system that automatically handles the virtualenvs in the simple cases normally found when writing scripts or simple programs. It will automagically create a new virtualenv (or reuse a

[issue20204] pydocs fails for some C implemented classes

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset a192cc5a63be by Serhiy Storchaka in branch '3.4': Issue #20204: Added the __module__ attribute to _tkinter classes. https://hg.python.org/cpython/rev/a192cc5a63be New changeset 3244142eeafb by Serhiy Storchaka in branch 'default': Issue #20204:

[issue23553] Reduce the number of comparison for range checking.

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Parenthesis around Py_SIZE() are redundant. Are there any benchmarking results that show a speed up? Such microoptimization makes sense in tight loops, but optimized source code looks more cumbersome and errorprone. -- nosy: +pitrou

[issue23553] Reduce the number of comparison for range checking.

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e89094998b2 by Raymond Hettinger in branch 'default': Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic. https://hg.python.org/cpython/rev/1e89094998b2 -- nosy: +python-dev ___

[issue23553] Reduce the number of comparison for range checking.

2015-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think the source in listobject.c would be benefit from a well-named macro for this. That would provide the most clarity. For deques, I'll just put in the simple patch because it only applies to a place that is already doing unsigned

[issue23553] Reduce the number of comparison for range checking.

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My point is that if the benefit is too small (say 5% in microbenchmarks), it is not worth code churning. Actually my bar for microbenchmarks is higher, about 20%. -- ___ Python tracker rep...@bugs.python.org

[issue23290] Faster set copying

2015-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I still intend to apply some variant of your patch. Am still looking at the options. -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why not ignoring BrokenPipeError like communicate()? Why communicate() ignores BrokenPipeError? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was added in issue10963. I don't know if this way is applicable to this issue. -- nosy: +dmalcolm, pitrou, rosslagerwall resolution: fixed - stage: resolved - ___ Python tracker rep...@bugs.python.org

[issue10963] subprocess can raise OSError (EPIPE) when communicating with short-lived processes

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: self.stdout.close() also can fail with EPIPE or EINVAL if the stream is buffered (text streams are buffered). I.e. communicate() in text mode can loss the data. See also issue21619. -- nosy: +serhiy.storchaka ___

Re: PIL installation fails; registration problem

2015-03-01 Thread GerritM
Some more searching brought me to Pillow. That seems to work! No answer needed anymore on previous question. On Saturday, February 28, 2015 at 9:51:53 PM UTC+1, GerritM wrote: I am reinstalling everything on my new Windows 7 laptop. I run into a problem when installing PIL 1.1.7, in

[issue23555] behavioural change in argparse set_defaults in python 2.7.9

2015-03-01 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23555 ___ ___ Python-bugs-list mailing

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___

[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-03-01 Thread Antoine Amarilli
New submission from Antoine Amarilli: Hello, Python 2.7.8 and Python 3.4.2 (from Debian testing) have a different behavior on the attached file. Python 2 raises bar, Python 3 raises foo. I can't find an adequate explanation in the documentation for this behavior difference. It probably

[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-03-01 Thread SilentGhost
SilentGhost added the comment: There is this bit in https://docs.python.org/3/library/exceptions.html : When raising a new exception (rather than using a bare raise to re-raise the exception currently being handled),... I presume this can be also suitable for tutorial if it's not already

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2015-03-01 Thread STINNER Victor
STINNER Victor added the comment: I'm aware of the issue but I would prefer to not fix it. The first problem is that you didn't close the event loop. I modified recently the doc to explain at the begining that you should develop in the debug mode. In this mode, you will see a warning if you

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread STINNER Victor
STINNER Victor added the comment: Le dimanche 1 mars 2015, Serhiy Storchaka rep...@bugs.python.org a écrit : Why communicate() ignores BrokenPipeError? It's more convinient. There is nothing useful you can do on pipe error in communicate(). For __exit__, what do you want to on broken pipe

[ANN] jsonrpclib-pelix 0.2.5

2015-03-01 Thread Thomas Calmant
== jsonrpclib-pelix 0.2.5 == jsonrpclib-pelix 0.2.5 has just been released ! What is it ? This library is an implementation of the JSON-RPC specification, for Python 2.6+ and 3.x. It supports both the original 1.0 specification, as well as

[issue10716] Modernize pydoc to use better HTML and separate CSS

2015-03-01 Thread Ismail Donmez
Ismail Donmez added the comment: Any update on this? Would be nice to have this for 3.5 release. -- nosy: +cartman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When you write to the file you don't want the error was silently ignored. with open(filename, 'w') as f: f.write(content) And also I don't want the error was silently ignored when write to the subprocess. with subprocess.Popen(cmd,

[issue23557] Misc/SpecialBuilds.txt contains outdated information about PYMALLOC_DEBUG

2015-03-01 Thread Jakub Klama
New submission from Jakub Klama: Section describing block layout under PYMALLOC_DEBUG is wrong - it doesn't contain information about API type byte instead of one of forbidden bytes. That may lead to wrong assumption that one of forbidden bytes is being overwritten until you dig into

[issue23553] Reduce the number of comparison for range checking.

2015-03-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___

[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-03-01 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +collinwinter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list

Re: Python Worst Practices

2015-03-01 Thread BartC
On 01/03/2015 02:08, Steven D'Aprano wrote: BartC wrote: On 28/02/2015 15:33, Mark Lawrence wrote: It also makes me wonder what idiot decided to use C as the language for the first Python implementation? Or was it written in something else and then ported? Python was already slow enough

[issue20128] Re-enable test_modules_search_builtin() in test_pydoc

2015-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With test_synopsis_sourceless and test_non_ascii there were different issues, related to -OO. Fixed in changesets 663a83c1d42d, d7b3e722152d, 94edd0ef4c2a. -- ___ Python tracker rep...@bugs.python.org

[issue23555] behavioural change in argparse set_defaults in python 2.7.9

2015-03-01 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23555 ___ ___ Python-bugs-list

[issue23531] SSL operations cause entire process to hang

2015-03-01 Thread johnkw
Changes by johnkw joh...@gmail.com: Added file: http://bugs.python.org/file38288/sslbug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23531 ___ ___

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that this can be closed as the test code was changed completely in #17960. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___

Re: Python Worst Practices

2015-03-01 Thread Gregory Ewing
Mario Figueiredo wrote: But could you please point us to the ISO that details the international standard for variable names? Or failing that, to the public discussion that took place and decided American-English is the de-facto language for variable names? American became the standard for

[issue13312] test_time fails: strftime('%Y', y) for negative year

2015-03-01 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Mark, Issue #17960 (Clarify the required behaviour of locals()) does not seem to be relevant here. I think you meant to refer to a changeset, not issue number. If so please use hash number such as d877d7f3b679. --

[issue20876] python -m test test_pathlib fails

2015-03-01 Thread Isaac Schwabacher
Isaac Schwabacher added the comment: This behavior is caused by the way NFS clients implement unlinking open files: instead of unlinking an open file, the filesystem renames it to .nfs and unlinks it on close. (The search term you want is silly rename.) The reason this problem appears

[issue12989] Consistently handle path separator in Py_GetPath on Windows

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is three parts that adds one line, moves one line and deletes one line. I've checked 2.6, 2.7, 3.2, 3.3, 3.4 and default. In all cases the second part has already been implemented, the first and third have not. Assuming that these changes must

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-01 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Cyd: Just run: $ git commit -m Put some message here # commit the changes $ git push # push the changes I'm working on it, but I haven't even gotten it to build (CURSE YOU, AUTOCONF!) -- ___ Python tracker

(Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Steven D'Aprano
Dennis Lee Bieber wrote: Well... when we've got states bigger than some countries... A Texan farmer goes to Australia on vacation. There he meets an Aussie farmer and gets to talking. They walk around the farm a little, and the Aussie shows off his herd of cattle. The Texan immediately

[issue23485] PEP 475: handle EINTR in the select and selectors module

2015-03-01 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23485 ___ ___ Python-bugs-list

[issue23387] test_urllib2 fails with HTTP Error 502: Bad Gateway

2015-03-01 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23387 ___

[issue23387] test_urllib2 fails with HTTP Error 502: Bad Gateway

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e783289bc12 by Berker Peksag in branch '3.4': Issue #23387: Skip test_issue16464 if it raises an 5xx error. https://hg.python.org/cpython/rev/7e783289bc12 New changeset 4cadc2c65609 by Berker Peksag in branch 'default': Issue #23387: Skip

Re: Python Worst Practices

2015-03-01 Thread Rustom Mody
On Sunday, March 1, 2015 at 10:32:00 PM UTC+5:30, Marko Rauhamaa wrote: Mark Lawrence : Are you suggesting that we Brits have a single home accent? If you are, you need to stand up as your voice is rather muffled. That by the way is a British expression that may or may not be used

[issue23552] Have timeit warn about runs that are not independent of each other

2015-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: See attached -- keywords: +patch Added file: http://bugs.python.org/file38294/timeit_warning.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___

[issue23552] Have timeit warn about runs that are not independent of each other

2015-03-01 Thread Alex Gaynor
Alex Gaynor added the comment: This seems like it probably will report something useless (and ultimately be disabled) on PyPy, where runs before and after the JIT will display significant variance. -- nosy: +alex, arigo, fijall ___ Python tracker

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Rustom Mody rustompm...@gmail.com: However, when I exhange software engineering ideas with you, I wish both of us could stick to American English. [...] I would say it is wrong side of the ledger because the amount of culture' invested into a Brit is more than into someone who just poorly

Re: Python Worst Practices

2015-03-01 Thread Dave Angel
On 03/01/2015 08:59 PM, MRAB wrote: On 2015-03-02 01:37, Dennis Lee Bieber wrote You'd be able to run it on a TI99/4 (in which the BASIC interpreter, itself, was run on an interpreter... nothing like taking the first 16-bit home computer and shackling it with an interpreted language that

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-01 Thread Martin Panter
Martin Panter added the comment: It seems two different issues have popped up: ## 1. Windows behaviour ## Windows apparently doesn’t handle broken pipes consistently, sometimes raising an EINVAL error, and sometimes not raising any error. I don’t know if this is a problem with Python, or a

[issue3931] codecs.charmap_build is untested and undocumented

2015-03-01 Thread Mark Lawrence
Mark Lawrence added the comment: I do not see much purpose in documenting and testing this one function alone. I think that all functions in _codecsmodule.c should be looked at to see if they are private or public, but I'm certainly not volunteering to do it. --

[issue4071] ntpath.abspath fails for long str paths

2015-03-01 Thread eryksun
eryksun added the comment: Can we close this as I'm not aware of any possible way to fix this? Windows system and C runtime calls that take paths could be restricted to wide-character APIs, such as calling GetFullPathnameW in this case, or _wexecve instead of execve (issue 23462). Then for

Re: (Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Paul Rubin
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: The Aussie replies “Ah yes, I had a car like that once. American-made, is it?” Is it true that in Australia, the number of the beast is 999? -- https://mail.python.org/mailman/listinfo/python-list

[issue23553] Reduce the number of comparisons for range checking.

2015-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, here is a small patch to show how this could can be done consistently and with code clarity. -- title: Reduce the number of comparison for range checking. - Reduce the number of comparisons for range checking. Added file:

[issue23513] Add support for classes/object model in multiprocessing/pickle

2015-03-01 Thread Davin Potts
Davin Potts added the comment: The runnable example in the attached file, issue_23513_play.py, suggests a way to preserve the inheritance of the Result class in any subclasses of Thing yet leaves the definition of Thing.worker as the OP first had it (in the most straightforward way). In

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-01 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, Thanks. First commit in; all fixes for Android's broken mbstowcs, new plat-android and plat-android/DLFCN.py. What are you trying to build? -- ___ Python tracker rep...@bugs.python.org

Re: (Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Chris Angelico
On Mon, Mar 2, 2015 at 2:18 PM, Paul Rubin no.email@nospam.invalid wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: The Aussie replies “Ah yes, I had a car like that once. American-made, is it?” Is it true that in Australia, the number of the beast is 999? Wouldn't know.

[issue20521] [PATCH] Cleanup for dis module documentation

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 617feb5d8af2 by Berker Peksag in branch '3.4': Issue #20521: Change ``TOS`` to TOS in dis documentation. https://hg.python.org/cpython/rev/617feb5d8af2 New changeset a331d71bdc0a by Berker Peksag in branch 'default': Issue #20521: Change ``TOS`` to

[issue20521] Cleanup for dis module documentation

2015-03-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Sven. Most of the changes in your patch have already been fixed in issue 22845. Just committed the ``TOS`` - TOS part of the patch. -- nosy: +berker.peksag resolution: - fixed stage: patch review - resolved status: open - closed

[issue23477] Increase coverage for wsgiref module

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f2ef8654bf8 by Berker Peksag in branch '3.4': Issue #23477: Improve test coverage of wsgiref.simple_server. https://hg.python.org/cpython/rev/9f2ef8654bf8 New changeset 0c786d1fb372 by Berker Peksag in branch 'default': Issue #23477: Improve test

[issue23477] Increase coverage for wsgiref module

2015-03-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Alex. -- resolution: - fixed stage: patch review - resolved status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23477

[issue23527] test_smtpnet uses incorrect port for STARTTLS

2015-03-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06d69688ea06 by Berker Peksag in branch '3.4': Issue #23527: Update Gmail port number for STARTTLS to 587. https://hg.python.org/cpython/rev/06d69688ea06 New changeset 9ff477cd79da by Berker Peksag in branch 'default': Issue #23527: Update Gmail

  1   2   >