On 26 May 2015 at 00:34, MRAB wrote:
> The 32-bit Python says it's 32-bit and the 64-bit Python says it's 64-bit.
>
> ---8<---
>
> C:
>
> rem Compile for Python 3.5 (64-bit) [works]
> cd C:\MinGW64\bin
> "C:\MinGW64\bin\gcc.exe" -mdll -m64 -DMS_WIN64 -O2 -Wall -Wsign-compare
> -Wconversion -I"C:\P
On 26.05.15 08:33, Yury Selivanov wrote:
On 2015-05-26 12:26 AM, Terry Reedy wrote:
+try:
+encoding, lines = detect_encoding(buffer.readline)
+buffer.seek(0)
+text = TextIOWrapper(buffer, encoding, line_buffering=True)
+text.mode = 'r'
+return text
+
What is wrong with "except:" in this specific case?
Victor
Le mardi 26 mai 2015, Yury Selivanov a écrit :
>
>
> On 2015-05-26 12:26 AM, Terry Reedy wrote:
>
>> +try:
>>> +encoding, lines = detect_encoding(buffer.readline)
>>> +buffer.seek(0)
>>> +text = TextIOWrapper
On 2015-05-26 12:26 AM, Terry Reedy wrote:
+try:
+encoding, lines = detect_encoding(buffer.readline)
+buffer.seek(0)
+text = TextIOWrapper(buffer, encoding, line_buffering=True)
+text.mode = 'r'
+return text
+except:
+buffer.close()
+
On Mon, May 25, 2015 at 6:30 PM, Larry Hastings wrote:
> Eric asked for one for this C reimplementation of OrderedDict; the coding
> was done, the debugging wasn't.
>
> And yes, as Eric said, I made separate pronouncements. I said COrderedDict
> could go in as long as it was in before beta 2; "th
On 05/25/2015 03:22 PM, Eric Snow wrote:
On Mon, May 25, 2015 at 2:40 PM, Terry Reedy wrote:
On 5/25/2015 3:40 PM, Eric Snow wrote:
Since Larry already gave an exception,
Conditional on 'general approval of the community'.
Unless I misunderstood him, Larry gave me an unconditional exceptio
On 26 May 2015 05:41, "Eric Snow" wrote:
>
> Regardless, I know there were a few folks (e.g. Yury) that wanted to
> see C OrderedDict in 3.5 and there may be others that would really
> like OrderedDict-by-default in 3.5 (Nick?).
I think it's the combination with PEP 487 that makes OrderedDict-by-
On 2015-05-25 22:59, Paul Moore wrote:
> On 25 May 2015 at 21:06, MRAB wrote:
> > As the subject says, I've been unable to build the regex module against
> > Python 3.5b1 for 32-bit. MingGW says:
> >
> > skipping incompatible .../libpython35.a when searching for
-lpython35
> >
> > It builds
On Mon, May 25, 2015 at 2:40 PM, Terry Reedy wrote:
> On 5/25/2015 3:40 PM, Eric Snow wrote:
>> Since Larry already gave an exception,
>
> Conditional on 'general approval of the community'.
Unless I misunderstood him, Larry gave me an unconditional exception
for OrderedDict itself (as long as it
On 25 May 2015 at 21:06, MRAB wrote:
> As the subject says, I've been unable to build the regex module against
> Python 3.5b1 for 32-bit. MingGW says:
>
> skipping incompatible .../libpython35.a when searching for -lpython35
>
> It builds without a problem against Python 3.5 for 64-bit.
>
> An
On 5/25/2015 3:40 PM, Eric Snow wrote:
On Mon, May 25, 2015 at 1:33 AM, Antoine Pitrou wrote:
On Sat, 23 May 2015 20:14:56 -0700
Larry Hastings wrote:
Yeah, I'm willing to grant the feature freeze exception, assuming he can
find general approval from the community (and assuming he still has
On 2015-05-25 3:40 PM, Eric Snow wrote:
I'd still be glad to land both in 3.5 if Yury (or
others) wants to make that case.
I'm big +1 for a speedy OrderedDict in 3.5 (TBH I
thought it was merged in 3.5 long before alpha-4)
I doubt that merging it will add such a significant
instability that we
On 2015-05-25 21:09, Ryan Gonzalez wrote:
> Try building the module with -m32. The error message basically means:
"../libpython35.a is 32-bit, but what you're building is 64-bit." Gotta
love ld!
>
Unless I've missing something, I'm already passing it to gcc.
All of the other versions build wit
Try building the module with -m32. The error message basically means:
"../libpython35.a is 32-bit, but what you're building is 64-bit." Gotta love ld!
On May 25, 2015 3:06:01 PM CDT, MRAB wrote:
>As the subject says, I've been unable to build the regex module against
>Python 3.5b1 for 32-bit. Mi
On 05/25/2015 02:03 AM, Serhiy Storchaka wrote:
Perhaps needed version bump in the default branch? I think now
Misc/NEWS will have two modifiable sections - for 3.5 (bugfixes) and
for 3.6 (new features).
That's a good point! I've added a "3.6.0 alpha 1" section as you suggest.
That suggests
As the subject says, I've been unable to build the regex module against
Python 3.5b1 for 32-bit. MingGW says:
skipping incompatible .../libpython35.a when searching for -lpython35
It builds without a problem against Python 3.5 for 64-bit.
Any ideas? Should I just wait until beta 2?
On Mon, May 25, 2015 at 1:33 AM, Antoine Pitrou wrote:
> On Sat, 23 May 2015 20:14:56 -0700
> Larry Hastings wrote:
>> Yeah, I'm willing to grant the feature freeze exception, assuming he can
>> find general approval from the community (and assuming he still has
>> Guido's blessing). I just want
On Mon, May 25, 2015, at 03:33, Antoine Pitrou wrote:
> On Sat, 23 May 2015 20:14:56 -0700
> Larry Hastings wrote:
> >
> > On 05/23/2015 07:38 PM, Nick Coghlan wrote:
> > > Eric clarified for me that Larry was considering granting a feature
> > > freeze exemption to defer landing this to beta 2
On Mon, May 25, 2015, at 04:02, Mike Kozulya wrote:
> May I suggest to eliminate "->" in function definition?
>
> def function1 (variable1: variable1_type, variable2:
> variable2_type): function1_type
> return str2function1_type(str(variable1)+str('
> ')+str(variable2))
>
:
On Sun, May 24, 2015 at 06:03:50PM -0700, Ned Deily wrote:
> Zero Piraeus wrote:
> > Source tarballs (both .tgz and .tar.xz) are missing ...
>
> They seem to be there now. Are you still not able to download them?
Oops. Both Larry's reply to me and my thankyou to him turn out to have
been off
May I suggest to eliminate "->" in function definition?
def function1 (variable1: variable1_type, variable2:
variable2_type): function1_type
return str2function1_type(str(variable1)+str(' ')+str(variable2))
OR
def function1: function1_type (variable1: variable1_type,
variable
On Mon, May 25, 2015 at 9:45 AM, Chris Barker wrote:
> And a few comments on the patch ( I have not idea how to patch a patch...)
> Is there a branch somewhere with this patch applied?
Not at the moment. But if you click the "review" link next to the
patch on the tracker then you can leave commen
On Sat, 23 May 2015 20:14:56 -0700
Larry Hastings wrote:
>
> On 05/23/2015 07:38 PM, Nick Coghlan wrote:
> > Eric clarified for me that Larry was considering granting a feature
> > freeze exemption to defer landing this to beta 2 while Eric tracked
> > down a segfault bug in the current patch tha
23 matches
Mail list logo