Guido van Rossum added the comment:
GHave you two agreed yet as to which patch(es) I should look at?
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
I don't think I can check these in yet; right now they are inconsistent.
But I will check them in when they are ready.
--
assignee: -> gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pyt
Guido van Rossum added the comment:
Assigning to Bill Janssen.
--
assignee: -> janssen
nosy: +gvanrossum, janssen
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Guido van Rossum added the comment:
It's been too long since I wrote this code to be able to review, but I'm
glad that it still gets some love and attention. Here's to hoping that
your patch gets applied.
--
nosy: +gvanrossum
__
Changes by Guido van Rossum:
--
nosy: -gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1251>
__
___
Python-bugs-list mailing list
Unsubs
Guido van Rossum added the comment:
Thanks, evaluating!
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1258>
__
___
Python-bugs-
Guido van Rossum added the comment:
I see 10 failing tests:
test_ctypes test_email test_httplib test_inspect test_os test_re
test_subprocess test_sys test_xml_etree test_xml_etree_c
--
assignee: -> gvanrossum
__
Tracker <[EMAIL PRO
Guido van Rossum added the comment:
On 10/10/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> test_ctypes: works for me
Did you svn up, make clean and rebuild?
> test_email: need some help from an email expoert
Which test is fai
Guido van Rossum added the comment:
> PyErr_Print() is called to report exception raised by codec.
> If PyUnicode_DecodeUTF8() or PyUnicode_AsEncodedString() return NULL,
> PyErr_Print() is called.
This comment is not very helpful; it describes what happens, but not
why, or whether
Guido van Rossum added the comment:
On 10/10/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> Guido van Rossum wrote:
> > Did you svn up, make clean and rebuild?
>
> The ctypes package didn't change since my last
Changes by Guido van Rossum:
--
assignee: -> gvanrossum
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1261>
__
___
Python-bugs-li
Changes by Guido van Rossum:
--
assignee: -> gvanrossum
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1260>
__
___
Python-bugs-li
Changes by Guido van Rossum:
--
assignee: -> gvanrossum
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1263>
__
___
Python-bugs-li
Guido van Rossum added the comment:
There are tons of situations where such an exception will be
suppressed, ofr better or for worse. I don't think this one deserves
such a radical approach.
On 10/11/07, atsuo ishimoto <[EMAIL PROTECTED]> wrote:
>
> atsuo ishimoto added the co
Changes by Guido van Rossum:
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1265>
__
___
Python-bugs-list mailing list
Unsubs
Guido van Rossum added the comment:
> Patch updated. It now implements the is*() methods for PyBytes. It
> moves common code into a shared bytes_ctype.c and .h file so that
> stringobject.c and bytesobject.c can share as much as possible.
Did you move this into the stringlib sub
Changes by Guido van Rossum:
--
assignee: -> gvanrossum
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1272>
__
___
Python-bugs-li
Guido van Rossum added the comment:
Couple of nits:
- You added a removal of hotshot from setup.py to the patch; but that's
been checked in in the mean time.
- Why add an 'errors' argument to the function when it's a fatal error
to use it?
- Using 0 to autodetect
Guido van Rossum added the comment:
On 10/13/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> > - Why add an 'errors' argument to the function when it's a fatal error
> > to use it?
>
> I wanted the signature o
Guido van Rossum added the comment:
> > Oh. Hm. I still wish that PyCode_New() could just insist that the
> > filename argument is a PyUnicode instance. Why can't it? Perhaps the
> > caller should be fixed instead?
> I'll try.
I figured out the problem -- i
Guido van Rossum added the comment:
Well, you could ensure that by checking that you haven't reached the
end of the mangling buffer. That will have the added advantage that
when the input is something silly like 32 spaces followed by "utf-8"
it will be still be mangled correc
Changes by Guido van Rossum:
--
resolution: -> out of date
status: open -> closed
superseder: -> Decode __file__ and co_filename to unicode using fs default
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.py
Changes by Guido van Rossum:
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1267>
__
___
Python-bugs-list mailing list
Unsubs
Guido van Rossum added the comment:
Can this be closed now that Travis reverted his patch?
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
You can check this in. You do have checkin privs right?
--
resolution: -> accepted
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Changes by Guido van Rossum:
--
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1260>
__
___
Python-bugs-list mailing list
Uns
Guido van Rossum added the comment:
Crys, is this OK with you?
On 10/13/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote:
>
> Alexandre Vassalotti added the comment:
>
> Guido wrote:
> > I figured out the problem -- it came from marshalled old code objects.
> &
Guido van Rossum added the comment:
OK, in the spirit of delegation I'll leave this for you and Alexandre to
work out more. If you're stuck, post to the list so others can jump in.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
Changes by Guido van Rossum:
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1268>
__
___
Python
Guido van Rossum added the comment:
Only a few modules are involved in the bootstrap. The filename is
mostly used to display in the traceback. There is already a fallback
in the traceback-printing code that tries to look through sys.path for
a file matching the module if it can't ope
Guido van Rossum added the comment:
> Oh stop, the array module doesn't build for me (Ubuntu Linux, i386,
> UCS-4 build, rev58458):
>
> Modules/arraymodule.c: In function 'array_buffer_getbuf':
> Modules/arraymodule.c:1815: error: 'Py_buffer' has no m
Guido van Rossum added the comment:
This looks promising. I'm working on the freeze issue. Once I get that
working I'll check this in. Thanks Alexandre and Christian for all
your hard work!!!
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
Guido van Rossum added the comment:
> The problem is the imp module, which modulefinder uses, does not
> detect the encoding of the files from the mode-line. This causes
> TextIOWrapper to crash when it tries to read modules using an encoding
> other than ASCII or UTF-8. Her
Guido van Rossum added the comment:
> > This looks promising. I'm working on the freeze issue. Once I get that
> > working I'll check this in. Thanks Alexandre and Christian for all
> > your hard work!!!
>
> You're welcome. Does the patch qualify me for
Guido van Rossum added the comment:
Committed revision 58466.
Fingers crossed.
--
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
> atsuo ishimoto added the comment:
>
> That's fine with me. Please replace PyErr_Print() with PyErr_Clear().
Done.
Committed revision 58471.
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.
Guido van Rossum added the comment:
Hm? This is a one-word patch to email/generator.py.
On 10/15/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> Here is an updated patch which applies cleanly and fixes some additional
> unit tests
Guido van Rossum added the comment:
Marc-Andre, do you understand this issue? Your name is in
Tools/unicode/Makefile; the patch deletes the line
$(RM) build/mac_japanese.*
from the apple target, which seems rather arbitrary.
--
assignee: -> lemburg
nosy: +gvanrossum, lemb
Guido van Rossum added the comment:
Patch please?
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1277>
__
___
Python-bugs-list
Guido van Rossum added the comment:
Can you suggest a patch?
Adding Brett Cannon to the list, possibly his import-in-python would
supersede this?
--
nosy: +brett.cannon, gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
I'll look at this at some point. One quick comment: the lnotab and bytecode
should use PyString, which will be 'bytes' in 3.0a2. They must be immutable
because code objects must be immutable (it must not be possible to modify an
existing code
Guido van Rossum added the comment:
> No, I can't suggest a patch. I don't know how we could get the encoding
> from the tokenizer or AST.
Try harder. :-) Look at the code that accomplishes this feat in the
regular parser...
__
Tracker <[EMAI
Guido van Rossum added the comment:
Call PyTokenizer_Get until the line number is > 2?
On 10/15/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> > Try harder. :-) Look at the code that accomplishes this feat in the
> &
Guido van Rossum added the comment:
Is it worth my time to review this yet?
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1261>
__
___
Python-bugs-list
Changes by Guido van Rossum:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1258>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mai
Guido van Rossum added the comment:
> The unit tests profile, cProfile and doctest fail w/ and w/o this patch.
> They seem to suffer from the latest changes of our previous patch and
> additional calls to utf_8_decode().
Any details on those? They don'
Guido van Rossum added the comment:
I'll check this in as soon as there's agreement on the list about this.
Not that I expect disagreement, but I just realized it was never brought
up and it isn't in PEP 3137 (yet).
__
Tracker <[EMAIL
Guido van Rossum added the comment:
BTW we need a 2to3 fixer for this. Should be trivial -- just replace
*all* occurrences of basestring with str.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Guido van Rossum:
Once PEP 3137 is fully implemented, the re module needs to be fixed so
that the regex argument, the substitution argument, and the argument
being searched/replaced are allowed to be arbitrary bytes arrays; where
hashing is needed a copy in an immutable bytes
Guido van Rossum added the comment:
Even before this patch, the re module doesn't work very well on byte
strings. IMO this should be fixed. I've filed a separate bug to remind
us: bug 1282.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
Guido van Rossum added the comment:
Very impressive!
(Apologies if these lines are occasionally out of order.)
+extern PyObject* _bytes_isspace(const char *cptr, const Py_ssize_t len);
IMO all these functions should have names starting with _Py or _Py_,
since they are visible to the linker
Guido van Rossum added the comment:
Good! Check it in before I change my mind. :-)
The words can be tweaked later.
> 04b is the same as 04, i just fixed the docstrings that i had missed in
> stringlib/transmogrify.h to use 'B' instead of 'S' and say they return a
>
Guido van Rossum added the comment:
> I've carefully checked and tested the initstdio() method. I'm sure that
> I've catched every edged case. The unit tests pass w/o complains.
>
> I've also added a PyErr_Display() call to Py_FatalError(). It's still
>
Guido van Rossum added the comment:
Committed revision 58495.
Thanks Christian!!!
--
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
Does this mean I should hold off reviewing the patch?
On 10/16/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> Christian Heimes wrote:
> > * removed unused import of open in initstdio()
&g
Guido van Rossum added the comment:
Patch please?
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1291>
__
___
Python-bugs-list
Guido van Rossum added the comment:
Would you mind submitting a patch instead of a whole new file?
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
This is tough. On the one hand you are right that different classes that
have different formatException() methods aren't treated correctly; on
the other hand I think the caching is important for other cases where
there are multiple loggers all usin
Guido van Rossum added the comment:
How important is z/OS? I'm very skeptical of the viability of any OS
that uses an encoding that is not a superset of ASCII.
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Guido van Rossum added the comment:
I think so.
On 10/18/07, Thomas Heller <[EMAIL PROTECTED]> wrote:
>
> Thomas Heller added the comment:
>
> > > This is tough. On the one hand you are right that different classes that
> > > have different formatException() met
Guido van Rossum added the comment:
Hmm... I don't think this is the right thing to do. The code is broken
in several ways. I recommend you find someone to help you come up with
a better patch in comp.lang.python.
--
keywords: +patch
__
Tr
Guido van Rossum added the comment:
I've committed the half of this patch that doesn't break any tests: the
changes to codecs.c and structmember.c.
Committed revision 58551.
I'm seeking help getting the remaining unit tests to pass. (Thanks
Thomas for the enumeration of th
Changes by Guido van Rossum:
--
assignee: -> gvanrossum
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1280>
__
___
Python-bugs-li
Guido van Rossum added the comment:
I will take this.
--
assignee: brett.cannon -> gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1267>
__
Guido van Rossum added the comment:
There were some seriously broken things with exception reporting, most
of which I seem to have fixed.
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
There were some seriously broken things with exception reporting, most
of which I seem to have fixed.
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
FYI, I checked the moderation queue for python-dev and didn't find your
message. You might want to resend.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Changes by Guido van Rossum:
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1278>
__
___
Python
Guido van Rossum added the comment:
Committed revision 58553 (with minor tweaks only).
Thanks!
--
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
Checked in. I addressed some of your XXX'es, left others in (sre needs
a serious checkup for compatibility with bytes).
Committed revision 58552.
--
resolution: -> accepted
status: open -> closed
__
Trac
Guido van Rossum added the comment:
Neal, didn't you say you had a fix for this?
--
nosy: +nnorwitz
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Guido van Rossum added the comment:
> OK, I think I might have a solution, and it is really stupid. I will
> run the unit test suite to see if it really fixes everything.
Here's keeping my fingers crossed.
I do note that the new code still leaks the encoding string which is
m
Guido van Rossum added the comment:
FWIW, on Mac I get six failures (all these pass on Linux):
test_cmd_line test_inspect test_modulefinder test_pyclbr test_quopri test_runpy
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
> How do you measure importance? Z/OS is not important to many
> people in the world, but to those to whom it is important, it is
> _very_ important, in a very tangible way. It was certainly
> important enough for someone to port Python to it. :
Guido van Rossum added the comment:
Thanks for persevering!!!
The dangers of switching between fileno(fp) and fp are actually well
documented in the C and/or POSIX standards. The problem is caused in
PyFile_FromFileEx() -- it creates a Python file object from the file
descriptor. The fix
Guido van Rossum added the comment:
Sorry, I was wrong about the encoding leak; you fixed that. The
FILE/fd issue is real though.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
> Guido, Brett, how much of the code should I change? import.c is mainly
> using file pointers. Should I replace all operations on FILE with
> operations on a file descriptor?
I think find_module() should return a file descriptor (fd), not a
FILE*,
Guido van Rossum added the comment:
> Is PyFile_FromFd and PyFile_FromFdEx fine with you or do you prefer a
> different name like PyFile_FromFD and PyFile_FromFDEx or
> PyFile_FromFileDescriptor?
Let's have a single function PyFile_FromFd(fd, name, mode, buffering,
encoding, new
Guido van Rossum added the comment:
Do you have access to Windows? I believe it doesn't have dup(). :-(
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1267>
__
_
Guido van Rossum added the comment:
> Guido, what do you want to do about the struct module for the various
> string formats (i.e., c, s, p)? Should they return str8 or Unicode?
Oh, tough call. I think they should return str8 (i.e. bytes after the
rename) because the encoding isn't
Guido van Rossum added the comment:
> > Do you have access to Windows? I believe it doesn't have dup(). :-(
>
> I've an old laptop with Win2k at my disposal but it has no VS yet. Can
> you point me to a set of instruction how to install VS 2003? I've just
> VS .N
Changes by Guido van Rossum:
--
resolution: accepted ->
status: closed -> open
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1267>
__
___
Python
Guido van Rossum added the comment:
OK, checked in.
You might want to compare what I checked in to your patch; I did a few
style cleanups. I also moved the lseek() call into import.c, where it
seems more appropriate.
Committed revision 58587.
--
resolution: -> accepted
status: o
Guido van Rossum added the comment:
Committed revision 58592.
--
nosy: +gvanrossum
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
Thanks!
Committed revision 58594.
Is there time to backport this to 2.5.2?
--
assignee: -> nnorwitz
nosy: +gvanrossum, nnorwitz
resolution: -> accepted
__
Tracker <[EMAIL PROTECTED]>
<http://
Guido van Rossum added the comment:
This doesn't apply cleanly with today's trunk, and that's not just due
to the fix by Christian Heimes (which I checked in before noticing this)
that fixes the same issue (bytes_methods.c).
Can you & Christian please work together on a new p
Guido van Rossum added the comment:
Odd. Smells like an OSX issue that we can't do anything about. I note
that only attempts 250, 500, 750 (and so on if you increase the counter)
have this behavior. I wonder if you'r simply filling up some kernel
queue too fast; if I insert time.s
Guido van Rossum added the comment:
Yup, I think that was it. Sorry.
Committed revision 58597.
--
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
Fine with me!
--
nosy: +gvanrossum
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue708374>
___
Python-bugs-
Changes by Guido van Rossum:
--
resolution: -> accepted
status: open -> closed
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue708374>
__
Guido van Rossum added the comment:
Thanks Georg; please check it in!
--
assignee: gvanrossum -> georg.brandl
resolution: -> accepted
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
This will get more attention if you suggest a patch...
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
Please check in and close -- thanks for finding these!
--
assignee: gvanrossum -> georg.brandl
resolution: -> accepted
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Guido van Rossum added the comment:
Committed revision 58618.
There better not be any others. :-)
Neal, can you add this to 2.5.2 and then close?
--
assignee: gvanrossum -> nnorwitz
status: closed -> open
__
Tracker <[EMAIL PROTECTE
Changes by Guido van Rossum:
--
assignee: -> tim_one
nosy: +tim_one
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1312>
__
___
Python-bugs-li
Guido van Rossum added the comment:
Committed revision 58619.
--
assignee: -> gvanrossum
nosy: +gvanrossum
resolution: -> accepted
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.py
Guido van Rossum added the comment:
Martin, why do we need to keep these when we already have tempfile.py?
I don't see that they solve any particular POSIX compatibility
requirement. And they *are* unsafe. (Admitted, sometimes there's no
alternative -- even tempfile.py still provi
Guido van Rossum added the comment:
I have no desire or time to continue this discussion. The ASCII
assumption will be ingrained as deeply or deeper in 3.0 than in 2.x,
just like 8-bit bytes and 2's complement. The computer industry has
chosen, and there just isn't any incentive
Guido van Rossum added the comment:
Looks good to me. I can check it in if Thomas is okay with that (or if
he remains silent long enough :-).
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Guido van Rossum added the comment:
Do you have a patch? That would help tremendously.
--
nosy: +gvanrossum
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
401 - 500 of 5563 matches
Mail list logo