Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#68 wontfix PyYAML don't load datetime objects dumped with PySyck xi miki@…

Reported by miki@…, 7 years ago.

Description
>>> from datetime import datetime
>>> now = datetime.now()
>>> import syck
>>> a = {"t": now}
>>> yaml.load(syck.dump(a))

Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    lib.yaml.load(syck.dump(a))
  File "yaml/__init__.py", line 66, in load
  File "yaml/constructor.py", line 38, in get_data
  File "yaml/constructor.py", line 46, in construct_document
  File "yaml/constructor.py", line 394, in construct_yaml_map
  File "yaml/constructor.py", line 207, in construct_mapping
  File "yaml/constructor.py", line 132, in construct_mapping
  File "yaml/constructor.py", line 87, in construct_object
  File "yaml/constructor.py", line 410, in construct_undefined
ConstructorError: could not determine a constructor for the tag '!timestamp'
  in "<string>", line 2, column 4:
    t: !timestamp 2007-10-19T14:08:44.5 ... 
       ^
#71 wontfix libyaml does not build with MinGW xi clive.crous@…

Reported by clive.crous@…, 7 years ago.

Description

I'm unable to build libyaml under MinGW due to assumtions within the source code that "WIN32" means Visual Studio. I use gcc, even in windows.

Simple patch to yaml.h#260 fixes this =>

  • yaml.h

     
    2626 
    2727/** The public API declaration. */ 
    2828 
    29 #ifdef WIN32 
     29#if defined(WIN32) && !defined(__GNUC__) 
    3030#   if defined(YAML_DECLARE_STATIC) 
    3131#       define  YAML_DECLARE(type)  type 
    3232#   elif defined(YAML_DECLARE_EXPORT) 

Thanks, Clive

#78 wontfix run-scanner.c:61: error: too many arguments to function ‘yaml_parser_get_error’ xi rasmus-flajm-se

Reported by rasmus-flajm-se, 6 years ago.

Description
rasmus@apple:~/src/libyaml-trunk make
...
Making all in tests
gcc -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT run-scanner.o -MD -MP -MF .deps/run-scanner.Tpo -c -o run-scanner.o run-scanner.c
run-scanner.c: In function ‘main’:
run-scanner.c:61: error: too many arguments to function ‘yaml_parser_get_error’
make[2]: *** [run-scanner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
rasmus@apple:~/src/libyaml-trunk svn info
Path: .
URL: http://svn.pyyaml.org/libyaml/trunk
Repository Root: http://svn.pyyaml.org
Repository UUID: 18f92427-320e-0410-9341-c67f048884a3
Revision: 267
Node Kind: directory
Schedule: normal
Last Changed Author: xi
Last Changed Rev: 267
Last Changed Date: 2008-01-19 14:54:22 +0100 (Lör, 19 Jan 2008)

rasmus@apple:~/src/libyaml-trunk uname -a
Darwin *** 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
rasmus@apple:~/src/libyaml-trunk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.