Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file:
http://bugs.python.org/file29071/posix_uid_gid_conv_signed_long_long.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2005
___
Serhiy Storchaka added the comment:
Auxiliary conversion functions for uid_t and gid_t was added in issue4591. They
are supports unsigned types not larger than unsigned long.
If someone need the support of the platform with signed uid_t/gid_t or with
uid_t/gid_t larger than long (I don't know
Antoine Pitrou added the comment:
Richard, do you still want to push this forward? Otherwise I'd like to finalize
the patch (in the other sense ;-).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15528
Antoine Pitrou added the comment:
I agree with Stefan that the file is a lot more readable if the
docstring
is not repeated twice.
Couldn't the generated C docstring end up in a separate file? It's only a
constant after all.
It seems to me that one reason we don't give much love to C
Serhiy Storchaka added the comment:
Fixed by patch for issue4591.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: - 32-bits unsigned user/group identifier
___
Python
New submission from py.user:
class A:
... '''class'''
... def c(self):
... '''c doc'''
... pass
... def b(self):
... '''b doc'''
... pass
... def a(self):
... '''a doc'''
... pass
...
help(A)
class A(builtins.object)
| class
|
| Methods defined here:
|
Christian Heimes added the comment:
IMHO the patch should also limit the maximum amount of read bytes in
Transport.parse_response(). Do you agree?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16043
Serhiy Storchaka added the comment:
Similar test was committed for issue4591 and it fixes this issue. There are
only two differences with Larry's patch: tests and handling of non-integers.
Here is a patch based on Larry's patch which extends tests for *chown().
--
nosy:
Serhiy Storchaka added the comment:
And here is a patch which uses __index__ for uid and gid conversion.
decimal.Decimal should be added to the list of wrong types in the test.
I'm not sure about the last patch, whether to consider it as a bugfix or as a
new feature?
--
nosy: +skrah
Martin v. Löwis added the comment:
doko: this issue is about Windows; autoconf is not being used here (plus the
correct compiler would be MSC).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12641
Serhiy Storchaka added the comment:
Serhiy: One question. Is there a need to have -
+ append = res.append
And then use 'append'?
This speed up unquote_to_bytes by 15%.
--
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
Richard, do you still want to push this forward? Otherwise I'd like to
finalize the patch (in the other sense ;-).
I started to worry a bit about daemon threads. I think they can still run
while atexit functions are being run.* So if a daemon thread
Serhiy Storchaka added the comment:
I think instead of global variable it will be better to add an optional
parameter for gzip_decode() (with a sane default value) and related functions.
Or at least in additional to it.
--
nosy: +serhiy.storchaka
Todd Rovito added the comment:
Thanks Terry and Chris you guys have supplied great feedback. I will work on
the issue and try to get a new patch updated by end of the weekend (2/18/13).
Sent from my iPhone
On Feb 13, 2013, at 11:56 PM, Terry J. Reedy rep...@bugs.python.org wrote:
Terry
Ramchandra Apte added the comment:
Sorry, but there is no way of telling the order as methods are respresented
internally as a dictionary. Please close this as invalid.
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +brett.cannon
stage: - needs patch
type: - enhancement
versions: +Python 2.7 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17135
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
___
Ezio Melotti added the comment:
See also #16969.
--
nosy: +ezio.melotti
resolution: out of date - duplicate
superseder: - test_urlwithfrag fail
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17160
Ronald Chapman added the comment:
Islamabad l guythen vkd dudziozl
--
hgrepos: +174
nosy: +Ronald.Chapman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17103
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
Removed message: http://bugs.python.org/msg182097
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
hgrepos: -174
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: -Ronald.Chapman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
___
Antoine Pitrou added the comment:
Eric, do you want to commit?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
___
Antoine Pitrou added the comment:
Is it necessary/desirable to allow daemon threads to run during
shutdown. Maybe blocking thread switching at shutdown could cause
deadlocks?
Mmmh... thread switching is already blocked at shutdown:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17179
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
+1. Let's make it for 3.4.
--
keywords: +easy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17201
___
Serhiy Storchaka added the comment:
Can we fix this easy issue before 2.7.4 release?
--
keywords: +easy
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
Antoine Pitrou added the comment:
Ageed, it's probably easy enough.
--
stage: - needs patch
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
Richard Oudkerk added the comment:
On 14/02/2013 3:16pm, Antoine Pitrou wrote:
Mmmh... thread switching is already blocked at shutdown:
http://hg.python.org/cpython/file/0f827775f7b7/Python/ceval.c#l434
But in Py_Finalize(), call_py_exitfuncs() is called *before* _Py_Finalizing is
set to a
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - test needed
versions: +Python 3.4 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11048
___
Serhiy Storchaka added the comment:
Already fixed in issue12283.
--
components: +email
nosy: +barry, r.david.murray, serhiy.storchaka
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - python3.2 smtplib _quote_periods
type: crash - behavior
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13153
___
___
Python-bugs-list mailing list
New submission from Dave Malcolm:
When running my refcount static analyzer [1] on a large corpus of real-world C
extension code for Python, I ran into the following construct in various places:
Py_XDECREF(PyObject_CallObject(callable, args));
This is bogus code: Py_XDECREF expands its
Serhiy Storchaka added the comment:
FreeBSD 6.4 and Windows test failures was fixed in changesets 8fb98fb758e8 and
ec70abe8c886.
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
R. David Murray added the comment:
Ramchandra is correct. If you were to implement a don't sort flag, what you
would get is *random* order (and a different order each time, in 3.3+).
Further, this is Python-interpreter internal data structure we are talking
about, so it isn't even an option
Serhiy Storchaka added the comment:
Oh, I shouldn't close this until this dangerous feature will be deprecated.
--
assignee: serhiy.storchaka -
resolution: fixed -
stage: committed/rejected - needs patch
status: closed - open
___
Python tracker
Brett Cannon added the comment:
On Thu, Feb 14, 2013 at 11:07 AM, Dave Malcolm rep...@bugs.python.orgwrote:
New submission from Dave Malcolm:
When running my refcount static analyzer [1] on a large corpus of
real-world C extension code for Python, I ran into the following construct
in
Serhiy Storchaka added the comment:
Won't fix?
--
nosy: +serhiy.storchaka
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7145
___
Changes by Richard Oudkerk shibt...@gmail.com:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16246
___
___
Serhiy Storchaka added the comment:
Now, is there some problem if we remove the calls to the tell method
in _write_header ? See patch attached (tests are very welcome too).
Yes, there is a problem. User can pass already open file to wave.open() and
file position can be not 0 at the start of
William Mallard added the comment:
See attached. The patch updates ZipFile, its documentation, and its unit tests.
--
keywords: +patch
Added file: http://bugs.python.org/file29074/zipfile_zip64_by_default.patch
___
Python tracker
Zachary Ware added the comment:
Ping!
If there are no objections, would anyone mind committing this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16893
___
Changes by William Mallard w...@llard.net:
Added file: http://bugs.python.org/file29075/zipfile_zip64_by_default.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17201
___
Serhiy Storchaka added the comment:
Already fixed in issue6975.
--
nosy: +serhiy.storchaka
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I don't understand a phrase and is assigned to the target of the as clause on
entry to a context. Typo?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14515
Daniel Urban added the comment:
I don't think this is a bug:
from datetime import datetime
class tdatetime(datetime, foo='bar'):
... pass
...
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: type() takes 1 or 3 arguments
--
nosy: +daniel.urban
Serhiy Storchaka added the comment:
Can convert_timestamp(val) be implemented as
datetime.datetime.strptime(val.decode(), '%Y-%m-%d %H:%M:%S.%f')?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14720
Serhiy Storchaka added the comment:
Already fixed in issue1470548.
--
nosy: +serhiy.storchaka
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
The patch is missing the markup for the 'as' keyword (it should read
:keyword:`as`). If that were added, would the sentence make sense to you?
Would it be clearer to say that the directory name is returned by the __enter__
method?
--
Serhiy Storchaka added the comment:
Aha, now it makes a sense to me.
I don't know which variant will be clear.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14515
___
Antoine Pitrou added the comment:
But in Py_Finalize(), call_py_exitfuncs() is called *before*
_Py_Finalizing is set to a non-NULL value.
http://hg.python.org/cpython/file/0f827775f7b7/Python/pythonrun.c#l492
Ah, right. But is it any different from, e.g., registering an atexit
handler
Richard Oudkerk added the comment:
In any case, I think it's just something we'll have to live with. Daemon
threads are not a terrific idea in general.
I agree.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15528
New submission from Martin Mokrejs:
Hi,
I don't know if this is related to issue8040 or not. I find the 2.7 string
formatting behavior inconsistent. I found out sometimes I have to divide my
number by 100 so that the percentage values get printed correctly. Somehow,
when a percent sign
R. David Murray added the comment:
You appear to be mixing up % style formatting and 'format' style formatting,
especially since you seem to be using both in your examples, which is redundant.
Please see http://docs.python.org/2.7/library/string.html#format-string-syntax
for the explanation
Sven Brauch added the comment:
I don't want to push anything, but did you find time to review this yet? It
would be great to have it in the next release.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16795
Brett Cannon added the comment:
Python 3.4.0a1 isn't due until August so you have no worries about missing the
next release. =)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16795
___
Reuben D'Netto added the comment:
OK, I've implemented tests for read_until() and expect() using both poll and
select. I ended up rewriting _read_until_with_select() to look more like the
poll equivalent in the process, which should hopefully make it more
maintainable.
--
Added file:
59 matches
Mail list logo