Changes by Jason Day [EMAIL PROTECTED]:
--
title: ntpath.abspath can fail on Win Server 2008 (64-bit) - ntpath.abspath
fails for long str paths
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4071
New submission from Davi Post [EMAIL PROTECTED]:
Language Reference for the try statement does not show changes for v2.6,
specifically the PEP 3110: Exception-Handling Changes. At least, the
grammar should include the except ... as syntax.
New submission from Mark Dickinson [EMAIL PROTECTED]:
Here's a snippet from Python 2.6:
from decimal import Decimal, getcontext
getcontext().prec = 3
Decimal('NaN').max(Decimal('1234'))
Decimal('sNaN234')
The result here should be Decimal('1.23E+3')---the specification says that
the result
Georg Brandl [EMAIL PROTECTED] added the comment:
Your analysis is correct -- the HTML is invalid. However, this problem
doesn't occur in new documentation since we don't use the system used
until 2.5 anymore.
--
resolution: - wont fix
status: open - closed
Christian Boos [EMAIL PROTECTED] added the comment:
Hit the same issue, which is actually only a typo, as self.__path is
used nowhere.
diff -r 4d10dcbd5f63 Lib/distutils/msvc9compiler.py
--- a/Lib/distutils/msvc9compiler.pyThu Oct 09 11:19:40 2008 +0200
+++ b/Lib/distutils/msvc9compiler.py
The Lawnmower man [EMAIL PROTECTED] added the comment:
Sorry, but I still have the same problem as Kevin Walzer and I can't
understand the solution proposed by Ronald Oussoren. Where is the patch?
How can I install it? What I am supposed to do?
Thank you very much!
--
nosy:
New submission from Skip Montanaro [EMAIL PROTECTED]:
While responding to a c.l.py question just now I discovered that
numeric timezone offsets don't appear to be supported by either the
time.strftime function or the _strptime module. I noticed on my
Mac's strftime(3) man page that it supports
Christian Heimes [EMAIL PROTECTED] added the comment:
I build the installation myself and used make altinstall, too. Even
the latest checkout of the 2.6 branch fails to print the site information.
$ ./configure
...
$ make
...
$ ./python -m site
$ ./python -m platform
Ulrich Eckhardt [EMAIL PROTECTED] added the comment:
Roumen, just and explanation on the TCHAR/WCHAR/CHAR issue under win32...
In the old days, DOS/Windows was built with 8-bit characters using
codepages. So functions like CreateFile() took a char string that used
the current local codepage as
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Roumen Petrov [EMAIL PROTECTED] added the comment:
Which CE version ? Is the patch required for previous/next CE version ?
If the CE can't work with char why the compiler don't threat strings as
wide characters always ?
--
nosy: +rpetrov
___
Python
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Mark Dickinson [EMAIL PROTECTED]:
The Decimal module breaks transitivity of equality: Decimal(2) == 2 and
2 == float(2), but Decimal(2) != float(2).
The Python set and dict implementations rely on transitivity of equality
for correct operation.
These two facts together
Ulrich Eckhardt [EMAIL PROTECTED] added the comment:
Actually, even _Py_NegativeRefcount() passes a statically sized buffer
with 300 chars. Other than that, there is get_ref_type() which uses one
with 350 chars, but AFAICT, that's the largest one. Attached accordingly
modified patch.
Mark Dickinson [EMAIL PROTECTED] added the comment:
Mark, is some of the inaccuracy due to double rounding?
No, I don't think so; at least, not in the sense of rounding the same
value twice (with different precisions). I get similar results on my
Core 2 Duo machine, which should be immune
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
Nick Coghlan [EMAIL PROTECTED] added the comment:
Hmm, that makes for absolutely identical base systems except that mine
is i686 where yours is x86_64.
What do you see if you stick some debugging messages at module level in
site.py? (e.g. printing out __name__)
(I'll be going offline shortly -
Christian Heimes [EMAIL PROTECTED] added the comment:
I already added a print __name__ right before the if __name__ ==
__main__ block. Python 2.5, trunk and 3.0 print:
site
__main__
while Python 2.6 just prints:
site
Christian
___
Python tracker [EMAIL
Dan OD [EMAIL PROTECTED] added the comment:
Confusion - apologies - please remove this report.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4076
___
___
Giampaolo Rodola' [EMAIL PROTECTED] added the comment:
As for issue #3911 this is another module for which an actual test suite
would be very necessary.
--
nosy: +giampaolo.rodola
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3727
Nick Coghlan [EMAIL PROTECTED] added the comment:
I'm setting up a 2.6 working area now - we'll see what's to be seen once
I have that up and running. None of the runpy or pkgutil stuff has been
touched in months though (since PEP 366 was implemented), so I'm a
little puzzled how it could be
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Nick Coghlan [EMAIL PROTECTED] added the comment:
No joy. 32-bit Ubuntu here, and ./python -m site works fine on the 2.6
branch, as does python2.6 -m site after a make altinstall.
Is this an installation you built yourself, or was it packaged by
someone else?
Christian Heimes [EMAIL PROTECTED] added the comment:
It's an *installation* of Python 2.6.0 (r26:66714, Oct 2 2008) on
Ubuntu Linux AMD64. The feature is broken on the release26-maint branch
but it works fine on the trunk.
--
versions: -Python 2.7
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
David Ripton [EMAIL PROTECTED] added the comment:
Also, two of the example code blurbs in that page still refer to the
module as processing instead of multiprocessing. (Search for
import processing to find them.)
--
nosy: +dripton
___
Python tracker
New submission from David Jones [EMAIL PROTECTED]:
Consider the web page:
http://www.python.org/doc/2.5.2/whatsnew/acks.html
(the problem appears throughout the whatsnew document, but that page
happens to be short and have more than one instance).
On my browser, Safari 3.1.2 on Intel OS X
New submission from Giampaolo Rodola' [EMAIL PROTECTED]:
poplib module is currently lacking a test suite which actually connects
to a server and uses the POP3 class methods and facilities.
Bug #3727, discovered just a bunch of days before the stable release of
Python 3.0 is an example of how
New submission from Manuel [EMAIL PROTECTED]:
On some machines, the application (makehuman, an open source software)
crash, immediately, as soon the user try to double click on the exe. The
problem happen with the version compiled using python 2.6, while the one
compiled with 2.5 work fine.
We
Manuel [EMAIL PROTECTED] added the comment:
gdb output from one of our users:
warning: LDR: LdrpWalkImportDescriptor() failed to probe python26.dll
for its manifest, ntstatus 0xc0150002
Program received signal SIGSEGV, Segmentation fault.
Program received
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4089
___
___
Python-bugs-list
Raymond Hettinger [EMAIL PROTECTED] added the comment:
+1 on a log2 function, especially one that has been generalized to work
with long integers. It would help with the numbits problem that
comes-up all the time.
___
Python tracker [EMAIL PROTECTED]
New submission from Terry J. Reedy [EMAIL PROTECTED]:
RefMan Expressions Comparisons has a subsection headed
Comparison of objects of the same type depends on the type
with entries for numbers, bytes, strings, tuples, lists, mappings, and
most_other (compared by id). Sets (and dict views) are
Terry J. Reedy [EMAIL PROTECTED] added the comment:
There are two issues involved:
1. documenting set behavior
2. what to do, if anything, about Decimals and other numbers
Since users are free to create similar problems, and since sets are
missing from the Reference section on comparisons, I
Facundo Batista [EMAIL PROTECTED] added the comment:
(Ok, remember that I'm not a numeric guy before start hitting me, :p )
I think that if we have Decimal(1)==1, and 1==1.0, to have Decimal(1)==1.0.
We always rejected comparison with unsupported types, but having this
situation, I'd propose
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Recommend not doing anything about decimals and other numbers. What
you're seeing is a predictable consequence of NotImplemented being
returned by some but not all cross type comparisons. IMO, it is
perfectly reasonable that both decimals
Raymond Hettinger [EMAIL PROTECTED] added the comment:
I don't think this is necessary. The ordering operators for sets are
already documented to mean subset/superset comparisons. Will look at it
a bit more and possibly add a parenthetical note reminding people that
superset/superset are not
Terry J. Reedy [EMAIL PROTECTED] added the comment:
If Decimal(2) == float(2) were to raise an error,
set([Decimal(2), float(2)]) would fail, as I would argue it ought to,
and the set anomalies would disappear.
--
assignee: georg.brandl -
priority: low - normal
Changes by Thomas Heller [EMAIL PROTECTED]:
--
nosy: +theller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4072
___
___
Python-bugs-list mailing list
Changes by Thomas Heller [EMAIL PROTECTED]:
--
nosy: +theller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4073
___
___
Python-bugs-list mailing list
New submission from Thomas Heller [EMAIL PROTECTED]:
Python 2.6 final and Python 3.0 rc1 do NOT install the python dlls into
the windows system directory, even when installing 'for all users' and
with admin rights. This causes problems with COM objects implemented in
Python.
Observed on
Martin v. Löwis [EMAIL PROTECTED] added the comment:
If the CE can't work with char why the compiler don't threat strings as
wide characters always ?
I think this question is pointless - we don't have the power to change
how CE works. You might question whether Ulrich's analysis of the issue
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
I think attached patch fix_getfullpathname.patch will fix unicode
issue at least. For ansi issue, I followed the manner of win32_chdir for
now.
After some investigation, GetFullPathNameA fails if output size is more
than MAX_PATH even if
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
I feel it's difficult to check this before invoking GetFullPathNameA.
And error number via GetLastError() is vogus, sometimes 0, sometimes others.
___
Python tracker [EMAIL PROTECTED]
New submission from Aaron Brady [EMAIL PROTECTED]:
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
32
Type help, copyright, credits or license for more information.
import inspect
type( inspect.getargvalues( inspect.currentframe() ) )
type 'tuple'
Docs say:
Changes by John J Lee [EMAIL PROTECTED]:
--
nosy: +jjlee
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2190
___
___
Python-bugs-list mailing list
Roumen Petrov [EMAIL PROTECTED] added the comment:
My experience with windows CE ends with version about 3.1X. I couldn't
remember wide character support on this version.
PythonCE project use xxxA functions for CE .NET 4.20 platform.
Pointless question is for compiler flags and is not related
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]:
--
resolution: - invalid
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4076
___
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
The following lines in msi.py seem to be the cause of the change:
#dlldir = PyDirectory(db, cab, root, srcdir, DLLDIR, .)
#install python30.dll into root dir for now
dlldir = root
They were added by r61109: Bundle msvcr90.dll
New submission from Martin Marcher [EMAIL PROTECTED]:
http://docs.python.org/reference/simple_stmts.html#future-statements
says this:
The features recognized by Python 2.5 are absolute_import, division,
generators, nested_scopes and with_statement. generators and
nested_scopes are redundant
Martin v. Löwis [EMAIL PROTECTED] added the comment:
(And I thought that manifests and side-by-side assemblies were
supposed to solve the DLL hell)
I'm now convinced that they make things worse, to the degree that
certain deployments that used to work cannot be longer made to work
(e.g. the
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for the report! Fixed in r66866.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4094
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
I'm not sure whether pybench is the right tool for this.
Note that pybench disables GC per default for exactly the reasons
causing #4074 :-)
pybench already has a --with-gc switch, so it's possible to benchmark
with or without GC and see
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Pointless question is for compiler flags and is not related with the OS.
I don't think the compiler has any such flag that you might consider
useful. Do you have a specific flag in mind?
___
Python
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Note that pybench disables GC per default for exactly the reasons
causing #4074 :-)
I know, I was thinking to enable the GC only in the GC-specific test of
course. The idea is to have a test stressing the GC heavily, such as the
example code
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Or, if PyArg_ParseTuple overflowed or GetFullPathNameA failed, (not
check GetLastError() because it's vogus) try GetFullPathNameW like
attached file quick_hack_for_getfullpathname.patch.
This inverses flow
if (unicode_file_names()) {
Changes by Mark Hammond [EMAIL PROTECTED]:
--
nosy: +mhammond
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4091
___
___
Python-bugs-list mailing list
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]:
Added file:
http://bugs.python.org/file11758/quick_hack_for_getfullpathname_v2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4071
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
I'll follow up on this next week.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4093
___
___
John J Lee [EMAIL PROTECTED] added the comment:
You haven't said what the specific problem is. Note that the
SimpleCookie class really represents a set of cookies, and the Morsel
class represents a single cookie. It seems that setting special
value-less cookie-attributes like secure works:
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed r66867, together with #2384. Thanks for your perseverance ;-)
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3975
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed r66867.
I had to considerably change the unit tests, because the subprocess
output is not utf-8 encoded; it's not even the same as sys.stdout,
because the spawned process uses a PIPE, not a terminal: on my winXP,
the main
Raymond Hettinger [EMAIL PROTECTED] added the comment:
I'll take up the doc fix for the current state of affairs.
A change from returning NotImplemented to raising NotImplementedError
would need be a separate feature request or PEP.
Alternatively, we could decide to allow decimal/float
Michael Mysinger [EMAIL PROTECTED] added the comment:
Just an FYI that I had an error in test_distutils that this patch fixed.
I was not doing anything abnormal. Just building from the 2.6 source
distribution, making a arch specific sub-directory, using ../configure,
make, and then make test.
Andres Riancho [EMAIL PROTECTED] added the comment:
My problem, and the problem if the original bug reporter (sirilyan) is
that the load method ignores names that don't have values. Quoting the
original bug report:
import Cookie
q = Cookie.SimpleCookie(pie=good; broken;
other=thing)
q
Nick Edds [EMAIL PROTECTED] added the comment:
I had very little experience with the processing module prior to the
creation of this patch, and because pool objects are listed last in the
documentation, I did not read about them because I saw a way to achieve
what I wanted using Process. But
68 matches
Mail list logo