[issue23142] Integration of unittest.FunctionTestCase with automatic discovery and loading

2014-12-31 Thread Martin Panter

New submission from Martin Panter:

It is not clear how you are meant to use unittest.FunctionTestCase with 
automatic test running. Unless a simple way to do this already exists, I wonder 
if it would be okay to automatically discover and run predefined test 
instances, such as the "test_module.testcase" object in my example module.

Currently the “testcase” object is ignored by the automatic test discovery. 
Also, attempting to manually run it results in

$ python -m unittest test_module.testcase
[. . .]
TypeError: calling unittest.case.FunctionTestCase (testSomething) returned 
returned , not a test

Apparently calling a TestCase instance invokes TestCase.run()!

The only way I can think of making such a test discoverable is my making a 
subclass. But as demonstrated by my example module, this is more cumbersome 
than bypassing FunctionTestCase altogether.

--
components: Library (Lib)
files: test_module.py
messages: 233276
nosy: vadmium
priority: normal
severity: normal
status: open
title: Integration of unittest.FunctionTestCase with automatic discovery and 
loading
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file37579/test_module.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22680] Blacklist FunctionTestCase from test discovery

2014-12-31 Thread Martin Panter

Martin Panter added the comment:

Assuming that FunctionTestCase inherits from TestCase, a fix for Issue 14534 
would be useful here. That bug is about avoiding TestCase subclasses being 
automatically run, which is useful for abstract base test classes.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22680] Blacklist FunctionTestCase from test discovery

2014-12-31 Thread Martin Panter

Changes by Martin Panter :


--
nosy: +vadmium

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17994] Change necessary in platform.py to support IronPython

2014-12-31 Thread Mark Lawrence

Mark Lawrence added the comment:

Cpython was changed via #8964 to handle this situation.

--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20898] Missing 507 response description

2014-12-31 Thread Demian Brecht

Demian Brecht added the comment:

@Berker: Good point, although I think that the status code table in 
http.client.rst should be merged with the one in http.rst as to avoid 
redundancy (newly added status codes should also have links added). The table 
in http.client.rst should likely be replaced with a link to the newer one.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2292] Missing *-unpacking generalizations

2014-12-31 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2014-12-31 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18648] FP Howto and the PEP 8 lambda guildline

2014-12-31 Thread Berker Peksag

Changes by Berker Peksag :


--
stage: needs patch -> resolved

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19143] Finding the Windows version getting messier (detect windows 8.1?)

2014-12-31 Thread eryksun

eryksun added the comment:

> actual_len = kernel32.GetModuleFileNameW(kernel32._handle, name, len(name))

A module handle is the module's base address. kernel32 is loaded at a 32-bit 
base address in a 64-bit process, but I don't know whether that will always be 
true in current and future versions. It's safer to use HANDLE(kernel32._handle) 
instead of the default C int conversion.

> ver_block = byref(c_buffer(size))

byref is unnecessary. An array gets passed as a pointer.

> maj = int(pvi.contents.dwProductVersionMS >> 16)
> min = int(pvi.contents.dwProductVersionMS & 0x)
> build = int(pvi.contents.dwProductVersionLS >> 16)

pvi.contents.dwProductVersionMS is already an int, else the bitshift would fail.

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17056] Support Visual Studio 2012

2014-12-31 Thread Steve Dower

Changes by Steve Dower :


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Update PCBuild for VS 2015

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23127] socket.setsockopt() is still broken for multicast TTL and Loop options

2014-12-31 Thread Bertrand Janin

Bertrand Janin added the comment:

Good point, I updated the diff with a better cast to avoid endianness issues 
(tested on MIPS64) and added an OpenBSD #ifdef, is that more acceptable?

diff -r 88de50c1696b Modules/socketmodule.c
--- a/Modules/socketmodule.cSun Dec 28 18:51:25 2014 +0200
+++ b/Modules/socketmodule.cWed Dec 31 14:25:55 2014 -0500
@@ -1881,24 +1881,31 @@
 {
 int level;
 int optname;
 int res;
 char *buf;
 int buflen;
 int flag;
 
 if (PyArg_ParseTuple(args, "iii:setsockopt",
  &level, &optname, &flag)) {
 buf = (char *) &flag;
 buflen = sizeof flag;
+#if defined(__OpenBSD__)
+/* Multicast options take shorter arguments */
+if (optname == IP_MULTICAST_TTL || optname == IP_MULTICAST_LOOP) {
+buflen = sizeof(u_char);
+*buf = (u_char)flag;
+}
+#endif
 }
 else {
 PyErr_Clear();
 if (!PyArg_ParseTuple(args, "iis#:setsockopt",
   &level, &optname, &buf, &buflen))
 return NULL;
 }
 res = setsockopt(s->sock_fd, level, optname, (void *)buf, buflen);
 if (res < 0)
 return s->errorhandler();
 Py_INCREF(Py_None);
 return Py_None;

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17056] Support Visual Studio 2012

2014-12-31 Thread Mark Lawrence

Mark Lawrence added the comment:

Can this be closed as essentially a duplicate of #22919 which targets Visual 
Studio 2015?

--
nosy: +BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


--
nosy: +Erik.Cederstrand, aganders3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23135] import searchpaths as arguments

2014-12-31 Thread c2621566

c2621566 added the comment:

Thanks for the feedback. The technical arguments convinced me not to spend more 
time on this. I admit this patch is kind of an ugly hack. The effort needed for 
a technically satisfactory solution seems too much for this unimportant feature.

--
resolution:  -> rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19143] Finding the Windows version getting messier (detect windows 8.1?)

2014-12-31 Thread Steve Dower

Steve Dower added the comment:

I've attached a replacement for the win32_ver function in platform.py that will 
get the actual version number from kernel32.dll's resources. Originally I was 
just writing a helper function, but it seemed easy enough to replace the entire 
function.

The attached function only really supports Python 3.5 as it assumes that the 
earliest Windows version will be Vista (6.0). The comments in platform.py 
suggest backwards compatibility is important for this file, so my win32_ver() 
may be a better reference for someone who wants to add this functionality in a 
backwards-compatible way. Though if it's okay for the stdlib platform.py to not 
support pre-3.5 this should be fine (and I'll do the extra work to make sure).

It's probably also easy to support 3.4 and Windows XP/WS2K3 as well, but I 
don't have any machines handy to test it.

As part of my patch for #23018, I'll add the manifest required so that 
GetVersionEx() will recognise 8.1 and 10.

--
versions: +Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file37578/win32_ver.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23018] Add version info to python[w].exe

2014-12-31 Thread Steve Dower

Steve Dower added the comment:

Add  for Windows 10 
(source: 
http://blogs.msdn.com/b/chuckw/archive/2013/09/10/manifest-madness.aspx)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This issue should be considered in conjunction with issue18787. And if we 
decise to break backward compatibility, this should be well documented in 
What's New.

May be discuss these issues on Python-Dev?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

Also, given that "2015 0 0", "2015 0 1", and  "2015 0 3", all currently work 
with  '%Y %W %w' format specification and produce dates in the year 2014, I 
think raising an error in all those cases is more likely to break user code 
than correcting the value in the edge case.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-12-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

May be add a guard against statements which can confuse timeit? These are not 
only "return", but "yield", and "break" and "continue" outside of a loop. 
Proposed patch checks that testing code can be compiled outside of a function.

--
assignee: docs@python -> 
components: +Library (Lib) -Documentation
nosy: +serhiy.storchaka
stage:  -> patch review
versions: +Python 3.5 -Python 3.3
Added file: 
http://bugs.python.org/file37577/timeit_reject_invalid_statements.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23077] PEP 1: Allow Provisional status for PEPs

2014-12-31 Thread Nick Coghlan

Nick Coghlan added the comment:

The new PEP wouldn't be a permanent one - it would be describing the proposed 
changes to PEP 1, and the rationale for them.

It would be for my own benefit as much as anyone's - if I can't explain the 
proposed change and its intended benefits clearly in PEP form, its probably a 
bad idea :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23135] import searchpaths as arguments

2014-12-31 Thread Nick Coghlan

Nick Coghlan added the comment:

Issue 13475 provides some additional context for discussion of changes to the 
sys.path initialisation process. The status quo is that I'm currently wary of 
adding more complexity to an already fragile initialisation sequence for things 
that can be implemented by way of running a custom launch script that uses the 
runpy module to replicate the CPython script invocation options.

In the specific case of this patch, while the idea is one we've considered 
before (and may end up implementing some day), this specific implementation 
adds new path initilisation logic directly in Py_Main, well away from getpath.c 
(which, in collaboration with site.py, is intended to fully handle the path 
initialisation logic), and without being separated out into a distinct API that 
embedding applications can easily take advantage of. A lot of Python code will 
also run *before* the command line arguments are processed, so you'll end up 
with a case where code run early may pick up a version of a module from later 
in sys.path, giving the appearance that the sys.path additions are being 
ignored, even though they appear in sys.path after the program is fully 
initialised.

While the technical concerns mean it isn't likely this particular approach 
would be pursued further, as a practical matter, additional things that would 
be needed for a patch to the interpreter argument handling to be accepted 
include:
- a signed contributor licensing agreement
- documentation upates in the "using" guide
- a new test (or tests) in Lib/test/test_cmdline.py and 
Lib/test/test_cmdline_script.py

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread R. David Murray

R. David Murray added the comment:

Adding a test would be a good idea, though...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread R. David Murray

R. David Murray added the comment:

Unless Serhiy (or someone else) still objects, I say go ahead and commit it to 
default.

--
stage:  -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

I would prefer to accept "denormalized" "%Y %W %w" combinations.  Note that 
while Mac OSX and glibc versions of strptime produce different results, neither 
implementation signals an error by returning NULL.

> In C the strptime function doesn't return valid date for such input.

This is not true.  In C, struct tm is not required to contain normalized data.  
I am attaching a modified version of Serhiy's strptimetest.c:

$ diff -u strptimetest.c strptimetest2.c
--- strptimetest.c  2014-12-30 13:45:17.0 -0500
+++ strptimetest2.c 2014-12-31 12:56:17.0 -0500
@@ -16,6 +16,7 @@
 exit(1);
 }
 strptime(argv[1], argv[2], &tm);
+mktime(&tm);
 strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", &tm);
 puts(buf);
 return 0;

With this modification, I get on Linux

$ ./a.out "0 2015 2" "%W %Y %w"
2014-11-29 00:00:00

which is still wrong, but I think this is a glibc issue: mktime accepted 
strptime result as valid even though it failed to normalize it correctly.

--
Added file: http://bugs.python.org/file37576/strptimetest2.c

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

>>Not necessarily.  String to datetime mapping implemented by strptime can be 
>>many to one.  For example,

I was referring to C strptime and strftime. 
But thanks for posting the round trip example. I was unaware of it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

> For any valid string, strptime followed by strftime should return
> the same string.

Not necessarily.  String to datetime mapping implemented by strptime can be 
many to one.  For example,

>>> datetime.strptime("2014 366", "%Y %j") == datetime.strptime("2015 1", "%Y 
>>> %j")
True

in this case, strptime-strftime may not round-trip.

>>> datetime.strptime("2014 366", "%Y %j").strftime("%Y %j")
'2015 001'

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Jim Carroll

Jim Carroll added the comment:

I understand. Actually, raising an exception would be perfectly acceptable as 
well (possibly even more desirable). 

I too experimented with the c-lib strptime() and discovered the negative values 
of tm_mday. These results are good too -- as they clearly show the number of 
days before the new year.

I don't think it's important for the python version to return the same values, 
but it would be better for it to at least be predictable.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is alternative patch which rejects week-weekday combinations out of 
specified year.

--
Added file: http://bugs.python.org/file37575/strptime_check_valid_week.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread Giampaolo Rodola'

Giampaolo Rodola' added the comment:

I still think this should be fixed (raise an exception) in the next major 
release.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Tomasz Ryczkowski

Changes by Tomasz Ryczkowski :


--
nosy: +torm

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Jim for your patch. That all right and the patch fixes the issue. But 
the code looks a little tricky, and it would be more robust to use other 
signal value for julian (e.g. None).

However I'm not sure that strptime should accept weekdays before the start of 
year. In C the strptime function doesn't return valid date for such input.

$ ./strptimetest "0 2015 1" "%W %Y %w"
2015-00--2 00:00:00
$ ./strptimetest "0 2015 2" "%W %Y %w"
2015-00--1 00:00:00
$ ./strptimetest "0 2015 3" "%W %Y %w"
2015-00-00 00:00:00
$ ./strptimetest "0 2015 4" "%W %Y %w"
2015-01-01 00:00:00
$ ./strptimetest "0 2015 5" "%W %Y %w"
2015-01-02 00:00:00
$ ./strptimetest "0 2015 6" "%W %Y %w"
2015-01-03 00:00:00
$ ./strptimetest "0 2015 7" "%W %Y %w"
2015-01-00 00:00:00

May be Python strptime should raise an exception for weekdays before the start 
of year as well as it raise an exception for weekdays out of range 0-6.

I'm not sure that any patch should be applied to maintained releases.

--
keywords: +patch
Added file: http://bugs.python.org/file37573/strptimetest.c
Added file: http://bugs.python.org/file37574/strptime_julian_none.patch

___
Python tracker 

___#define _XOPEN_SOURCE
#include 
#include 
#include 
#include 

int
main(int argc, char *argv[])
{
struct tm tm;
char buf[255];

memset(&tm, 0, sizeof(struct tm));
if (argc != 3) {
fprintf(stderr, "Usage:\n  %s date format", argv[0]);
exit(1);
}
strptime(argv[1], argv[2], &tm);
strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", &tm);
puts(buf);
return 0;
}
diff -r ac176a69d188 Lib/_strptime.py
--- a/Lib/_strptime.py  Sun Dec 28 22:14:23 2014 -0600
+++ b/Lib/_strptime.py  Wed Dec 31 18:30:51 2014 +0200
@@ -348,9 +348,9 @@ def _strptime(data_string, format="%a %b
 # though
 week_of_year = -1
 week_of_year_start = -1
-# weekday and julian defaulted to -1 so as to signal need to calculate
+# weekday and julian defaulted to None so as to signal need to calculate
 # values
-weekday = julian = -1
+weekday = julian = None
 found_dict = found.groupdict()
 for group_key in found_dict.keys():
 # Directives not explicitly handled below:
@@ -452,14 +452,14 @@ def _strptime(data_string, format="%a %b
 year = 1900
 # If we know the week of the year and what day of that week, we can figure
 # out the Julian day of the year.
-if julian == -1 and week_of_year != -1 and weekday != -1:
+if julian is None and week_of_year != -1 and weekday is not None:
 week_starts_Mon = True if week_of_year_start == 0 else False
 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
 week_starts_Mon)
 # Cannot pre-calculate datetime_date() since can change in Julian
 # calculation and thus could have different value for the day of the week
 # calculation.
-if julian == -1:
+if julian is None:
 # Need to add 1 to result since first day of the year is 1, not 0.
 julian = datetime_date(year, month, day).toordinal() - \
   datetime_date(year, 1, 1).toordinal() + 1
@@ -469,7 +469,7 @@ def _strptime(data_string, format="%a %b
 year = datetime_result.year
 month = datetime_result.month
 day = datetime_result.day
-if weekday == -1:
+if weekday is None:
 weekday = datetime_date(year, month, day).weekday()
 # Add timezone info
 tzname = found_dict.get("Z")
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

See also #12006.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

In a comment for #23134, Serhiy suggested that this may not be a bug 
(msg233215) because C strptime behavior for this case is undefined.

I disagree.  On Mac OSX, strptime man page states:

"""
 The %U and %W format specifiers accept any value within the range 00 to 53 
without validat-
 ing against other values supplied (like month or day of the year, for 
example).
"""

And for the data="0 2015 2", format="%W %Y %w" case, it produces 2015-12-30 
00:00:00 as expected.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Hi, 

Here is my understanding of it.
I have used the following C example of strptime and strftime to show that the 
string '0 2015 2' along with the format specifier '%W %Y %w' is invalid.

For any valid string, strptime followed by strftime should return the same 
string. This is easily verified. However, when you try the same thing(as in the 
attached example) with '0 2015 2', we get a different string after strptime 
followed by strftime, indicating the string is invalid.

Do let me know if I have made any mistake in understanding this.

--
Added file: http://bugs.python.org/file37572/example.c

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23134] datetime.strptime at the turn of the year

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

Closing as a duplicate of #23136.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> BUG in how _strptime() handles week 0
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1708316] doctest work with Windows PyReadline

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2889] curses for windows (alternative patch)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1005895] curses for win32

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21360] mailbox.Maildir should ignore files named with a leading dot

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1599254] mailbox: other programs' messages can vanish without trace

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Alexander Belopolsky

Alexander Belopolsky added the comment:

What's a New Year without fixing a calendar bug! :-)

Jim's logic looks right to me.  The patch needs a test before it can be applied.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18644] Got ResourceWarning: unclosed file when using test function from formatter module

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2292] Missing *-unpacking generalizations

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1103213] Adding the missing socket.recvall() method

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4254] _cursesmodule.c callable update_lines_cols()

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2209] mailbox module doesn't support compressed mbox

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1687125] cannot catch KeyboardInterrupt when using curses getkey()

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18787] Misleading error from getspnam function of spwd module

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1098749] Single-line option to pygettext.py

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1723038] Curses Menu

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20487] Odd words in unittest.mock document.

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18280] Documentation is too personalized

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5901] missing meta-info in documentation pdf

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10552] Tools/unicode/gencodec.py error

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17006] Add advice on best practices for hashing secrets

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1570255] redirected cookies

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11352] Update cgi module doc

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8502] support plurals in pygettext

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14945] Setup & Usage documentation for selected stdlib modules

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1745108] 2.5.1 curses panel segfault in new_panel on aix 5.3

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9770] curses.ascii.isblank() function is broken. It confuses backspace (BS 0x08) with tab (0x09)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15858] tarfile missing entries due to omitted uid/gid fields

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1751519] curses - new window methods: addchstr and addchnstr

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2675] Curses terminal resize problems when Python is in interactive mode

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14944] Setup & Usage documentation for pydoc, idle & 2to3

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1512163] mailbox (2.5b1): locking doesn't work (esp. on FreeBSD)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14713] PEP 414 installation hook fails with an AssertionError

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5368] curses patch add color_set and wcolor_set , and addchstr family of functions

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7695] missing termios constants

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1467929] %-formatting and dicts

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3367] Uninitialized value read in parsetok.c

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10590] Parameter type error for xml.sax.parseString(string, ...)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue433030] SRE: Atomic Grouping (?>...) is not supported

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9584] fnmatch, glob: Allow curly brace expansion

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3786] _curses, _curses_panel & _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1671676] test_mailbox is hanging while doing gmake test on HP-UX v3

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
resolution:  -> wont fix
status: languishing -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18779] Misleading documentations and comments in regular expression HOWTO

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling :


--
nosy:  -akuchling

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18648] FP Howto and the PEP 8 lambda guildline

2014-12-31 Thread A.M. Kuchling

A.M. Kuchling added the comment:

This section is trying to illustrate the reasoning that leads to PEP 8's 
conclusion, so I don't want to just replace it with a reference to PEP8.

--
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Eric V. Smith

Eric V. Smith added the comment:

I'm glad you found it!

--
resolution: fixed -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Adam Mead

Adam Mead added the comment:

Hi,

I think I've found the problem.
After reading you message and seeing your output I went to my laptop which 
didn't have python installed (using portable on it) and clean installed.
Using a clean install with 3.4.2 on a Win8 machine it worked fine.
I suspect the issue is not so much python but the way my Win7N machine is 
configured and passing the command line to python.
By default the Win7N machine was set to auto open in PSPad, I changed it by 
modifying a registry key, likely I did this incorrectly.
Apologies!
Adam

--
resolution:  -> fixed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar :


--
nosy: +sahutd

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Eric V. Smith

Eric V. Smith added the comment:

This works fine for me, too, using the Windows version of 3.4.2 downloaded from 
python.org.

2 questions:
- where did you download Python?
- which shell are you using?

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23077] PEP 1: Allow Provisional status for PEPs

2014-12-31 Thread Barry A. Warsaw

Barry A. Warsaw added the comment:

On Dec 31, 2014, at 01:54 AM, Nick Coghlan wrote:

>As we've started working through the post-release PEP 440 changes, I think
>this is definitely worthy of a separate PEP.

I'm open to discussion and ideas, but I want to caution against spreading
information about the PEP (and more largely, enhancing Python) process over
too many documents.   PEP 1 and the process has worked well I think because
it's relatively easy to find information on the process in a concise format.
I also don't think we necessarily need to cross-and-dot every I-and-T.
Flexibility can be a good thing too.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread R. David Murray

R. David Murray added the comment:

Oh, I see, you are talking about a filename with a space in it.  Sorry, my 
unix-centric eyes didn't see that at first.

But like I said, it works fine for me, using python 3.4.1.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread R. David Murray

R. David Murray added the comment:

What do you mean by "does not pass the LFN to the script?

Everything works fine for me with python3:

C:\>test "test lfn.txt"
['C:\\test.py', 'test lfn.txt']

argparse and getopt both depend on sys.argv, by the way, so it's no surprise 
they didn't have different behavior.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23135] import searchpaths as arguments

2014-12-31 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +ncoghlan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Adam Mead

New submission from Adam Mead:

Under windows the following code does not pass the LFN to the script. Nor does 
any other method I've tried (getopts & argparse)

test.py
import sys

print ('Number of arguments:', len(sys.argv), 'arguments.')
print ('Argument List:', str(sys.argv))
for x in range(0, len(sys.argv)):
print("->" + sys.argv[x])


Output with quotes:
H:\bin>test "test lfn.txt"
Number of arguments: 3 arguments.
Argument List: ['H:\\bin\\test.py', ' test', 'lfn.txt']
->H:\bin\test.py
-> test
->lfn.txt

Output when doubling the quotes:
H:\bin>test ""test lfn.txt""
Number of arguments: 2 arguments.
Argument List: ['H:\\bin\\test.py', ' "test lfn.txt"']
->H:\bin\test.py
-> "test lfn.txt"

--
components: Windows
messages: 233240
nosy: Adam.Mead, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Command line long filename not passed correctly
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23134] datetime.strptime at the turn of the year

2014-12-31 Thread Martin Panter

Martin Panter added the comment:

Issue 23136 looks like a duplicate, but has a potential patch

--
nosy: +vadmium

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23135] import searchpaths as arguments

2014-12-31 Thread Martin Panter

Changes by Martin Panter :


--
nosy: +vadmium

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23123] Only READ support for Decimal in json

2014-12-31 Thread Mark Dickinson

Mark Dickinson added the comment:

See also #16535.

--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >