New submission from MATSUI Tetsushi:
TextCalendar.formatmonth is not influenced by setfirstweekday,
but the argument of constructor.
Documentation:
Depends on the first weekday as set by setfirstweekday().
actual behavior:
cal0 = calendar.TextCalendar()
print cal0.formatmonth(2008, 2)
Thomas Dybdahl Ahle added the comment:
which means no global namespace access
Does that mean that you cannot use len and range in a Thread?
--
nosy: +lobais
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1722344
Christian Heimes added the comment:
Does your patch also work on systems which don't allow negative values
for time_t?
--
keywords: +patch
nosy: +tiran
priority: - normal
type: behavior - rfe
versions: +Python 3.0 -Python 2.5
__
Tracker [EMAIL
Changes by Christian Heimes:
--
components: +Interpreter Core
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2015
__
___
Python-bugs-list mailing
Changes by Christian Heimes:
--
components: +Interpreter Core
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2016
__
___
Python-bugs-list mailing list
Changes by Christian Heimes:
--
assignee: - georg.brandl
keywords: +easy
nosy: +georg.brandl
priority: - normal
type: - behavior
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2017
__
Changes by Christian Heimes:
--
keywords: +easy
priority: - normal
type: - behavior
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2018
__
___
Python-bugs-list
Christian Heimes added the comment:
From the doc string:
note that BSDDBCookieJar and the MSIE* classes are not
distributed with the Python standard library, but are available from
http://wwwsearch.sf.net/
--
nosy: +tiran
priority: - normal
__
Tracker
Ralf Schmitt added the comment:
Well, all it basically does is changing calls to obj.strftime to a
custom string formatting function (where obj is a datetime.datetime,
datetime.date or datetime.time). These strftime calls are made during
object marshalling. So, all the objects to be marshalled
Changes by Amaury Forgeot d'Arc:
--
nosy: +amaury.forgeotdarc
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1722344
_
___
Python-bugs-list mailing list
Walter Dörwald added the comment:
Fixed in r60618 (trunk) and r60619 (release25-maint)
--
nosy: +doerwalter
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2017
__
Walter Dörwald added the comment:
setfirstweekday() isn't supposed to have any influence on calendar
objects created explicitely. The function setfirstweekday() is only for
the module level interface. The documentation is wrong here. However you
*can* change the first weekday with the
New submission from Christian Heimes:
As discussed at
http://permalink.gmane.org/gmane.comp.python.python-3000.devel/11694 the
patch adds several PyName_ClearFreelist() functions and extends
sys._compact_freelists() to clear all free lists.
--
components: Interpreter Core
files:
Raghuram Devarakonda added the comment:
Closing as there is no activity for long time.
--
nosy: +draghuram
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue419153
Facundo Batista added the comment:
I'm +0 to make Decimal(Rational(x,y)) available.
I'd make it something like:
Decimal(R) == Decimal(R.numerator) / Decimal(R.denominator)
Note, as Raymond says, that this division implies the use of the
context. So the following will NOT be true:
R ==
MATSUI Tetsushi added the comment:
Thank you for the clarification.
But then, where is the documentation about the setfirstweekday() method?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2018
__
New submission from Peter Saunders:
When compiling python 2.5.1 on Solaris 10 (sparc and x86), with openssl
0.9.8e - test_md5 fails with No module named _sha256. (As does doing an
import md5)
When compiling, setup.dist was modified, the ssl parts were uncommented,
and modified to use the
New submission from Alexander Belopolsky:
In the spirit of files becoming context managers in 2.5, the attached
patch defines __enter__ and __exit__ methods for
tempfile.NamedTemporaryFile.
BTW, I was not able to add a patch keyword which seems appropriate here.
--
components: Library
Changes by Raghuram Devarakonda:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2021
__
___
Python-bugs-list mailing list
Unsubscribe:
MATSUI Tetsushi added the comment:
There is another wrong documentation about firstweekday.
In the part of Calendar.iterweekdays, a method firstweekday appered.
But indeed it means the method getfirstweekday(), since firstweekday
is merely an uncallable integer attribute of Calendar objects.
Alexander Belopolsky added the comment:
It also appears that the tuple and dict checks in function_call are
redundant. If there is a use case that results in function_call getting
anything (non null) other than dict and tuple in arg and kw, I don't
think silently ignoring such arguments is the
Amaury Forgeot d'Arc added the comment:
This could be turned into an assertion.
But beware that some extension writers may use code like
PyObject_Call(callable, args, Py_None)
which works perfectly today.
__
Tracker [EMAIL PROTECTED]
Christian Heimes added the comment:
The updated patch limits the free list.
--
type: - rfe
Added file: http://bugs.python.org/file9361/py3k_longfreelist.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2013
Brett Cannon added the comment:
which means no global namespace access
Does that mean that you cannot use len and range in a Thread?
No, it means you have to be careful if you do. Shutting down properly
will take care of things. Otherwise you need to save a reference
locally (either on an
Alexander Belopolsky added the comment:
Sorry, please ignore my last comment about arg. The null and tuple
checks are for argdefs, not arg.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2016
__
Alexander Belopolsky added the comment:
According to http://docs.python.org/api/object.html,
PyObject* PyObject_Call(PyObject *callable_object, PyObject *args,
PyObject *kw)
Return value: New reference.
Call a callable Python object callable_object, with arguments given
by the
Facundo Batista added the comment:
I'm +0 regarding this.
If this will go in, a comment should explicit all this in the code, as
this behaviour doesn't come from Decimal spec or the PEP.
Thanks!
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1979
Changes by Christian Heimes:
--
priority: - normal
type: - rfe
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2020
__
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
Thanks for the patch! It even has a unit test, very good. :)
The __future__ statement isn't necessary for Python 2.6. The with
statement is always available.
--
nosy: +tiran
priority: - normal
type: behavior - rfe
__
Martin v. Löwis added the comment:
You need to add _hashopenssl to Setup.dist/Setup.local; then it should
provide the missing module. Apparently, when _hashopenssl was added,
nobody put it into Setup.dist. Once you have tested an appropriate
change to Setup.dist, please provide it as a patch.
Giampaolo Rodola' added the comment:
You're right. It seems that TortoiseSVN generated diff files are
different than using the original svn cmd line tool (probably I'm using
TortoiseSVN in the wrong way).
I'll update the other patches.
__
Tracker [EMAIL
Giampaolo Rodola' added the comment:
The diff file in attachment was generated by using TortoiseSVN and it
seems to be different than using svn diff.
The new diff file is in attachment.
Added file: http://bugs.python.org/file9363/test_gdbm.diff
__
Tracker [EMAIL
Giampaolo Rodola' added the comment:
The diff file in attachment was generated by using TortoiseSVN and it
seems to be different than using svn diff.
The new diff file is in attachment.
Added file: http://bugs.python.org/file9364/test_contains.diff
__
Tracker
Bill Janssen added the comment:
Yes, I saw that, but it doesn't really help. Batteries not included.
It suggests an approach to addressing this problem, though: see if the
author will contribute the code under an appropriate licence.
I intend to write an instance of FileCookieJar for Safari.
Giampaolo Rodola' added the comment:
In attachment is the patch including the sys.platform change discussed
above.
Added file: http://bugs.python.org/file9365/test_select.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1952
Giampaolo Rodola' added the comment:
The diff file in attachment was generated by using TortoiseSVN and it
seems to be different than using svn diff.
The new diff file is in attachment.
Added file: http://bugs.python.org/file9366/test_ntpath.diff
__
Tracker
New submission from Giampaolo Rodola':
In attachment.
--
files: test_al.diff
messages: 62119
nosy: giampaolo.rodola
severity: normal
status: open
title: test_al converted to unittest
Added file: http://bugs.python.org/file9367/test_al.diff
__
Tracker
Facundo Batista added the comment:
Commited in r60622.
Thank you!!
--
nosy: +facundobatista
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1959
__
Changes by Giampaolo Rodola':
--
components: +Tests
type: - rfe
versions: +Python 2.6, Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2022
__
___
New submission from Giampaolo Rodola':
In attachment. All existent tests are unchanged.
--
components: Tests
files: test_cd.diff
messages: 62121
nosy: facundobatista, giampaolo.rodola
severity: normal
status: open
title: test_cd converted to unittest
type: rfe
versions: Python 2.6,
Guilherme Polo added the comment:
Is this wanted at all ?
After checking
http://www.python.org/dev/summary/2006-06-01_2006-06-15/#inspect-isgenerator
that points to:
http://mail.python.org/pipermail/python-dev/2006-May/065334.html
Guilherme Polo added the comment:
Isn't this fixed on trunk already ? Shouldn't this be marked as closed ?
--
nosy: +gpolo
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue908316
New submission from Giampaolo Rodola':
In attachment. All existing tests are unchanged.
--
components: Tests
files: test_gl.diff
messages: 62124
nosy: facundobatista, giampaolo.rodola
severity: normal
status: open
title: test_gl.py converted to unittest
type: rfe
versions: Python 2.6
Giampaolo Rodola' added the comment:
I still don't get it. Maybe you're talking about something like call a
function at the next select() loop which in Twisted is equal to:
reactor.callLater(0, something)
By using my patched asyncore you can do the same with:
self.call_later(0, something)
Mark Dickinson added the comment:
Okay: I checked in this change in r60630. The checkin includes comments
in the code and an extra paragraph describing this behavior in the
documentation.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1979
New submission from Raymond Hettinger:
Remineder to self to add the two missing methods.
http://mail.python.org/pipermail/python-3000/2008-February/012021.html
--
assignee: rhettinger
components: Interpreter Core
messages: 62127
nosy: rhettinger
severity: normal
status: open
title:
New submission from Giampaolo Rodola':
In attachment. The original tests are unchanged.
Tested under Windows XP and Linux Ubuntu 7.04.
--
components: Tests
files: test_largefile.diff
messages: 62128
nosy: facundobatista, giampaolo.rodola
severity: normal
status: open
title:
Raymond Hettinger added the comment:
Checked-in. Revs 60635 and 60636.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2025
__
Mark Dickinson added the comment:
Fixed for Python 2.6 in r60630.
--
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1514428
_
shore.cloud added the comment:
hi Facundo Batista
thx very much for replying this thread
the affair with me is that all my thread related .py programme end with this
saying '*Exception exceptions.AttributeError '_shutdown' in module
'threading'* '
I'm running in winXP,version 2.5
and I've
Bill Janssen added the comment:
Yes, that's it exactly. So things without work tasks can still get done.
But timers are the important thing. With timers you can always implement
work tasks by yourself.
On Feb 6, 2008 12:49 PM, Giampaolo Rodola' [EMAIL PROTECTED] wrote:
Giampaolo Rodola'
Bill Janssen added the comment:
Sorry, I meant to say, so things without input FDs can make progress.
On Feb 6, 2008 8:08 PM, Bill Janssen [EMAIL PROTECTED] wrote:
Yes, that's it exactly. So things without work tasks can still get done.
But timers are the important thing. With timers you
New submission from Matt Chaput:
Add a module to the standard library containing fast (C) implementations
of common text/language related algorithms, to begin specifically Porter
(and perhaps other) stemming and Levenshtein (and perhaps other) edit
distance. Both these algorithms are useful
Miki Tebeka added the comment:
Looks closed to me, tried `./t.py t.py`, it worked
Added file: http://bugs.python.org/file9374/t.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue908316
Raymond Hettinger added the comment:
Py2.6 and Py3.0 now how have tuple.index() and tuple.count().
--
resolution: - out of date
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1696444
Changes by Raymond Hettinger:
--
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue908316
___
Python-bugs-list mailing list
Unsubscribe:
Giampaolo Rodola' added the comment:
Yes, that's it exactly. So things without input FDs can make progress.
But timers are the important thing. With timers you can always
implement work tasks by yourself.
I have the feeling that you're talking about the same thing.
self.call_later(0,
57 matches
Mail list logo