Gregory P. Smith [EMAIL PROTECTED] added the comment:
I believe Jesus wants to do this is such a way that bsddb.h and _bsddb.c
are a single code base with #ifdef's that compiles on 2.x and 3.x at once.
--
assignee: - jcea
__
Tracker [EMAIL PROTECTED]
Chester [EMAIL PROTECTED] added the comment:
For the case a + 1 I recommend:
TypeError: can't concatenate 'str' and 'int' objects
And for the case 1 + a I recommend:
TypeError: can't concatenate 'int' and 'str' objects
Consistency matters!
__
Tracker
New submission from Chester [EMAIL PROTECTED]:
The 'global' statement is used to mark a variable as global. It is
used in functions to allow statements in the function body to rebind
global variables. Using the 'global' statement is generally
considered poor style and should be avoided whenever
Georg Brandl [EMAIL PROTECTED] added the comment:
Renamed and fixed references in r63599, r63600, r63603.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2925
Georg Brandl [EMAIL PROTECTED] added the comment:
Renamed module, applied patch and adapted some further references in
r63605-07.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
Georg Brandl [EMAIL PROTECTED] added the comment:
Renamed in 3k in r63610, added note in 2.6 docs in r63611, added fixer
entry in r63612.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
Georg Brandl [EMAIL PROTECTED] added the comment:
I don't see a problem here. You may be mislead by the assumption that
the error messages are generated by the parser, which they aren't --
they are generated at runtime by the objects you try to add.
The two types report their failure to do the
Georg Brandl [EMAIL PROTECTED] added the comment:
First, global is frowned upon in large projects, but sometimes useful in
quick dirty scripts.
Second, the time for such changes to Python 3.0 is past.
Third, this at least needs a PEP.
--
nosy: +georg.brandl
resolution: - rejected
New submission from Stefan Behnel [EMAIL PROTECTED]:
The method cache is deactivated in current Py3. As Lisandro Dalcín
noticed, the following code in typeobject.c always returns false for a
Py3 identifier:
#define MCACHE_CACHEABLE_NAME(name) \
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Could you supply some real code in a test case and better describe the
environment needed to reproduce this? (what OS for the client and
server, 64bit, 32bit, mount options, etc).
--
nosy: +gregory.p.smith
priority: - critical
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Yes, sounds like a bug. I'll fix it.
But should time.strftime allow a unicode format string as input in the
first place? For backwards compatibility I'd say yes. But.. Sane
output can not be guaranteed from time.strftime when given a
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Fixed in trunk r63617.
Fix issue2669: bsddb simple/legacy interface iteration silently fails
when database changes size during iteration.
It now behaves like a dictionary, the next attempt to get a value from
the iterator after the database
Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, fixed in r63620.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2964
__
Gregory P. Smith [EMAIL PROTECTED] added the comment:
I believe that means we can close this issue here? If not, please reopen.
--
nosy: +gregory.p.smith
resolution: - invalid
status: open - closed
__
Tracker [EMAIL PROTECTED]
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
priority: - low
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2595
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
nosy: +gregory.p.smith
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2523
__
___
Python-bugs-list
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
priority: - release blocker
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2949
__
___
Python-bugs-list mailing list
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
resolution: - invalid
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2455
__
___
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Could you please create a test case for this as a patch to
Lib/test/test_httpservers.py?
thanks!
--
assignee: - gregory.p.smith
nosy: +gregory.p.smith
priority: - normal
__
Tracker [EMAIL
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
assignee: - gregory.p.smith
keywords: +patch
nosy: +gregory.p.smith
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2588
__
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
assignee: - gregory.p.smith
nosy: +gregory.p.smith
priority: - low
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2589
__
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
nosy: +gregory.p.smith
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2901
__
___
Python-bugs-list
New submission from Stefan Behnel [EMAIL PROTECTED]:
Here is a fix for Objects/classobject.c in Py3.0a5 that fixes a ref
count crash for classmethods.
--
components: Interpreter Core
files: instancemethod-fix.patch
keywords: patch
messages: 67334
nosy: scoder
severity: normal
status:
New submission from Georg Brandl [EMAIL PROTECTED]:
The weak dictionaries in the weakref module still present the 2.x
dictionary methods (iter*). This should be fixed for consistency with 3k
dicts.
--
components: Library (Lib)
messages: 67339
nosy: georg.brandl
priority: critical
Changes by Gregory P. Smith [EMAIL PROTECTED]:
--
keywords: +patch
nosy: +gregory.p.smith
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2218
__
___
Stefan Behnel [EMAIL PROTECTED] added the comment:
Here is a patch that fixes this.
--
keywords: +patch
Added file: http://bugs.python.org/file10435/py3k-method-cache-fix.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2963
Georg Brandl [EMAIL PROTECTED] added the comment:
Committed patch as r63621. Thanks!
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2963
__
New submission from Peter Puk [EMAIL PROTECTED]:
When you try to make a doc from your programm woth pydoc, it doesnt show
the the identifiers in the modules section. when i put 'from module
import identifier' in my code
--
components: Extension Modules
messages: 67340
nosy: peter.puk
Changes by Ismail Donmez [EMAIL PROTECTED]:
--
type: - compile error
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2967
__
___
Python-bugs-list mailing list
New submission from Ismail Donmez [EMAIL PROTECTED]:
Tkinter module is renamed to tkinter. test_tcl should be updated for this.
Patch attached.
--
components: Tests
files: tcl.patch
keywords: patch
messages: 67341
nosy: cartman
severity: normal
status: open
title: [PATCH] Rename
Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, fixed in r63624.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2967
__
Georg Brandl [EMAIL PROTECTED] added the comment:
Can you expand a bit? What exactly do you expect in the generated
documentation that is not there?
--
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2966
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This is now fixed in r63625 and r63626.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2949
__
Ali Polatel [EMAIL PROTECTED] added the comment:
Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2.
test test_pow failed -- Traceback (most recent call last):
File
/var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py,
line 109, in
Changes by Nick Coghlan [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10438/typetools.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841
___
Changes by Nick Coghlan [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10389/typetools.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841
___
Changes by Nick Coghlan [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10390/test_typetools.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841
___
Changes by Nick Coghlan [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10402/typetools.rst
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841
___
Nick Coghlan [EMAIL PROTECTED] added the comment:
Updated test cases and documentation to cover use of a descriptor for
_target in a subclass, and uploaded most recent local copies of all 3 files.
--
keywords: +patch
versions: +Python 3.0 -Python 2.2.1, Python 2.2.2, Python 2.2.3,
Changes by Nick Coghlan [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10439/test_typetools.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Done in r63631. Fixer added in r63627 and r63629, notices to 2.6 docs
added in r63630.
Do you still want to warn when importing thread or dummy_thread directly
in 2.6, like PEP 3108 says?
--
nosy: +georg.brandl
resolution: - fixed
New submission from Martin v. Löwis [EMAIL PROTECTED]:
Test_imports takes a very long time to complete. I believe this is due
to the individual refactorings taking such a long time, even though they
apply to small pieces of code only.
--
messages: 67348
nosy: loewis
severity: normal
Changes by Martin v. Löwis [EMAIL PROTECTED]:
--
assignee: - collinwinter
components: +2to3 (2.x to 3.0 conversion tool)
nosy: +collinwinter
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2968
__
New submission from Martin v. Löwis [EMAIL PROTECTED]:
Test_imports fails for selected cases, when run under Python 2.6.
E.g. from_import_usage fails for rewriting __builtin__ print, and also
for __builtin__ zip.
--
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Thanks for the report. This should now be fixed with r63643, r63644 and
r63645.
--
nosy: +loewis
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2938
Guilherme Polo [EMAIL PROTECTED] added the comment:
I found a problem in the previous patch, new one added. This patch now
only considers tuple and list as possible option value that should be
joined, and the items inside the list or tuple should be either a string
or integer, otherwise it
Changes by Guilherme Polo [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10362/fixes_tkinter.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2906
__
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I think he means that if you use from m import x to import part of
module interface, x is not shown in the generated doc.
--
nosy: +benjamin.peterson
__
Tracker [EMAIL PROTECTED]
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Attaching patch.
--
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file10441/weakref_py3k.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Alexandre, would you mind fixing up the docs?
--
nosy: +benjamin.peterson
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2572
__
Brett Cannon [EMAIL PROTECTED] added the comment:
Yeah, it is essentially a deprecation so the warning should be there.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2875
__
Brett Cannon [EMAIL PROTECTED] added the comment:
But then again I thought that about the renames. =) Someone might actually
pickle something from thread, so not sure how best to handle this one.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2875
Changes by Brett Cannon [EMAIL PROTECTED]:
--
dependencies: -Rename _winreg to winreg, Rename the thread module to _thread,
Revert ConfigParser rename in 2.6, Revert Queue rename in 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2775
Brett Cannon [EMAIL PROTECTED] added the comment:
Raymond, can you tell me exactly where each module-level thing in UserDict
went and if it was renamed or not? That way the fixer can get written.
--
assignee: - rhettinger
__
Tracker [EMAIL PROTECTED]
Brett Cannon [EMAIL PROTECTED] added the comment:
Raymond, can you tell me exactly where each module-level thing in
UserString went and if it was renamed or not? That way the fixer can get
written.
--
assignee: - rhettinger
__
Tracker [EMAIL
Brett Cannon [EMAIL PROTECTED] added the comment:
Raymond, can you tell me exactly where each module-level thing in UserList
went and if it was renamed or not? That way the fixer can get written.
--
assignee: - rhettinger
nosy: +rhettinger
__
Tracker
Changes by Brett Cannon [EMAIL PROTECTED]:
--
assignee: - brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2872
__
___
Python-bugs-list mailing list
Terry J. Reedy [EMAIL PROTECTED] added the comment:
I think I *slightly* prefer the 'new' way.
Was pprint.py changed between 2.6 and 3.0?
Or is the change a side-effect of 3.0 changes?
Or of 2to3 if that was used?
(In glancing through it, I did not see anything that needed change)
Fred, I am
Raymond Hettinger [EMAIL PROTECTED] added the comment:
UserDict.UserDict is gone.
UserDict.IterableUserDict class is now collections.UserDict.
UserDict.Mixin is now collections.MutableMapping.
The new classes comform to the new dict API, so they fixer needs to
also make same method
Raymond Hettinger [EMAIL PROTECTED] added the comment:
It was moved to the collections module.
--
assignee: rhettinger - brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2878
__
Raymond Hettinger [EMAIL PROTECTED] added the comment:
It was moved to the collections module.
--
assignee: rhettinger - brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2877
__
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
assignee: rhettinger - brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2876
__
___
Python-bugs-list
New submission from Ismail Donmez [EMAIL PROTECTED]:
This is on Ubuntu 8.04 :
test_distutils
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from
New submission from Ismail Donmez [EMAIL PROTECTED]:
test_zipfile64
testDeflated (test.test_zipfile64.TestsWithSourceFile) ... ERROR
testStored (test.test_zipfile64.TestsWithSourceFile) ... ERROR
==
ERROR: testDeflated
64 matches
Mail list logo