Re: NaN comparisons - Call For Anecdotes

2014-07-10 Thread alister
On Wed, 09 Jul 2014 23:09:36 +0200, Anders J. Munch wrote: Ethan Furman: I would suggest you ask for this on the numerical mailing lists instead of here -- and you may not want to offer a beer to everyone that has an anecdote for NaN behavior being useful. I don't have time to start this

How to write match nth grouped subexpression?

2014-07-10 Thread rxjwg98
Hi, It says that: match checks for a match only at the beginning of the string. Then, it also says that: \1...\9Matches nth grouped subexpression. I don't know how to write a script to include grouped subexpression in match? Thanks, --

Re: abrt: detected unhandled Python exception

2014-07-10 Thread shivagunwant
On Monday, 30 December 2013 01:05:32 UTC+5:30, smileso...@gmail.com wrote: Hi all, I am facing a script issue whenever i run my script in /var/log/messages and it gives error something as below: abrt: detected unhandled Python exception in x.py. Can anybody help me

Re: How to write match nth grouped subexpression?

2014-07-10 Thread Cameron Simpson
On 10Jul2014 01:57, rxjw...@gmail.com rxjw...@gmail.com wrote: It says that: match checks for a match only at the beginning of the string. Then, it also says that: \1...\9Matches nth grouped subexpression. I don't know how to write a script to include grouped subexpression in match? A

Why is it different about '\s' Matches whitespace and Equivalent to [\t\n\r\f]?

2014-07-10 Thread rxjwg98
Hi, On a tutorial it says that '\s': Matches whitespace. Equivalent to [\t\n\r\f]. I test it with: re.match(r'\s*\d\d*$', ' 111') _sre.SRE_Match object at 0x03642BB8 re.match(r'\t\n\r\f*\d\d*$', ' 111')# fails re.match(r'[\t\n\r\f]*\d\d*$', ' 111') # fails

Re: Why is it different about '\s' Matches whitespace and Equivalent to [\t\n\r\f]?

2014-07-10 Thread MRAB
On 2014-07-10 11:05, rxjw...@gmail.com wrote: Hi, On a tutorial it says that '\s': Matches whitespace. Equivalent to [\t\n\r\f]. It's equivalent to [ \t\n\r\f], i.e. it also includes a space, so either the tutorial is wrong, or you didn't look closely enough. :-) I test it with:

Re: NaN comparisons - Call For Anecdotes

2014-07-10 Thread MRAB
On 2014-07-10 01:57, Ben Finney wrote: Anders J. Munch 2...@jmunch.dk writes: Joel Goldstick wrote: I've been following along here, and it seems you haven't received the answer you want or need. So far I received exactly the answer I was expecting. 0 examples of NaN!=NaN being beneficial.

Re: NaN comparisons - Call For Anecdotes

2014-07-10 Thread Chris Angelico
On Thu, Jul 10, 2014 at 9:28 PM, MRAB pyt...@mrabarnett.plus.com wrote: I can think of one place where equality of NaNs would be useful: sorting. However, in that use-case, you would also want it to be orderable, perhaps greater than any other non-NaN float. In that case, you're setting

Re: Why is it different about '\s' Matches whitespace and Equivalent to [\t\n\r\f]?

2014-07-10 Thread fl
On Thursday, July 10, 2014 7:18:01 AM UTC-4, MRAB wrote: On 2014-07-10 11:05, r...@gmail.com wrote: It's equivalent to [ \t\n\r\f], i.e. it also includes a space, so either the tutorial is wrong, or you didn't look closely enough. :-) The string starts with ' ', not '\t'.

Re: Why is it different about '\s' Matches whitespace and Equivalent to [\t\n\r\f]?

2014-07-10 Thread Ned Batchelder
On 7/10/14 9:32 AM, fl wrote: On Thursday, July 10, 2014 7:18:01 AM UTC-4, MRAB wrote: On 2014-07-10 11:05, r...@gmail.com wrote: It's equivalent to [ \t\n\r\f], i.e. it also includes a space, so either the tutorial is wrong, or you didn't look closely enough. :-) The string starts with '

Re: How can i get http body??

2014-07-10 Thread Roy Smith
In article 4574254f-e813-4f16-bafb-cbd649496...@googlegroups.com, Frank Liou fk2654159...@gmail.com wrote: https://lh5.googleusercontent.com/-6t5tmr5T4Ys/U74FdF128oI/Bvo/bYyaHzs dw9Q/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg how can i catch the body when i was post ?? Take a look at

What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread fl
Hi, For me, it is difficult to understand the last line of the paragraph below in parenthesis (A ``quote'' is the character used to open the string, i.e. either ' or .) It talks about triple-quoted strings. Where is ``quote'' from? It has two ` and '. What this different ` and ' do for here?

Re: Why is it different about '\s' Matches whitespace and Equivalent to [\t\n\r\f]?

2014-07-10 Thread MRAB
On 2014-07-10 14:32, fl wrote: On Thursday, July 10, 2014 7:18:01 AM UTC-4, MRAB wrote: It's equivalent to [ \t\n\r\f], i.e. it also includes a space, so either the tutorial is wrong, or you didn't look closely enough. :-) The string starts with ' ', not '\t'. The string starts with ' ',

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread Chris “Kwpolska” Warrick
On Thu, Jul 10, 2014 at 4:04 PM, fl rxjw...@gmail.com wrote: Hi, For me, it is difficult to understand the last line of the paragraph below in parenthesis (A ``quote'' is the character used to open the string, i.e. either ' or .) It talks about triple-quoted strings. Where is ``quote''

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread Joel Goldstick
On Thu, Jul 10, 2014 at 10:04 AM, fl rxjw...@gmail.com wrote: Hi, For me, it is difficult to understand the last line of the paragraph below in parenthesis (A ``quote'' is the character used to open the string, i.e. either ' or .) It talks about triple-quoted strings. Where is ``quote''

Re: Help me write better Code

2014-07-10 Thread sssdevelop
Thank you so much Terry Jan Reedy. You have given best advice - yup, i am beginner in Python. Your reply has done grooming :) thx, On Thursday, July 10, 2014 12:16:48 AM UTC+5:30, Terry Reedy wrote: On 7/9/2014 10:27 AM, sssdevelop wrote: Hello, I have working code - but

Re: Help me write better Code

2014-07-10 Thread sssdevelop
thank you so much! On Wednesday, July 9, 2014 11:46:41 PM UTC+5:30, Ian wrote: On Wed, Jul 9, 2014 at 8:27 AM, sssdevelop sssdeve...@gmail.com wrote: prev = 0 blocks = [] tmp = [] last = 0 for element in a: if prev == 0: Is 0 allowed to be in the input list?

Re: Help me write better Code

2014-07-10 Thread sssdevelop
Mark - thank you so much. You have suggested be new best tool/module. It's going to help me many places. Was not aware of such powerful tool. thank you, On Wednesday, July 9, 2014 9:14:01 PM UTC+5:30, Mark Lawrence wrote: On 09/07/2014 15:27, sssdevelop wrote: Hello, I have

Re: Help me write better Code

2014-07-10 Thread Mark Lawrence
On 10/07/2014 15:39, sssdevelop wrote: Mark - thank you so much. You have suggested be new best tool/module. It's going to help me many places. Was not aware of such powerful tool. thank you, I'm pleased to see that you have several answers. In return would you please use the mailing list

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread fl
On Thursday, July 10, 2014 10:14:14 AM UTC-4, Chris Kwpolska Warrick wrote: Please don't learn from this link. It's from 2001. You should learn from modern documentation: https://docs.python.org/ (if not running 3.4.x, change the version in the top) You also should not read

How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread fl
Hi, This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote , in contrast to ' which I see more often until now. It looks very complicated to me. Could you simplified it to a

Re: Proposal: === and !=== operators

2014-07-10 Thread Alex Burke
On 9 July 2014 09:00, Steven D'Aprano st...@pearwood.info wrote: At the moment, Python has two (in)equality operators, == and != which call __eq__ and __ne__ methods. Some problems with those: * Many people expect == to always be reflexive (that is, x == x for every x) but classes which

Solution-resistant AttributeError: 'modle' object has no attribute...

2014-07-10 Thread Dan Stromberg
Hi folks. I'm having trouble with a strange AttributeError. I'm using RQ (Redis Queue) and Django, both of which are new to me, so perhaps they are somehow relevant. Anyway, the traceback looks like: Traceback (most recent call last): File

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread MRAB
On 2014-07-10 16:23, fl wrote: On Thursday, July 10, 2014 10:14:14 AM UTC-4, Chris Kwpolska Warrick wrote: Please don't learn from this link. It's from 2001. You should learn from modern documentation: https://docs.python.org/ (if not running 3.4.x, change the version in the top) You

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Peter Otten
fl wrote: Hi, This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote , in contrast to ' which I see more often until now. It looks very complicated to me. Could you

Re: Solution-resistant AttributeError: 'modle' object has no attribute...

2014-07-10 Thread Chris Angelico
On Fri, Jul 11, 2014 at 2:41 AM, Dan Stromberg drsali...@gmail.com wrote: It's as though an old version of the module is being seen, rather than the current version. Anyone have any (further) suggestions for me? Wipe out *.pyc and try again? Restart any processes that are running Django, in

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread MRAB
On 2014-07-10 16:37, fl wrote: Hi, This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote , in contrast to ' which I see more often until now. It looks very complicated to me.

I am confused about ' and

2014-07-10 Thread fl
Hi, It is still in the Regular expression operations concept, this link: has example using single quote mark: ' https://docs.python.org/2/library/re.html#re.split While in this link: https://docs.python.org/3/howto/regex.html It gives table with quote: Regular String Raw string ab*

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Joel Goldstick
On Thu, Jul 10, 2014 at 11:37 AM, fl rxjw...@gmail.com wrote: Hi, This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote , in contrast to ' which I see more often until

Re: I am confused about ' and

2014-07-10 Thread John Gordon
In cfa25009-b200-4fcc-beb7-83634546c...@googlegroups.com fl rxjw...@gmail.com writes: Please tell me because I have looked it around for one hour about it. There is no difference between ' and when used to enclose strings, with one exception: a double-quoted string can contain single-quotes

Re: Solution-resistant AttributeError: 'modle' object has no attribute...

2014-07-10 Thread Dan Stromberg
On Thu, Jul 10, 2014 at 9:41 AM, Dan Stromberg drsali...@gmail.com wrote: Hi folks. I'm having trouble with a strange AttributeError. I'm using RQ (Redis Queue) and Django, both of which are new to me, so perhaps they are somehow relevant. Anyway, the traceback looks like: Traceback (most

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread Ian Kelly
On Thu, Jul 10, 2014 at 9:23 AM, fl rxjw...@gmail.com wrote: Is '\A' the same with '^'? Is '\Z' the same with '$'? The meanings of these are explained at: https://docs.python.org/library/re.html#regular-expression-syntax Outside of multiline mode, they're equivalent. In multiline mode, ^ and $

Re: Solution-resistant AttributeError: 'modle' object has no attribute...

2014-07-10 Thread Joel Goldstick
On Thu, Jul 10, 2014 at 12:41 PM, Dan Stromberg drsali...@gmail.com wrote: Hi folks. I'm having trouble with a strange AttributeError. I'm using RQ (Redis Queue) and Django, both of which are new to me, so perhaps they are somehow relevant. Anyway, the traceback looks like: Traceback

Re: I am confused about ' and

2014-07-10 Thread Chris Angelico
On Fri, Jul 11, 2014 at 3:01 AM, fl rxjw...@gmail.com wrote: Please tell me because I have looked it around for one hour about it. It's high time you started at the beginning, rather than trying to learn regexps without understanding Python. https://docs.python.org/3/tutorial/index.html Start

Re: Emperor's New Coroutines?

2014-07-10 Thread Marko Rauhamaa
Marko Rauhamaa ma...@pacujo.net: The asyncio module comes with coroutine support. Investigating the topic on the net reveals that FSM's are for old people and the brave new world uses coroutines. Unfortunately, all examples I could find seem to be overly simplistic, and I'm left thinking

Re: I am confused about ' and

2014-07-10 Thread Joel Goldstick
On Thu, Jul 10, 2014 at 1:01 PM, fl rxjw...@gmail.com wrote: Hi, It is still in the Regular expression operations concept, this link: You must have missed my comment about quote and double quote. In python you can write a string using either. Just make sure if you start with double quote,

Re: I am confused about ' and

2014-07-10 Thread Chris “Kwpolska” Warrick
On Jul 10, 2014 7:53 PM, fl rxjw...@gmail.com wrote: Hi, It is still in the Regular expression operations concept, this link: has example using single quote mark: ' https://docs.python.org/2/library/re.html#re.split While in this link: https://docs.python.org/3/howto/regex.html It

Re: Help me write better Code

2014-07-10 Thread Rustom Mody
On Wednesday, July 9, 2014 9:14:01 PM UTC+5:30, Mark Lawrence wrote: On 09/07/2014 15:27, sssdevelop wrote: Hello, I have working code - but looking for better/improved code. Better coding practices, better algorithm :) Problem: Given sequence of increasing integers, print blocks of

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Albert-Jan Roskam
- Original Message - From: Joel Goldstick joel.goldst...@gmail.com To: fl rxjw...@gmail.com Cc: python-list@python.org python-list@python.org Sent: Thursday, July 10, 2014 7:05 PM Subject: Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example On Thu, Jul 10, 2014 at

Re: open() and EOFError

2014-07-10 Thread Anssi Saari
Roy Smith r...@panix.com writes: I once knew a guy who linked /dev/tty.c to /dev/tty, then he could do cc /dev/tty.c and type a C program in to the compiler from the terminal. I thought some old C compilers took input from stdin without that kind of trickery? Oh, looks like modern gcc does

Re: Solution-resistant AttributeError: 'modle' object has no attribute...

2014-07-10 Thread Steven D'Aprano
On Thu, 10 Jul 2014 13:31:56 -0400, Joel Goldstick wrote: dummy = higgins.models.extract_guid_from_visi_filename AttributeError: 'module' object has no attribute 'extract_guid_from_visi_filename' Do you need to add parens? is this a method, not at attribute? dummy =

context manager based alternative to Re: Proposal: === and !===

2014-07-10 Thread Cameron Simpson
operators Reply-To: In-Reply-To: 20140709231623.ga66...@cskk.homeip.net I posted this the other day and haven't seen a response, not even a scathing rejection... Here's an alternative proposal that doesn't involve a new operator. Consider this code snippet: with

Re: context manager based alternative to Re: Proposal: === and !===

2014-07-10 Thread Ethan Furman
On 07/10/2014 05:20 PM, Cameron Simpson wrote: I posted this the other day and haven't seen a response, not even a scathing rejection... Here's an alternative proposal that doesn't involve a new operator. [snip float-context manager stuff] Decimal has a context manager like that already (I

Re: context manager based alternative to Re: Proposal: === and !===

2014-07-10 Thread Roy Smith
In article mailman.11744.1405038048.18130.python-l...@python.org, Cameron Simpson c...@zip.com.au wrote: Q: How many user support people does it take to change a light bulb? A: We have an exact copy of the light bulb here and it seems to be working fine. Can you tell me what kind of

Re: How can i get http body??

2014-07-10 Thread Frank Liou
Got it Thanks you -- https://mail.python.org/mailman/listinfo/python-list

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Cameron Simpson
On 10Jul2014 08:37, fl rxjw...@gmail.com wrote: This example is from the link: https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote , in contrast to ' which I see more often until now. With raw strings

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Roy Smith
In article mailman.11746.1405042179.18130.python-l...@python.org, Cameron Simpson c...@zip.com.au wrote: Outside this are \( and \): these are literal opening and closing bracket characters. So: \(\([^)]+\)\) Two opening brackets, then at least one character which is not a

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Tim Chase
On 2014-07-10 22:18, Roy Smith wrote: Outside this are \( and \): these are literal opening and closing bracket characters. So: \(\([^)]+\)\) although, even better would be to use to utterly awesome re.VERBOSE flag, and write it as: \({2} [^)]+ \){2} Or heck, use a

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Roy Smith
In article mailman.11747.1405046292.18130.python-l...@python.org, Tim Chase python.l...@tim.thechases.com wrote: On 2014-07-10 22:18, Roy Smith wrote: Outside this are \( and \): these are literal opening and closing bracket characters. So: \(\([^)]+\)\) although, even

Re: How to decipher :re.split(r(\(\([^)]+\)\)) in the example

2014-07-10 Thread Chris Angelico
On Fri, Jul 11, 2014 at 1:33 PM, Roy Smith r...@panix.com wrote: Or heck, use a multi-line verbose expression and comment it for clarity: r = re.compile(r (# begin a capture group \({2} # two literal ( characters [^)]+ # one or more non-close-paren

Re: context manager based alternative to Re: Proposal: === and !===

2014-07-10 Thread Chris Angelico
On Fri, Jul 11, 2014 at 11:17 AM, Roy Smith r...@panix.com wrote: In article mailman.11744.1405038048.18130.python-l...@python.org, Cameron Simpson c...@zip.com.au wrote: Q: How many user support people does it take to change a light bulb? A: We have an exact copy of the light bulb here and

[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-10 Thread Ned Deily
Ned Deily added the comment: So do we agree that the resolution for this is wont fix? -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21913 ___

[issue18887] test_multiprocessing.test_connection failure on Python 2.7

2014-07-10 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18887 ___

[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't maintain Python 2.7 anymore, so removing myself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___

[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: -loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list

[issue21940] IDLE - Test WidgetRedirector

2014-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Attached is the 3.4 code I plan to commit after a trivial 2.7 backport. In the existing htest, 'global previous_tcl_fcn' is unnecessary because of Python's late binding of function locals. No forward definitions are needed. Already deleted in the first

[issue19650] test_multiprocessing_spawn.test_mymanager_context() crashed with STATUS_ACCESS_VIOLATION

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be reproduced or can this be closed as out of date? -- nosy: +BreamoreBoy type: - crash versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19650

[issue19650] test_multiprocessing_spawn.test_mymanager_context() crashed with STATUS_ACCESS_VIOLATION

2014-07-10 Thread STINNER Victor
STINNER Victor added the comment: Can this be reproduced or can this be closed as out of date? In general, issues reporting sporadic buildbot failures only seen once can be closed after 6 months. -- resolution: - out of date status: open - closed

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
New submission from Alejandro: We have compile python 3.4.1 in Suse Linux Enterprise Server 11 SP2 We have compiled it using --prefix as args : ./configure --prefix=/soft/pyt341 make make install We check python has been properly installed: /soft/pyt341/bin/python3 --version Python 3.4.1

[issue20187] The Great Argument Clinic Conversion Derby Meta-Issue

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: -berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20187 ___ ___

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: - resolved status: open - closed superseder: - no extension debug info with msvc9compiler.py type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9745

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20465 ___ ___

[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___

[issue21950] import sqlite3 not running

2014-07-10 Thread Berker Peksag
Berker Peksag added the comment: We have compiled it using --prefix as args : Did you install sqlite3-devel? -- nosy: +berker.peksag type: crash - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2014-07-10 Thread Jason Tishler
Jason Tishler added the comment: AFAICT, yes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2233 ___ ___ Python-bugs-list mailing list

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
Alejandro added the comment: Yes. We have these packages installed: rpm -qa | grep sqlite sqlite3-3.7.6.3-1.4.4.1 libsqlite3-0-3.7.6.3-1.4.4.1 sqlite3-devel-3.7.6.3-1.4.4.1 -- ___ Python tracker rep...@bugs.python.org

[issue19283] Need support to avoid Windows CRT compatibility issue.

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Is there a specific Python question here? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19283 ___

[issue12939] Add new io.FileIO using the native Windows API

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: It strikes me as far more sense to use the native API so how do we take this forward, formal patch review, put it on pypi, or what? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: You need VS 2010 to build 3.3 see https://docs.python.org/devguide/setup.html#windows -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11598

[issue21859] Add Python implementation of FileIO

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

[issue12939] Add new io.FileIO using the native Windows API

2014-07-10 Thread STINNER Victor
STINNER Victor added the comment: Serhiy implemented the FileIO class in pure Python: see the issue #21859 (patch under review). Using thre Python class, it becomes easier to reimplement FileIO using the Windows API, at least to play with a prototype in pure Python. -- nosy:

[issue21859] Add Python implementation of FileIO

2014-07-10 Thread Piotr Dobrogost
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net: -- nosy: +piotr.dobrogost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21859 ___ ___

[issue17984] io and _pyio modules require the _io module

2014-07-10 Thread Piotr Dobrogost
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net: -- nosy: +piotr.dobrogost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17984 ___ ___

[issue19283] Need support to avoid Windows CRT compatibility issue.

2014-07-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: In any case, this issue has too little information to be able to reproduce it in a meaningful way. Closing as out-of-date. -- resolution: - out of date status: open - closed ___ Python tracker

[issue18974] Use argparse in the diff script

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18974 ___

[issue14750] Tkinter application doesn't run from source build on Windows

2014-07-10 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14750 ___ ___ Python-bugs-list

[issue14750] Tkinter application doesn't run from source build on Windows

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably out of date as we're now on 3.5. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14750 ___

[issue14802] Python fails to compile with VC11 ARM configuration

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Can we close this due to the extensive work being done by Steve and Zach on the Windows build environment that I believe are covered by other issues? -- nosy: +BreamoreBoy, steve.dower, zach.ware versions: +Python 3.5 -Python 3.4

[issue8304] strftime and Unicode characters

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Using 3.4.1 and 3.5.0 I get:- time.strftime(%d\u200F%A, time.gmtime()) Traceback (most recent call last): File stdin, line 1, in module UnicodeEncodeError: 'locale' codec can't encode character '\u200f' in position 2: Illegal byte sequence -- nosy:

[issue21950] import sqlite3 not running

2014-07-10 Thread Brett Cannon
Brett Cannon added the comment: The output from running `make` could help by pointing out either a compilation error or lack thereof to deduce that setup.py did not find the headers. -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org

[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that this specific issue can be closed but is a follow up needed regarding problems mentioned in msg114084 ? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9445

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
Alejandro added the comment: Here you have (attached): make.log Thanks! -- Added file: http://bugs.python.org/file35920/make.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950 ___

[issue14802] Python fails to compile with VC11 ARM configuration

2014-07-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: None of this work affects WinRT. I don't know whether support of WinRT is a goal, but it is certainly not a solved problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14802

[issue20366] SQLite FTS (full text search)

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: SQLite FTS3 and FTS4 Extensions here http://www.sqlite.org/fts3.html -- nosy: +BreamoreBoy, steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20366

[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: I have Tools\demo in my cpython default from Mercurial but not under 3.4.1 from the msi file downloaded from python.org. -- nosy: +BreamoreBoy, steve.dower, zach.ware type: - behavior versions: +Python 3.5 -Python 3.2, Python 3.3

[issue20265] Bring Windows docs up to date

2014-07-10 Thread ingrid
ingrid added the comment: Hi Kathleen, I was just curious why you dropped the changes from Doc/using/windows.rst on your latest patch as they looked useful to me. I know there's some review going on outside this thread, so apologies if I'm missing something you already went over. --

[issue8585] zipimporter.find_module is untested

2014-07-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8585 ___ ___

[issue21942] pydoc source not displayed in browser on Windows

2014-07-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 74c7a186ffdd by Zachary Ware in branch '3.4': Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. http://hg.python.org/cpython/rev/74c7a186ffdd New changeset 03b406f5aae0 by Zachary Ware in branch 'default': Issue #21942:

[issue21942] pydoc source not displayed in browser on Windows

2014-07-10 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the report! I took an alternate approach to fixing the problem; nturl2path was only used at all because pydoc used to produce actual file:// links rather than rendering the page itself, and there's no reason to use nturl2path if you're not

[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, as the (new) Windows installer maker, it is ultimately your decision what to include. The 'policy' seems to have been rather fuzzy. Tools/demo is less than 100k total. The 'patch needed' is to the installer maker script. -- stage: - needs

[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16229 ___ ___ Python-bugs-list

[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Ezio Melotti
Ezio Melotti added the comment: The original issue seems to be fixed, but the other two related issues mentioned by Amaury still need to be addressed. One has already a patch, the other doesn't. -- components: +Extension Modules -Build type: compile error - resource usage versions:

[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: This should be closed as a duplicate of #14576. There is far more data on that issue and it refers to problems with 3.x. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue21951] tcl test change crashes AIX

2014-07-10 Thread David Edelsohn
New submission from David Edelsohn: The patch for Issue #21881 causes CPython test_tcl to crash on AIX. $ ./python -m test -v test_tcl == CPython 3.5.0a0 (default:d1f89eb9ea1e+, Jul 10 2014, 10:21:22) [GCC 4.8.1] == AIX-1-00F84C0C4C00-powerpc-32bit big-endian == hash algorithm: siphash24

[issue21044] tarfile does not handle file .name being an int

2014-07-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21044 ___ ___ Python-bugs-list mailing

[issue13081] Crash in Windows with unknown cause

2014-07-10 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: - docs@python components: +Documentation -Windows nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13081 ___

[issue15418] 2to3 docs should mention setup.py fixes required to install compatible packages in Python 3

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: I disagree with this on two grounds. First 2to3 can be run by anybody needing it, not just from setup.py. Second the recommended mechanism for writing new code is to use libraries such as six so that the one code base can run on 2 and 3. -- nosy:

[issue15856] inspect.getsource(SomeClass) doesn't show @decorators

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: @Thomas sorry about the delay in getting back to you. -- nosy: +BreamoreBoy, yselivanov versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15856

[issue21927] BOM appears in stdin when using Powershell

2014-07-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure what you're suggesting. Are you suggesting that Powershell is wrong here and that Powershell's attempt here to provide more detail about content encoding is wrong? Or are you suggesting that every client that reads from stdin should detect that

[issue14714] PEP 414 tokenizing hook does not preserve tabs

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: PEP 414 is Explicit Unicode Literal for Python 3.3 so I've no idea where the part about tokenizing hook comes from. msg159865 refers to tabs in Django source and gives an example, then talks about your GitHub repo where you published the hook. Would someone

  1   2   >