New submission from Ronald Oussoren ronaldousso...@mac.com:
IDLE has problems rendering some oriental characters on OSX.
One way to reproduce this:
* Start IDLE
* Open the Preferences... menu
* Scroll down in the list of fonts until you reach the 'Osaka' font
The font just below the Osaka
New submission from Ronald Oussoren ronaldousso...@mac.com:
With Python 2.7, but not 3.1 or 2.6, IDLE has two Preferences... menu's
on OSX.
This is on a OSX 10.5 system, with an installation of Tcl/Tk 8.4 in
/Library/Frameworks.
--
components: IDLE, Macintosh
messages: 88332
nosy:
New submission from Ronald Oussoren ronaldousso...@mac.com:
It seems to be impossible to actually change preferences in IDLE when
using Python 3.1, there are no problems with 2.6, 2.7 and 3.1.
How to reproduce:
* Open the preferences menu
* Pick a different font
* Choose apply: nothing changes
Ronald Oussoren ronaldousso...@mac.com added the comment:
Changed into release blocker because this is a very visible and annoying
issue.
--
priority: - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6111
Robert Lehmann lehman...@gmail.com added the comment:
This only seems to be the case with the C implementation of json (_json).
json.encoder.c_make_encoder = None
json.dumps(OrderedDict(items))
'{one: 1, two: 2, three: 3, four: 4, five: 5}'
I think the culprit is encoder_listencode_dict
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The following works for me:
import subprocess
p=subprocess.Popen('findstr disk c:\\boot.ini',
stdout=subprocess.PIPE)
print p.communicate()[0]
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
Marco marcu...@gmail.com added the comment:
TO loewis:
this new patch works fine.
I've removed the first #endif.
thank you ;)
--
Added file: http://bugs.python.org/file14072/import_patch2.patch
___
Python tracker rep...@bugs.python.org
New submission from Ivo Danihelka i...@danihelka.net:
There is a misleading documentation for module sched.
Method scheduler.cancel() does not raise RuntimeError.
It raises ValueError if the given event is not in the queue.
The RuntimeError is mentioned inside the module documentation
and also
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r72932.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6112
___
New submission from Matthew matthew.bayn...@gmail.com:
What I intended was...
I create a list of DIFFERENT instances of the same class, I wanted them
to be different instances, with different values for the properties,
stressing the word DIFFERENT.
What I originally did was...
The __init__
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I tried with the latest version in py3k (r72934).
No problem for me on Windows 2000.
Did you try to run Idle from a shell window? Are there exceptions showing?
--
nosy: +amaury.forgeotdarc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Can you please show the code you tried initially?
I suspect that it always adds the same instance to the list...
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Ronald Oussoren ronaldousso...@mac.com added the comment:
I should have made this more clear in the description, instead of hiding
it in the components list, but this is an issue for the OSX port.
--
___
Python tracker rep...@bugs.python.org
Matthew matthew.bayn...@gmail.com added the comment:
I didn't keep a copy of the code that didn't work. Sorry.
When I changed the way I was initialising the classes, before adding
them to the list, I didn't change any of the logical flow in my code,
and it started to work.
I know it sounds
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
OK, then I'll close this issue.
This is probably a typo in your code, like this one that I make from
time to time:
obj = Obj()
Obj.sName = 'someName'
--
resolution: - invalid
status: open - closed
Ezio Melotti ezio.melo...@gmail.com added the comment:
Are these characters displayed correctly in other places?
Usually characters that are not available in a specific font are
replaced by an empty box. In some cases the missing characters can be
borrowed by other fonts, but IIRC that depends
Ronald Oussoren ronaldousso...@mac.com added the comment:
The same fontname and file display correctly in programs (such as
Textmate).
Even when both textmate and IDLE have been configured to use the same
font the text looks fine in textmate and broken in IDLE.
My gut feeling is that this is
Matthew matthew.bayn...@gmail.com added the comment:
Trust me this was no typo.
I debugged my code by adding print statements to see what values were
going into the list, and print statements to see the values that were
coming out.
It might be that running code from the application Blender
Ezio Melotti ezio.melo...@gmail.com added the comment:
Your problem could be related to #3297, but katakana characters don't
have a codepoint greater than U+ so it could be something else.
(What is the value of sys.maxunicode there though?)
I tried your script on Linux with Python3.1b1 and
Ezio Melotti ezio.melo...@gmail.com added the comment:
Even if it's a real bug, without the code we can't do anything.
Try to reproduce what you did or get that code back somehow (ctrl+z? ;)
--
nosy: +ezio.melotti
___
Python tracker
New submission from Sven Rebhan odinsho...@googlemail.com:
If python is installed into a symlink'ed directory, the variables
sys.exec_prefix and sys.executable can contain different paths.
Therefore, the respective test in build_ext.py fails (line 202)
and a wrong library search directory (-L.)
Changes by jougs jochen.epp...@gmx.de:
--
nosy: +jougs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6114
___
___
Python-bugs-list mailing list
Matthew matthew.bayn...@gmail.com added the comment:
First File
This is the main one, it's the one that is called from the Blender
application.
--
Added file: http://bugs.python.org/file14074/MyWalls.py
___
Python tracker rep...@bugs.python.org
Matthew matthew.bayn...@gmail.com added the comment:
Second file
The loads of code for building a wall
--
Added file: http://bugs.python.org/file14075/WallWithDoors.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
Matthew matthew.bayn...@gmail.com added the comment:
Third file...
all the classes for holding the data
--
Added file: http://bugs.python.org/file14076/modDataObjects.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
Matthew matthew.bayn...@gmail.com added the comment:
Forth and final file...
Just a little error handling and stuff I want all my classes to inherit
--
Added file: http://bugs.python.org/file14077/modBasics.py
___
Python tracker
Matthew matthew.bayn...@gmail.com added the comment:
If you want to run it I'm afraid you'll have to:
1) install Blender (www.blender.org)
2) put all those files in C:\Program Files\Blender
Foundation\Blender\.blender\scripts\MyWalls\src\
3) in the Blender application goto scripts --- Objects
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
It's a typo :-)
In WallWithDoors.py, line 146:
cTempVariable = ClsFeatureVariable
You forgot the () at the end...
--
___
Python tracker rep...@bugs.python.org
Matthew matthew.bayn...@gmail.com added the comment:
So why is it able to create instances and add them to the
lstFeatureVariables list, surely it should go wrong there and not allow
the instances to be created.
--
___
Python tracker
Matthew matthew.bayn...@gmail.com added the comment:
OK, sorry for the rambling, just ignore it
Cheers...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
New submission from Haoyu Bai divine...@gmail.com:
As function implementation of PyNumber_Divide and PyNumber_InPlaceDivide
are already removed, there are still function declaration in abstract.h,
and also entries in document:
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
___
Changes by Marco marcu...@gmail.com:
Removed file: http://bugs.python.org/file14049/import_patch.c
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6070
___
Changes by Marco marcu...@gmail.com:
Removed file: http://bugs.python.org/file14070/import_patch2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6070
___
Skip Montanaro s...@pobox.com added the comment:
I can't see that the order of keys should matter for language-neutral
serialization libs like json or xmlrpclib. You're quite possibly
going to be communicating with something on the other end which doesn't
have an OrderedDict-like class. Why
Changes by Matthew matthew.bayn...@gmail.com:
Removed file: http://bugs.python.org/file14074/MyWalls.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
Changes by Matthew matthew.bayn...@gmail.com:
Removed file: http://bugs.python.org/file14075/WallWithDoors.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
Changes by Matthew matthew.bayn...@gmail.com:
Removed file: http://bugs.python.org/file14076/modDataObjects.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
Changes by Matthew matthew.bayn...@gmail.com:
Removed file: http://bugs.python.org/file14077/modBasics.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6113
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The patch looks good, beside the fact that you didn't call super() in
setUp/tearDown.
I'll commit it asap and fix that small issue
--
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I don't need a ticket for this I guess, it's done progressively
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5164
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I am taking over this issue (I am figuring out you are OK with this
Martin) and put it in my work pile so it goes in 2.7
--
assignee: loewis - tarek
___
Python tracker rep...@bugs.python.org
Changes by Martin v. Löwis mar...@v.loewis.de:
--
versions: +Python 2.7 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2856
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r72585 and propagated in 2.6, 3.0, 3.1 branches
Thank you !
--
status: open - closed
versions: +Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
If you follow-up to a closed issue, your follow-up inevitably gets ignored.
Please understand that the issue you encountered is completely different
from the one reported here (which was about the Windows build).
--
Martin v. Löwis mar...@v.loewis.de added the comment:
I have two questions:
1. does your system provide the mbstate_t type?
2. if so, what header file needs to be included?
Also, please confirm a few things:
a. configure has detected that your system has mbrtowc
b. configure's analysis is
Changes by Denilson Figueiredo de Sá denilso...@gmail.com:
--
nosy: +denilsonsa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4947
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Sorry about that, I was travelling and didn't see that the buildbots
turned red. (I ran the test but didn't build python again)
I have changed that because build_ext.compiler is a string option, e.g.
the compiler type. Turning it into a
Martin v. Löwis mar...@v.loewis.de added the comment:
Per issue3308, it is not really possible to build Python extensions with
MinGW anymore (as far as I can tell).
I'm interpreting the issue differently - it was withdrawn by the
submitter, indicating that it isn't an issue with Python.
Even
Tarek Ziadé ziade.ta...@gmail.com added the comment:
new_compiler takes compiler as a compiler name. It would make much
sense to make it accept a compiler instance.
now for people setup.py, I wasn't aware that people are using
build_ext.compiler as a compiler, besides Python itself.
IMHO we
Tarek Ziadé ziade.ta...@gmail.com added the comment:
typo:
It would make much... - It would not make much...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5977
___
Martin v. Löwis mar...@v.loewis.de added the comment:
This is not a bug. By default, pysqlite decodes all strings to Unicode,
assuming UTF-8 encoding (which SQLite assumes when parsing statements).
To override this default, you need to change the connection's text_factory:
py import sqlite3
py
Martin v. Löwis mar...@v.loewis.de added the comment:
I would propose a different approach: the same function can be both
argument parser and cleanup function. In parsing, the PyObject* points
to the parameter being converted. In cleanup, it points to NULL.
This would allow the O to continue to
Martin v. Löwis mar...@v.loewis.de added the comment:
I think this is exaggerating the actual state. The compiler is
certainly supported.
Can you elaborate on what supported means? To me, it would mean that
it could build all the same Python extensions which MSVC can build.
Supported
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm finding many overflow checks that look like:
size = Py_SIZE(a) * n;
if (n size / n != Py_SIZE(a)) {
PyErr_SetString(PyExc_OverflowError,
repeated bytes are too long);
Martin v. Löwis mar...@v.loewis.de added the comment:
size = Py_SIZE(a) * n;
The multiplication should be safe from overflow, and I don't get
any warning at all either with this rewrite (using -O3 -Wall -Wextra -
Wsigned-overflow=5) or from the original code, so there's nothing to
Walter Dörwald wal...@livinglogic.de added the comment:
The patch no longer applies cleanly to the trunk.
--
nosy: +doerwalter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1866
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r72636, r72637, r72638, r72639
--
components: +Distutils
status: open - closed
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Roumen, the problem you mentioned was existing because of the
empty c file in test_get_outputs. I have fixed it yesterday by creating a
simple c file containing a minimal code:
void inifoo(void) {};
can you check it works for you ?
Walter Dörwald wal...@livinglogic.de added the comment:
Any custom mapping class should have a repr test anyway, so IMHO it
doesn't matter whether the base test has a repr test or not.
The suggested fixes for TestMappingProtocol.test_fromkeys() and
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks, I'll work on this during this week end hopefully
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6011
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Well, this is not implemented yet. (I introduced another format
temporary) Does this mean converter should return Py_CLEANUP_SUPPORTED
instead of 1 when cleanup is needed?
If you are introducing a new character ($), then this isn't
New submission from Andrés Marzal amar...@lsi.uji.es:
I've implemented a LinkedList as a MutableSequence and __iadd__, which
is inherited from MutableSequence, does not perform as expected.
The _abcoll.py file contains this:
class MutableSequence(Sequence):
...
def __iadd__(self,
Andrés Marzal amar...@lsi.uji.es added the comment:
I've implemented a LinkedList as a MutableSequence and __iadd__, which
is inherited from MutableSequence, does not perform as expected.
The _abcoll.py file contains this:
class MutableSequence(Sequence):
...
def __iadd__(self, values):
New submission from Hagen Fürstenau hfuerste...@gmx.net:
I noticed that while the docs say that Counts are allowed to be
any integer value including zero or negative counts,
collections.Counter doesn't perform any check on the types of count
values. Instead, non-numerical values will lead to
New submission from Tarek Ziadé ziade.ta...@gmail.com:
the check command now is able to check the meta-data, so we can remove
duplicate code located in both sdist and register and call check as
a subcommand.
- register will also have a new boolean option called strict. If set
to True (it's
Tarek Ziadé ziade.ta...@gmail.com added the comment:
the old check_metadata method, duplicated in sdist and register, will be
marked with a PendingDeprecationWarning.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6041
Tarek Ziadé ziade.ta...@gmail.com added the comment:
closing (created a new ticket #6041 for sdist and register inclusion)
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5732
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
dependencies: +change sdist and register command so they use check
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5732
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r72681, r72683
--
dependencies: +add a new command called check into Distutils
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6041
Martin v. Löwis mar...@v.loewis.de added the comment:
I don't see why. There's nothing in -Wall -Wextra -Wsigned-overflow
that asks for warnings for code that might overflow.
Ah, right. I misunderstood (rather, didn't bother checking) what
-Wsigned-overflow really does.
--
Martin v. Löwis mar...@v.loewis.de added the comment:
Looks fine to me, please apply.
--
assignee: - ocean-city
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3527
Martin v. Löwis mar...@v.loewis.de added the comment:
This patch is out of date with PEP 383
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4126
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch is slightly out of date; if updated, it is fine to apply after
3.1.
I think Py_GetFileAttributesExA can also be removed.
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Modifying convert_to_unicode is incorrect; this function is not an O
converter. Instead, PyUnicode_FSConverter needs to change.
Attached is a patch that does that, and also uses the O approach. It
also adjusts the patch to use capsules.
Tarek Ziadé ziade.ta...@gmail.com added the comment:
When I made this change I checked it under VC9, so it should work on
this version.
I'll have to create a VM with VC6 to track it down.
Until then I'll deactivate this test when it's VC6
--
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Ok done. can you check on your side ?
Don't we have a win32+MVCS6 buildslave somewhere ?
That would be nice to have.
I am running 3 differents VMs already when I work on these files. It
would be great to have buildbot making regression
Martin v. Löwis mar...@v.loewis.de added the comment:
I disagree that this is release-critical. I think it is desirable to
say that the dbm modules support most of a dict-style interface,
and I also think that it is factually correct to claim that they
currently do.
Supporting only
New submission from Tarek Ziadé ziade.ta...@gmail.com:
Currently Distutils uses the tar command to build tarballs.
It's better to use the tarinfo module, so Distutils does not depend on
the tar program anymore.
--
assignee: tarek
components: Distutils
messages: 87994
nosy: tarek
Martin v. Löwis mar...@v.loewis.de added the comment:
Would inheriting from MutableMapping fix this problem?
In principle: some of it, yes. These types are written in C,
so I'm not sure how exactly it would work. Also, it
still wouldn't provide all methods, e.g. copy(), fromkeys(),
get(),
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6049
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
assignee: - loewis
nosy: +loewis
priority: - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6050
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks Roumen,that was it. I've commited the change and added a test to
verify the produced file has the right extension.
Thanks for the feedback Hirokazu
--
status: open - closed
___
Python
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Perhaps not.
I had however written a general list locking system, generalizing the
way sort() locks a list for direct manipulation, and rewritten min and
max to be able to use that. Perhaps that approach would be of interest?
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I am currently working on the removal of 'tar' in favor of the usage of
tarinfo, so I'll get back to you in this issue when it's ready
--
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
(and also fix the test in 2.6 for this case)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6053
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
ok done, thanks for the patch;
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6053
___
Jesús Cea Avión j...@jcea.es added the comment:
Python 2.5 is in security maintenance mode only.
Please, upgrade to Python 2.6. If you can not upgrade Python, install a
recent bsddb release from http://www.jcea.es/programacion/pybsddb.htm
If you can still reproduce the problem, let me know.
Martin v. Löwis mar...@v.loewis.de added the comment:
2. I got tar error. This happens because tar command I'm using cannot
recognize path with drive letter. For example, tar -cf r:/foo . fails
with error. I'm using http://gnuwin32.sourceforge.net/packages/gtar.htm
I don't think this is a
Martin v. Löwis mar...@v.loewis.de added the comment:
I would appreciate if someone could review the patch and comment on the
technique.
There are a few minor issues; overall, it looks correct:
- the test for this is windows should just use MS_WINDOWS.
- don't declare variables in the middle
Changes by Martin v. Löwis mar...@v.loewis.de:
--
assignee: - lars.gustaebel
nosy: +lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6054
___
Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net added the
comment:
Just in case it helps, this behaviour is on Win XP Pro, Python 2.5.1:
First, I added an alias for 'cp65001' to 'utf_8' in
Lib/encodings/aliases.py .
Then, I opened a command prompt with a bitmap font.
New submission from Χρήστος Γεωργίου (Christos Georgiou)
t...@users.sourceforge.net:
Add 'cp65001' (Microsoft term for UTF-8) as an alias to 'utf_8'
--
components: Library (Lib), Unicode
files: alias_cp65001.diff
keywords: patch
messages: 88060
nosy: tzot
severity: normal
status: open
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net:
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net:
Removed file: http://bugs.python.org/file14013/alias_cp65001.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net:
Added file: http://bugs.python.org/file14014/alias_cp65001.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
New submission from Tarek Ziadé ziade.ta...@gmail.com:
all in the title. currently working to fix this.
--
assignee: tarek
components: Distutils
messages: 88080
nosy: tarek
severity: normal
status: open
title: build_ext fails to build in the right directory using the package option
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r72781
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6062
___
Gerhard Häring g...@ghaering.de added the comment:
At the very start of the module's documentation it reads:
pysqlite was written by Gerhard Häring and provides a SQL interface
compliant with the DB-API 2.0 specification described by PEP 249.
Where PEP 249 is a link to the Database API 2.0
Lars Gustäbel l...@gustaebel.de added the comment:
So, what exactly are trying to accomplish? Why do you need that?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6054
___
1 - 100 of 158 matches
Mail list logo