Catalin Iacob added the comment:
In reply to msg168184, LIBDIR is set to include lib64 instead of lib because
openSUSE explicitly does it that way in their multilib implementation.
More specifically, the CONFIG_SITE environment variable is set to
/usr/share/site/x86_64-unknown-linux-gnu which
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue1294959>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
There are 2 issues with the documentation changes introduced by these patches.
1. for 2.7, the note added by the doc patch is in the wrong place, at the
setpassword method instead of the extract or extractall method
2. for 3.x the "Never extract archives
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue6972>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
Could it be that Raymond's file had Unix line endings?
I tried to reproduce this, picked a file on my disk and indeed I got a negative
number, but that file has Unix line endings. This is documented at
http://docs.python.org/2/library/stdtypes.html#file
Catalin Iacob added the comment:
Attached v4 of patch with error checking for getc and some more comments.
A real world example of the speedup is Calibre (http://calibre-ebook.com/)
which on Windows comes with its own code, its dependecies and Python's stdlib
all bundled in a 40MB zip.
Catalin Iacob added the comment:
Yes Serhiy, I was planning to, lack of time followed by (just finished)
vacation lead to a stall. Thanks for following up on this.
I should soon, probably this weekend, have an updated version addressing your
comments
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue5054>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
Václav, are you sure about the official python27.dll being linked against
msvcrt.dll? Maybe this is your own python27.dll compiled with MinGW?
I see the opposite: for both C:\windows\system32\python27.dll (64 bit) and
c:\windows\SysWOW64\python27.dll (32 bit
Changes by Catalin Iacob :
Added file: http://bugs.python.org/file28117/zipimport-speedup-v3.patch
___
Python tracker
<http://bugs.python.org/issue8745>
___
___
Python-bug
Catalin Iacob added the comment:
I tried Serhiy's suggestion in msg174934, see attached
attempt-fseek-seek_cur.patch updated to current default. It makes no difference
relative to the default branch for my test stdlib.zip, dummy reads still work
better on Windows.
This makes sense i
Changes by Catalin Iacob :
--
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue8745>
___
___
Python-bugs-list mailing list
Unsub
Catalin Iacob added the comment:
Can't reproduce this on openSUSE Factory (development version, what will become
12.3).
I tried with openSUSE's Python 2 which is 2.7.3 and with self compiled up to
date 2.7 branch from hg. For each of these I bumped the number of files to 3000
inst
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue8713>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
The same happens on OpenSUSE 12.1 so Python can't be fully built there which is
a bit of a shame.
OpenSUSE uses this patch for their packages, but that would break other
distributions so it's not a good solution:
-#include
+#include
Here'
Catalin Iacob added the comment:
Attached a patch that adds a note for getattr and setattr. hasattr is
documented in terms of getattr so I would say it's not needed there.
I don't know if the interaction with private attributes is confusing enough
that it's worth increasing t
Changes by Catalin Iacob :
--
nosy: +larry
___
Python tracker
<http://bugs.python.org/issue12178>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
So, how to move this further?
In #13425 Petri proposes 4 alternatives, copying them here:
1) Document the function to make it officially part of the public API
2) Rename and move the function to http.server
3) Leave it undocumented and just fix it
4) Deprecate
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue15014>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
I updated Goplat's patch to the default branch.
It now needs to read 4 dummy bytes instead of 6 since an extra
PyMarshal_ReadShortFromFile was added to the default branch in the mean time. I
added an explicit dummy buffer instead of reading the dummy
Catalin Iacob added the comment:
Attached v2 of patch where mixing str and binary data for altchars or map01
raises TypeError.
I also added a note for each of the changed functions that it also accepts
strings (but didn't also update the docstrings).
When writing the docs, th
Catalin Iacob added the comment:
My current patch allows mixing of bytes and str for the data to be decoded and
the altchars or map01 parameter. Given David's observation in msg153505 I'll
update the patch to require that both the data and altchars/map01 have the
Catalin Iacob added the comment:
Attached alternative patch with a different approach: on input, strings are
encoded as bytes and the rest of the code proceeds as before.
All existing tests for bytes now test for strings as well and there is a new
test for strings with non ASCII characters
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue8739>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
Here's my attempt at a patch. It mostly takes the text from the default branch
and adds references to __cmp__.
--
keywords: +patch
Added file: http://bugs.python.org/file24361/issue13905v1.patch
___
Python tr
New submission from Catalin Iacob :
In 2.7 the Comparisons section of stdtypes.rst only talks about __cmp__ and
never mentions the rich comparison methods:
"Instances of a class normally compare as non-equal unless the class defines
the __cmp__() method. Refer to Basic customization
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue10042>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue6210>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
To avoid messing with system registry settings it sounds like
WerRegisterRuntimeExceptionModule could also work, at least on Windows7
http://msdn.microsoft.com/en-us/library/windows/desktop1/dd408167%28v=VS.85%29.aspx
There could be a dll which would do
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue11732>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue5619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue9116>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
I looked at this and understood why it's happening. I don't know exactly how to
fix it though, so here's what I found out.
When a doctest appears in a docstring at line n in a file,
RefactorTool.parse_block will return a tree corresponding t
Catalin Iacob added the comment:
Senthil's proposal in msg140543 has +1 from me.
--
___
Python tracker
<http://bugs.python.org/issue12577>
___
___
Pytho
Changes by Catalin Iacob :
Added file: http://bugs.python.org/file22680/88b5c7ab7a03.diff
___
Python tracker
<http://bugs.python.org/issue7484>
___
___
Python-bugs-list m
Catalin Iacob added the comment:
I looked at the Felipe's patch and hopefully made some improvements.
Unlike Felipe's patch I didn't change the reply of the SMTP server in the tests
but instead use what VRFY and EXPN actually send to index the users and lists
dictionaries.
Catalin Iacob added the comment:
Attached patch which clarifies that the copy fallback is used whenever
os.rename fails not just for the different filesystems case.
--
keywords: +patch
Added file: http://bugs.python.org/file22679/clarify-shutil.move-docs.patch
New submission from Catalin Iacob :
I recently tried to answer the question: "When moving a file to a destination
that is an already existing file, is the destination overwritten?"
>From the current docs I understood that if src and dst are on the same
>filesystem then os.re
Changes by Catalin Iacob :
--
keywords: +patch
Added file: http://bugs.python.org/file22596/0eb420ce6567.diff
___
Python tracker
<http://bugs.python.org/issue12
Catalin Iacob added the comment:
I looked at this and tried to provide a patch + tests. Please review.
The bug is that a writer can use writerow on some input data but if a reader
with the same dialect reads them back they are different from the input ones.
This happens when the input data
Catalin Iacob added the comment:
Just a note after running Joe's example. smtplib is affected by this issue in
3.x, but the example produces different results in 3.x: smtpd doesn't keep the
connection open due to UnicodeDecodeError when the data from the ssl handshake
cannot be
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue12378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Catalin Iacob added the comment:
Most of the problems in this issue were solved already so it could almost be
closed:
* patch 1 was addressed in #11927
* patch 2 was addressed in #4066
* patches 3 and 4 were addressed in #11893
Torsten's problem was addressed by bcf04ced5ef1.
> I
Catalin Iacob added the comment:
Attached v1 of patch. Please review.
There are some tests using GMail in test_smtpnet.py. They still pass with the
patch. I also did manual tests with GMail with both SMTP + starttls and
SMTP_SSL.
The idea of the patch is that SMTP.getreply is already doing
Catalin Iacob added the comment:
Attached patch + test case.
Also tested cStringIO in 2.7 and io.StringIO in 3.2 and 3.3 tip and they aren't
affected.
--
keywords: +patch
nosy: +catalin.iacob
Added file: http://bugs.python.org/file22116/12161.
Catalin Iacob added the comment:
I looked at providing a patch for this issue as an introductory step (this
would be my first patch).
But when following the code I discovered that the case that this issue is
trying to optimize is never executed in current CPython. In that case, there
isn
Catalin Iacob added the comment:
I can reproduce this on 3.2 final but not on the tip of the 3.2 branch so it
seems to have been fixed.
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue12
Changes by Catalin Iacob :
--
nosy: +catalin.iacob
___
Python tracker
<http://bugs.python.org/issue3244>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Catalin Iacob :
--
nosy: +catalin
___
Python tracker
<http://bugs.python.org/issue7484>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Catalin Iacob :
--
nosy: +catalin
___
Python tracker
<http://bugs.python.org/issue459007>
___
___
Python-bugs-list mailing list
Unsubscribe:
50 matches
Mail list logo