Andrii V. Mishkovskyi misho...@gmail.com added the comment:
Nice to see this moving forward. Your patch looks nicer than my naive
approach and I hope it's going to be applied. Thanks for investigation. :)
--
___
Python tracker rep...@bugs.python.org
New submission from Andrii V. Mishkovskyi misho...@gmail.com:
I think the following message is a little bit confusing:
Python 2.7a0 (trunk, Mar 17 2009, 12:06:19)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
open('abc\x00')
Traceback (most recent call
New submission from Andrii V. Mishkovskyi misho...@gmail.com:
posix module lacks DeprecationWarning for the functions listed below:
tempnam, tmpfile, fdopen, getcwdu, popen, tmpnam
All of these are absent in 3.0, so I think adding DeprecationWarning to
all of them would be useful.
Attaching
Changes by Andrii V. Mishkovskyi misho...@gmail.com:
Removed file: http://bugs.python.org/file12354/posixmodule.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4662
Andrii V. Mishkovskyi misho...@gmail.com added the comment:
I've missed one simple thing -- posix.getcwdu has been renamed to
posix.getcwd in 3.0, so adding Py3k deprecation warning to this function
is not really needed. Instead a fix for this should be added to the list
of 2to3 fixes.
I've also
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Well, it's listed in Undocumented modules:
http://docs.python.org/library/undoc.html#obsolete
so I wouldn't call this a bug.
--
nosy: +mishok13
___
Python tracker [EMAIL PROTECTED]
http
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Oh, so this is how the process looks like...
/me removes patches
I've uploaded both py3k and trunk patches just because I'm fixing things
the other way round -- first I write a patch for 3.0 and only after that
I backport it to 2.6
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11016/issue3436.py3k.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11017/issue3436.trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11016/issue3436.py3k.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11017/issue3436.trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
I like the idea of fieldnames attribute being a property, so i've
uploaded patches that implement them as such.
Both patches ran through make test without problems.
___
Python tracker [EMAIL PROTECTED
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10967/trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10965/py3k.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
I'm ok with that. :)
Looks like you can close this one as won't fix.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
I had to use csv module recently and ran into a problem with
DictReader. I had to get headers of CSV file and only after that iterate
throgh each row. But AFAIU there is no way to do it, other then
subclassing. So, basically, right now
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10966/trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10966/trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10967/trunk.csv.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
--
components: +Library (Lib)
type: - behavior
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3436
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
And how this method should look?
Something like this, I suppose:
def getheader(self):
if self.fieldnames is None:
try:
self.fieldnames = self.reader.next()
except StopIteration:
pass
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
btw, some of the docstrings are also outdated, e.g. Pool.imap, Pool.map,
etc. Should I handle this one too?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3256
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
OK, I'll work on this too. :) Patch should be ready by Monday.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3256
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10848/multiprocessing.rst.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3256
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10960/issue3256.multiprocessing.rst.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3256
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Here is the updated version of multiprocessing.rst patch. Not much has
changes, as you can see (if you've seen the previous version, of course
;) ).
I have only one question left about multiprocessing.rst, it's about
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Attached the log of 'make -d' on clean checkout of py3k branch. This is
on Ubuntu 8.04.1.
--
nosy: +mishok13
Added file: http://bugs.python.org/file10907/make-d.log.bz2
___
Python tracker
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Actually, 'getx' - 'fget'. Sorry for the typo. :)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3352
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
--
nosy: +mishok13
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3354
___
___
Python-bugs-list
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
There are two places in multiprocessing where cPickle (gone from py3k
already) is used.
Both of them are in try .. except, so they don't break code.
Here is a patch that removes these uses.
--
components: Library (Lib
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
And here is the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file10867/issue3325.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3325
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
OK, then ignore the previous email, I'll send you a new one, with
updated questions.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3256
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
'make html' with latest py3k sources produces this warning:
WARNING: /home/mishok/doc/python/abc-doc-bug/Doc/library/abc.rst:11:
term not in glossary: abstract base classes
I've applied little patch that fixes
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
So, after 5 days of silence I present my current status on the patch.
This patch fixes Doc/includes/mp_*.py examples, except for the fact that
I couldn't make mp_distributing.py work, but I'm still working on this
issue
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
And this patch is for Doc/library/multiprocessing.rst. Still, there are
lot of issues, and as you none of you (Jesse or Richard) answered my
email, I'll post them tomorrow here. Right now, the patch. :)
Added file: http
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Lib/multiprocessing/connection.py contains two uses of
AuthenticationError, while it's not imported from multiprocessing
package. This exception is used in deliver_challenge() and
answer_challenge() functions. I've attached a small
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
multiprocessing uses a lot of `assert` statements all over the code. I
propose to change this way to a more readable and understandable. For
example:
Lib/multiprocessing/managers.py, line 136:
assert isinstance(authkey, bytes)
From my
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Multiprocessing docs contain examples, that are not valid py3k code,
mostly because of print used as a statement. Example (taken from
multiprocessing.rst):
from multiprocessing import Process
def f(name):
print 'hello', name
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
__*slice__() methods of sequence-like objects are removed in Python 3.0,
but operator.rst has sections on *slice()/__*slice__() functions.
Attached patch removes this functions from documentation.
--
assignee: georg.brandl
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
multiprocessing.sharedctypes.Array and
multiprocessing.sharedctypes.Value if used according to documentation
fail with AssertionError.
Python 3.0b1+ (py3k:64518, Jun 25 2008, 12:52:38)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Changes by Andrii V. Mishkovskyi [EMAIL PROTECTED]:
--
assignee: - georg.brandl
components: +Documentation
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3206
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
And here is the patch itself. :)
--
keywords: +patch
Added file: http://bugs.python.org/file10741/multiprocessing.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3206
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Even more, Python 3.0 crashes from following code:
Python 3.0b1+ (py3k:64528M, Jun 26 2008, 11:40:20)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type help, copyright, credits or license for more information.
from warnings import
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
To quote Python Library Reference, paragraph 3.1:
Any object can be tested for truth value, for use in an if or while
condition or as operand of the Boolean operations below. The following
values are considered false:
[skipped
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
This is covered in section 3.4.7 of Python Reference Manual:
__radd__(self, other)
[skipped]
These methods are called to implement the binary arithmetic
operations (+, -, *, /, %, divmod(), pow(), **, , , , ^, |) with
reflected
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
These flags are non-posix, linux-specific constants. Python 'os' module
uses 'posix' module for all *nix systems, including those, that do not
support O_ASYNC and FASYNC flags. I think your feature request should be
rejected
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
I think they at least should be supported on Linux then.
And what happens if some Unix flavor (i.e. Solaris) adds new flag, say
O_NONLINUXSYNC and it has the same value as linux's O_ASYNC? And then
FreeBSD adds O_BSDSYNC flag
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
datetime and date strftime() method does additional check on input
format, thus being completely different from time's module
time.strftime() method behavior.
There are two ways to fix this:
1. Add an explicit note about this behavior
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
I've uploaded a patch that fixes this concrete issue, though
locale.format() continues to silently ignore other types of malformed
strings (e.g. locale.format('%fSPAMf')).
I don't think this is correct behavior. Maybe there should be reg
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
locale.format() doesn't insert correct decimal separator to string
representation when 'format' argument has '\r' or '\n' symbols in it.
This bug has been reproduced on Python 2.5.2 and svn-trunk.
Python 2.4.5 (#2, Mar 12 2008, 14:42
50 matches
Mail list logo